Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.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.002121/0.002121, allocations: 95.66 kB / 21.25 MB, free: 428 kB / 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.002009/0.002009, allocations: 203.2 kB / 24.54 MB, free: 3.73 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.517/1.517, allocations: 230.7 MB / 258.3 MB, free: 7.773 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.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.876e-05/1.876e-05, allocations: 2.281 kB / 379 MB, free: 2.477 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.002768/0.002787, allocations: 1.439 MB / 380.5 MB, free: 1.027 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001835/0.00297, allocations: 31.84 kB / 380.5 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.969e-05/0.00303, allocations: 4 kB / 380.5 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.471e-05/0.003055, allocations: 3.938 kB / 380.5 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.113e-05/0.003096, allocations: 3.938 kB / 380.5 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002592/0.003355, allocations: 23.97 kB / 380.5 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.777e-05/0.003453, allocations: 31.92 kB / 380.6 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.003555, allocations: 11.98 kB / 380.6 MB, free: 0.918 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.06e-05/0.003596, allocations: 11.94 kB / 380.6 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.54e-05/0.003631, allocations: 15.92 kB / 380.6 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.003649, allocations: 4 kB / 380.6 MB, free: 0.8867 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.697e-06/0.003658, allocations: 0 / 380.6 MB, free: 0.8867 MB / 302.1 MB Notification: Performance of combineBinaries: time 8.245e-05/0.00374, allocations: 67.25 kB / 380.7 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 3.027e-05/0.00377, allocations: 43.41 kB / 380.7 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.939e-05/0.00379, allocations: 4 kB / 380.7 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.119e-05/0.003801, allocations: 0 / 380.7 MB, free: 0.7734 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.0004838/0.004285, allocations: 289.1 kB / 381 MB, free: 380 kB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 9.377e-05/0.004378, allocations: 39.89 kB / 381.1 MB, free: 328 kB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0001395/0.004518, allocations: 104.2 kB / 381.2 MB, free: 196 kB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 9.915e-05/0.004617, allocations: 72.67 kB / 381.2 MB, free: 76 kB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.2282/0.2328, allocations: 181.4 kB / 381.4 MB, free: 13.28 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 5.909e-05/0.2329, allocations: 65.88 kB / 381.5 MB, free: 13.18 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 2.92e-05/0.2329, allocations: 42.36 kB / 381.5 MB, free: 13.13 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001807/0.2331, allocations: 103.3 kB / 381.6 MB, free: 13.02 MB / 302.1 MB Notification: Performance of [SIM] Events: time 6.483e-05/0.2331, allocations: 20.25 kB / 381.6 MB, free: 13.02 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001348/0.2333, allocations: 56.45 kB / 381.7 MB, free: 13 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0001948/0.2335, allocations: 93.09 kB / 381.8 MB, free: 12.98 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 8.153e-05/0.2335, allocations: 74.5 kB / 381.8 MB, free: 12.98 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0001005/0.2336, allocations: 106.2 kB / 382 MB, free: 12.84 MB / 302.1 MB Notification: Performance of [INI] Inline: time 6.178e-05/0.2337, allocations: 68.42 kB / 382 MB, free: 12.82 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 6.542e-06/0.2337, allocations: 10.7 kB / 382 MB, free: 12.81 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 1.266e-05/0.2337, allocations: 11.44 kB / 382 MB, free: 12.81 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 7.344e-06/0.2337, allocations: 0 / 382 MB, free: 12.81 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 5.55e-06/0.2337, allocations: 1.312 kB / 382 MB, free: 12.81 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 3.61e-07/0.2337, allocations: 0 / 382 MB, free: 12.81 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 2.014e-06/0.2337, allocations: 0.6875 kB / 382 MB, free: 12.81 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.31e-06/0.2338, allocations: 10.06 kB / 382.1 MB, free: 12.8 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 6.983e-06/0.2338, allocations: 7.344 kB / 382.1 MB, free: 12.8 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 6.733e-06/0.2338, allocations: 1.656 kB / 382.1 MB, free: 12.8 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 6.861e-05/0.2338, allocations: 30.16 kB / 382.1 MB, free: 12.8 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 6.142e-06/0.2338, allocations: 4.516 kB / 382.1 MB, free: 12.8 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: ..................... 1 (1) {step.counter} * Number of discrete variables: ................. 5 (5) {step.y, $FUN_1, $SEV_1, $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 4.083e-05/0.2339, allocations: 32.81 kB / 382.1 MB, free: 12.79 MB / 302.1 MB Notification: Performance of SimCode: time 0.0003903/0.2343, allocations: 214.2 kB / 382.3 MB, free: 12.65 MB / 302.1 MB Notification: Performance of Templates: time 0.002851/0.2371, allocations: 447.2 kB / 382.8 MB, free: 12.61 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,assignClock1.y Variables in the result:assignClock1.y,periodicClock1.period,periodicClock1.useSolver,step.height,step.offset,step.startTick,time [Calling sys.exit(0), Time elapsed: 4.709571945015341]