Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedSine.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.001314/0.001314, allocations: 99.59 kB / 21.2 MB, free: 0.6406 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.001395/0.001395, allocations: 221.1 kB / 24.5 MB, free: 3.922 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.445/1.445, allocations: 230.6 MB / 258.3 MB, free: 7.777 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.RealSignals.TickBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedSine") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedSine") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.426e-05/2.426e-05, allocations: 2.281 kB / 378.9 MB, free: 2.465 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedSine): time 0.003029/0.003054, allocations: 1.607 MB / 380.5 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009532/0.004007, allocations: 490.7 kB / 381 MB, free: 380 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.464e-05/0.004082, allocations: 0 / 381 MB, free: 380 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.596e-05/0.004118, allocations: 11.86 kB / 381 MB, free: 368 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000159/0.004277, allocations: 11.88 kB / 381 MB, free: 356 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002527/0.004529, allocations: 55.88 kB / 381.1 MB, free: 300 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001469/0.004676, allocations: 87.75 kB / 381.2 MB, free: 212 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.004802, allocations: 15.97 kB / 381.2 MB, free: 196 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001609/0.004963, allocations: 39.91 kB / 381.2 MB, free: 156 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.604e-05/0.005029, allocations: 35.84 kB / 381.3 MB, free: 120 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.005049, allocations: 4 kB / 381.3 MB, free: 116 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.402e-05/0.005093, allocations: 15.94 kB / 381.3 MB, free: 100 kB / 302.1 MB Notification: Performance of combineBinaries: time 0.1637/0.1688, allocations: 136.5 kB / 381.4 MB, free: 13.14 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 5.03e-05/0.1689, allocations: 80.52 kB / 381.5 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.405e-05/0.1689, allocations: 3.438 kB / 381.5 MB, free: 13.12 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.384e-05/0.1689, allocations: 3.406 kB / 381.5 MB, free: 13.12 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: 7 (7) * Number of variables: 7 (7) Notification: Performance of [SIM] Bindings: time 0.0005311/0.1695, allocations: 435.1 kB / 381.9 MB, free: 12.8 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 6.963e-05/0.1695, allocations: 52.19 kB / 382 MB, free: 12.77 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0002383/0.1698, allocations: 233.1 kB / 382.2 MB, free: 12.72 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 8.968e-05/0.1699, allocations: 94.02 kB / 382.3 MB, free: 12.62 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0004154/0.1703, allocations: 268.3 kB / 382.6 MB, free: 12.48 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 6.25e-05/0.1703, allocations: 83.67 kB / 382.7 MB, free: 12.39 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 3.075e-05/0.1704, allocations: 51.14 kB / 382.7 MB, free: 12.33 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001603/0.1705, allocations: 130 kB / 382.8 MB, free: 12.22 MB / 302.1 MB Notification: Performance of [SIM] Events: time 8.56e-05/0.1706, allocations: 44.92 kB / 382.9 MB, free: 12.21 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001574/0.1708, allocations: 117.8 kB / 383 MB, free: 12.17 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.000249/0.171, allocations: 174.7 kB / 383.2 MB, free: 12.14 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001312/0.1711, allocations: 166.8 kB / 383.3 MB, free: 12.13 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0001264/0.1713, allocations: 125.9 kB / 383.4 MB, free: 11.99 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0001534/0.1714, allocations: 191.2 kB / 383.6 MB, free: 11.98 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 7.273e-06/0.1714, allocations: 12.7 kB / 383.6 MB, free: 11.97 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 2.633e-05/0.1715, allocations: 29.53 kB / 383.7 MB, free: 11.97 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0002033/0.1717, allocations: 132.5 kB / 383.8 MB, free: 11.94 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.167e-05/0.1717, allocations: 1.969 kB / 383.8 MB, free: 11.94 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 9.92e-07/0.1717, allocations: 3.656 kB / 383.8 MB, free: 11.94 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 3.116e-06/0.1717, allocations: 0 / 383.8 MB, free: 11.94 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 3.747e-06/0.1717, allocations: 6.938 kB / 383.8 MB, free: 11.93 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 6.372e-06/0.1717, allocations: 1.188 kB / 383.8 MB, free: 11.93 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0001473/0.1718, allocations: 112.6 kB / 383.9 MB, free: 11.93 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 6.842e-06/0.1718, allocations: 0.6562 kB / 383.9 MB, free: 11.93 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: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * 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: ..................... 2 (2) {sine.counter, sine.startOutput} * Number of discrete variables: ................. 5 (5) {$SEV_1, $SEV_0, $TEV_2, $TEV_1, $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: ........... 2 (scalar:2, 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: ........... 5 (scalar:5, 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.386e-05/0.1719, allocations: 30.52 kB / 384 MB, free: 11.91 MB / 302.1 MB Notification: Performance of SimCode: time 0.000484/0.1724, allocations: 294.1 kB / 384.2 MB, free: 11.75 MB / 302.1 MB Notification: Performance of Templates: time 0.003333/0.1757, allocations: 0.8036 MB / 385 MB, free: 11.68 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedSine.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedSine.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedSine.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedSine.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedSine.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedSine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedSine.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedSine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedSine/TickBasedSine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedSine.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.2694022548384964]