Resampling tests fail after upgrading time to double precision
Following b78c32fb, the resampling test cases uniform and Weibull fail due to timelocks during steady state simulation.
[ERROR] Unexpected exception during RESTART simulation: all clocks expired: timelock! State: (q=0) | Time: 4975.19 | Clocks: [clkArr:-7.27347e-09, clkSer:-1.79769e+308, ]
~~~> @ Traial.cpp:353
Thrown from dir /home/hobborg/tools/fig/src
-------------------------------------------------------------------------------
Resampling of clock values upon Traial copy
M1 with resampling (steady-state, RESTART, monolithic, ad hoc thresholds)
-------------------------------------------------------------------------------
/home/hobborg/tools/fig/tests/src/tests_0_resampling.cpp:143
...............................................................................
/home/hobborg/tools/fig/tests/src/tests_0_resampling.cpp:143: FAILED:
{Unknown expression after the reported line}
due to unexpected exception with message:
all clocks expired: timelock! State: (q=0) | Time: 4975.19 | Clocks: [clkArr:
-7.27347e-09, clkSer:-1.79769e+308, ]
~~~> @ Traial.cpp:353
Thrown from dir /home/hobborg/tools/fig/src
Also Weibull fails in transient simulation due to bad estimate, when resampling is turned on (both release- and debug-mode tests).
-------------------------------------------------------------------------------
Resampling of clock values upon Traial copy
M2 with resampling (transient, Fixed Effort, monolithic, ad hoc thresholds)
-------------------------------------------------------------------------------
/home/hobborg/tools/fig/tests/src/tests_0_resampling.cpp:306
...............................................................................
/home/hobborg/tools/fig/tests/src/tests_0_resampling.cpp:330: FAILED:
REQUIRE_THAT( ci.point_estimate(), WithinRel(M2_PROB_EXTRA, 0.111) )
with expansion:
0.0000001315 and 1.58e-09 are within 11.1% of each other