I wanted to try this simplification in Maple 2025, only to find timelimit hangs.
Waited 3 hrs when timelimit was 30 second. It seems simplify got locked up and timelimit does not work.
Not only that, Maple itself hangs and clicking on retsrat kernel or red small bottom at lower level corner in Maple 2025 has no effect at all.
Only way is to kill all of Maple from command line.
Make sure to save all your work before trying.
There are two bugs here: First is that timelimit still hangs (even though Maplesoft claimed it is fixed almost 5 years ago)
https://www.mapleprimes.com/maplesoftblog/213986-Introducing-Maple-Learn-officially
You will also be pleased to know that Maple 2021 addresses the timelimit() issue that you mentioned.
The second issue is that one can not close the kernel from frontend. (well, this is because kernel hanged)
Note that closing Maple works using File->EXIT but this leaves the Maple kernel/mserver running in background!
So had to go kill that process from command line manually also.
So make sure to do this, else you will end up with many mserver processes running in background after maple is closed if you try this more than one time.
Any one knows why this happens for this example? Should not timelimit have finally been fixed in Maple 2025?
I have been complaining about timelimit not always working for ages. Have no idea why Maplesoft can't figure solution to this problem for good.
timelimit is the most important command for me, as without it, my program will never work and will just keep hanging.
I spend 50% of my time finding worarounds around Maple bugs instead of what I should be doing which is write more code.
Download timelimit_hang_in_maple_2025.mw