Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001894/0.001894, allocations: 107.6 kB / 21.2 MB, free: 0.4922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 213.1 kB / 24.5 MB, free: 3.801 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.505/1.505, allocations: 230.6 MB / 258.2 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.731e-05/2.731e-05, allocations: 6.219 kB / 378.9 MB, free: 2.512 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002664/0.002691, allocations: 1.457 MB / 380.4 MB, free: 1.051 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002884/0.00298, allocations: 103.7 kB / 380.5 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.286e-05/0.003042, allocations: 0 / 380.5 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.101e-05/0.003074, allocations: 3.938 kB / 380.5 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.377e-05/0.003107, allocations: 3.938 kB / 380.5 MB, free: 0.9414 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002289/0.003336, allocations: 35.91 kB / 380.5 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.003437, allocations: 27.92 kB / 380.6 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.003547, allocations: 11.98 kB / 380.6 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.59e-05/0.003583, allocations: 11.94 kB / 380.6 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.629e-05/0.003619, allocations: 7.938 kB / 380.6 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.003636, allocations: 0 / 380.6 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.564e-06/0.003644, allocations: 4 kB / 380.6 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of combineBinaries: time 7.445e-05/0.003718, allocations: 67.25 kB / 380.7 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 2.872e-05/0.003747, allocations: 43.41 kB / 380.7 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.554e-05/0.003762, allocations: 0 / 380.7 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.121e-05/0.003773, allocations: 8 kB / 380.7 MB, free: 0.7266 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 (4) * Number of variables: 4 (4) Notification: Performance of [SIM] Bindings: time 0.0004734/0.004247, allocations: 269 kB / 381 MB, free: 352 kB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 5.286e-05/0.0043, allocations: 31.97 kB / 381 MB, free: 308 kB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0001121/0.004412, allocations: 92.19 kB / 381.1 MB, free: 188 kB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 8.595e-05/0.004498, allocations: 68.61 kB / 381.2 MB, free: 72 kB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.1935/0.198, allocations: 178.1 kB / 381.3 MB, free: 13.22 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 5.16e-05/0.198, allocations: 64.97 kB / 381.4 MB, free: 13.13 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 2.582e-05/0.1981, allocations: 43.33 kB / 381.4 MB, free: 13.07 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001465/0.1982, allocations: 89.47 kB / 381.5 MB, free: 12.96 MB / 302.1 MB Notification: Performance of [SIM] Events: time 6.814e-05/0.1983, allocations: 10.75 kB / 381.5 MB, free: 12.96 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001212/0.1984, allocations: 46.05 kB / 381.6 MB, free: 12.94 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0001412/0.1985, allocations: 71.3 kB / 381.6 MB, free: 12.93 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 5.562e-05/0.1986, allocations: 50.17 kB / 381.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 8.644e-05/0.1987, allocations: 103 kB / 381.8 MB, free: 12.78 MB / 302.1 MB Notification: Performance of [INI] Inline: time 4.04e-05/0.1987, allocations: 55.5 kB / 381.9 MB, free: 12.77 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 6.392e-06/0.1987, allocations: 10.22 kB / 381.9 MB, free: 12.75 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 1.45e-05/0.1987, allocations: 5.984 kB / 381.9 MB, free: 12.75 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 8.145e-06/0.1988, allocations: 0.8125 kB / 381.9 MB, free: 12.75 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 7.564e-06/0.1988, allocations: 0.9688 kB / 381.9 MB, free: 12.75 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 3.2e-07/0.1988, allocations: 0.6875 kB / 381.9 MB, free: 12.75 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.039e-06/0.1988, allocations: 2.844 kB / 381.9 MB, free: 12.75 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 8.936e-06/0.1988, allocations: 5.219 kB / 381.9 MB, free: 12.75 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 9.438e-06/0.1988, allocations: 4.891 kB / 381.9 MB, free: 12.75 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 5.947e-05/0.1988, allocations: 16.84 kB / 381.9 MB, free: 12.75 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 3.987e-06/0.1988, allocations: 0.5938 kB / 381.9 MB, free: 12.75 MB / 302.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 0 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 0 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 1 (1) {assignClock1.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 3 (3) {step.y, $SEV_0, $TEV_0} * Number of clocks: ............................. 1 (1) {periodicClock1.y} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 0 (scalar:0, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 0 (scalar:0, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.52e-05/0.1989, allocations: 21.5 kB / 381.9 MB, free: 12.75 MB / 302.1 MB Notification: Performance of SimCode: time 0.0003628/0.1992, allocations: 184.8 kB / 382.1 MB, free: 12.62 MB / 302.1 MB Notification: Performance of Templates: time 0.005412/0.2047, allocations: 391.8 kB / 382.5 MB, free: 12.58 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.746875314973295]