Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.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.001801/0.001801, allocations: 107.6 kB / 21.2 MB, free: 0.6641 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.002185/0.002185, allocations: 210.8 kB / 24.49 MB, free: 3.961 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.461/1.461, allocations: 230.6 MB / 258.2 MB, free: 7.816 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.Thermal.FluidHeatFlow.Examples.TestCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cylinder1.H|cylinder1.m|cylinder2.H|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cylinder1.H|cylinder1.m|cylinder2.H|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.245e-05/2.245e-05, allocations: 5.375 kB / 378.9 MB, free: 2.543 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.1555/0.1555, allocations: 2.824 MB / 381.7 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002027/0.1575, allocations: 1.335 MB / 383.1 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001306/0.1577, allocations: 14.58 kB / 383.1 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004089/0.1581, allocations: 145.2 kB / 383.2 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004593/0.1585, allocations: 220.7 kB / 383.4 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002669/0.1588, allocations: 142.2 kB / 383.6 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004779/0.1593, allocations: 0.5159 MB / 384.1 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000162/0.1594, allocations: 81.73 kB / 384.2 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000212/0.1597, allocations: 207.2 kB / 384.4 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002153/0.1599, allocations: 189.9 kB / 384.6 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.384e-05/0.1599, allocations: 31.66 kB / 384.6 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001523/0.1601, allocations: 68.2 kB / 384.7 MB, free: 12.47 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.000455/0.1605, allocations: 0.7318 MB / 385.4 MB, free: 12.09 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.000216/0.1608, allocations: 492.7 kB / 385.9 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.993e-05/0.1608, allocations: 33.12 kB / 385.9 MB, free: 11.79 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.489e-05/0.1609, allocations: 14.62 kB / 385.9 MB, free: 11.78 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: 61 (61) * Number of variables: 61 (61) Notification: Performance of [SIM] Bindings: time 0.001481/0.1623, allocations: 1.954 MB / 387.9 MB, free: 10.49 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002012/0.1626, allocations: 185.8 kB / 388.1 MB, free: 10.38 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0005571/0.1631, allocations: 0.7025 MB / 388.8 MB, free: 9.953 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002713/0.1634, allocations: 245 kB / 389 MB, free: 9.781 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001718/0.1651, allocations: 1.399 MB / 390.4 MB, free: 8.961 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002044/0.1653, allocations: 187.6 kB / 390.6 MB, free: 8.824 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 8.801e-05/0.1654, allocations: 101.8 kB / 390.7 MB, free: 8.738 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0002799/0.1657, allocations: 261.3 kB / 390.9 MB, free: 8.52 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0001581/0.1658, allocations: 116.5 kB / 391 MB, free: 8.457 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0003248/0.1662, allocations: 344.5 kB / 391.4 MB, free: 8.246 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.001449/0.1676, allocations: 1.287 MB / 392.7 MB, free: 7.688 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0004853/0.1681, allocations: 0.6062 MB / 393.3 MB, free: 7.367 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.002255/0.1703, allocations: 0.5808 MB / 393.9 MB, free: 7.016 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0007804/0.1711, allocations: 0.8759 MB / 394.7 MB, free: 6.539 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 4.963e-05/0.1712, allocations: 29.81 kB / 394.8 MB, free: 6.52 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0001259/0.1713, allocations: 151.7 kB / 394.9 MB, free: 6.43 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.002278/0.1736, allocations: 1.72 MB / 396.6 MB, free: 5.992 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 6.378e-05/0.1736, allocations: 46.28 kB / 396.7 MB, free: 5.961 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 1.052e-06/0.1736, allocations: 1.125 kB / 396.7 MB, free: 5.961 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.07e-05/0.1737, allocations: 5.094 kB / 396.7 MB, free: 5.957 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 2.784e-05/0.1737, allocations: 41.52 kB / 396.7 MB, free: 5.93 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.782e-05/0.1737, allocations: 6.859 kB / 396.7 MB, free: 5.926 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0007505/0.1744, allocations: 0.5378 MB / 397.3 MB, free: 5.73 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0004301/0.1749, allocations: 0.5717 MB / 397.8 MB, free: 5.227 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: ............... 1 * Number of algebraic event partitions: ......... 5 * 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: ............................. 5 (5) {cylinder1.m, cylinder1.H, cylinder2.H, mass.v, springDamper.s_rel} * Number of discrete states: .................... 2 (2) {combiTimeTable.nextTimeEvent, combiTimeTable.nextTimeEventScaled} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 11 (11) {$SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 43 (scalar:43, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 60 (scalar:59, array:0, record:1) * Number of multi strong components: ............ 2 (algorithm:2, when:0, if:0, tuple:2) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: Performance of backend: time 4.686e-05/0.1749, allocations: 45.05 kB / 397.9 MB, free: 5.191 MB / 302.1 MB Notification: Performance of SimCode: time 0.003265/0.1782, allocations: 1.89 MB / 399.8 MB, free: 4.34 MB / 302.1 MB Notification: Performance of Templates: time 0.008531/0.1867, allocations: 5.017 MB / 404.8 MB, free: 1.914 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.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.572703416924924]