Something has recently changed because the following script crashes gretl now, whereas about a couple of weeks ago worked perfectly.
time = $stopwatch
printf "Execution Time: %g seconds\n", $stopwatch - time
The problem is the subtraction [- time]. Without that it still runs fine.