Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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.001579/0.001579, 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.001759/0.001759, allocations: 217.1 kB / 24.5 MB, free: 3.926 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.424/1.424, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.TwoMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.129e-05/2.129e-05, allocations: 5.656 kB / 378.9 MB, free: 2.5 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.1597/0.1597, allocations: 4.51 MB / 383.4 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002298/0.162, allocations: 1.297 MB / 384.7 MB, free: 12 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003689/0.1623, allocations: 16.22 kB / 384.7 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004296/0.1628, allocations: 159.3 kB / 384.9 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006511/0.1634, allocations: 337 kB / 385.2 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004528/0.1639, allocations: 230.7 kB / 385.5 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001322/0.1652, allocations: 1.367 MB / 386.8 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003448/0.1655, allocations: 189.5 kB / 387 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005543/0.1661, allocations: 497.1 kB / 387.5 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000502/0.1666, allocations: 0.5247 MB / 388 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001333/0.1667, allocations: 92.94 kB / 388.1 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002377/0.167, allocations: 113.8 kB / 388.2 MB, free: 10.54 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001229/0.1682, allocations: 1.979 MB / 390.2 MB, free: 9.242 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005451/0.1687, allocations: 1.185 MB / 391.4 MB, free: 8.418 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001772/0.1689, allocations: 99.34 kB / 391.5 MB, free: 8.418 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.424e-05/0.169, allocations: 25.48 kB / 391.5 MB, free: 8.41 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: 137 (137) * Number of variables: 137 (137) Notification: Performance of [SIM] Bindings: time 0.00407/0.1731, allocations: 5.446 MB / 397 MB, free: 4.762 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0006222/0.1737, allocations: 0.524 MB / 397.5 MB, free: 4.461 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.001988/0.1757, allocations: 2.179 MB / 399.7 MB, free: 3.207 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001036/0.1767, allocations: 0.7743 MB / 400.4 MB, free: 2.836 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.003839/0.1806, allocations: 3.281 MB / 403.7 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0006655/0.1812, allocations: 0.6344 MB / 404.3 MB, free: 408 kB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002323/0.1815, allocations: 312.6 kB / 404.7 MB, free: 140 kB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0007317/0.1822, allocations: 0.6347 MB / 405.3 MB, free: 15.54 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.0007029/0.1829, allocations: 0.4959 MB / 405.8 MB, free: 15.19 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.001417/0.1843, allocations: 1.246 MB / 407 MB, free: 14.1 MB / 318.1 MB Notification: Performance of [SIM] Causalize: time 0.002875/0.1872, allocations: 2.216 MB / 409.2 MB, free: 12.88 MB / 318.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002194/0.1894, allocations: 2.191 MB / 411.4 MB, free: 11.23 MB / 318.1 MB Notification: Performance of [INI] Simplify: time 0.002346/0.1917, allocations: 1.418 MB / 412.9 MB, free: 10.02 MB / 318.1 MB Notification: Performance of [INI] Inline: time 0.002972/0.1947, allocations: 2.978 MB / 415.8 MB, free: 7.035 MB / 318.1 MB Notification: Performance of [INI] Partitioning: time 0.00015/0.1948, allocations: 64.06 kB / 415.9 MB, free: 6.957 MB / 318.1 MB Notification: Performance of [INI] Cleanup: time 0.0004958/0.1953, allocations: 0.4916 MB / 416.4 MB, free: 6.465 MB / 318.1 MB Notification: Performance of [INI] Causalize: time 0.009366/0.2047, allocations: 6.477 MB / 422.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of [INI] Tearing: time 0.0008084/0.2055, allocations: 0.6011 MB / 423.5 MB, free: 15.3 MB / 334.1 MB Notification: Performance of [SIM] Initialization: time 1.493e-06/0.2055, allocations: 0 / 423.5 MB, free: 15.3 MB / 334.1 MB Notification: Performance of [SIM] Remove Dummies: time 2.524e-05/0.2055, allocations: 8.5 kB / 423.5 MB, free: 15.29 MB / 334.1 MB Notification: Performance of [SIM] Tearing: time 0.0006113/0.2062, allocations: 438.6 kB / 423.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of [SIM] Categorize: time 4.376e-05/0.2062, allocations: 7.938 kB / 423.9 MB, free: 14.87 MB / 334.1 MB Notification: Performance of [SIM] Solve: time 0.002314/0.2085, allocations: 1.678 MB / 425.6 MB, free: 13.17 MB / 334.1 MB Notification: Performance of [SIM] Jacobian: time 0.002353/0.2109, allocations: 2.038 MB / 427.6 MB, free: 10.91 MB / 334.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: ......... 30 * 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) {dTMass1, dTMass2, pipe1.T, pipe2.T, pipe3.T} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 44 (44) {$FUN_2, $FUN_5, $FUN_8, $FUN_11, $SEV_35, $SEV_34, $SEV_33, $SEV_32, $SEV_31, $SEV_30, $SEV_29, $SEV_28, $SEV_27, $SEV_26, $SEV_25, $SEV_24, $SEV_23, $SEV_22, $SEV_21, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_3, $TEV_2, $TEV_1, $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: ........... 87 (scalar:87, 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: ... 4 (linear: 4, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 118 (scalar:118, array:0, record:0) * Number of multi strong components: ............ 3 (algorithm:3, when:0, if:0, tuple:16) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 4 (linear: 4, nonlinear:0) Notification: Performance of backend: time 9.886e-05/0.211, allocations: 78.89 kB / 427.7 MB, free: 10.85 MB / 334.1 MB Notification: Performance of SimCode: time 0.00501/0.216, allocations: 4.167 MB / 431.9 MB, free: 6.605 MB / 334.1 MB Notification: Performance of Templates: time 0.02616/0.2421, allocations: 15.92 MB / 447.8 MB, free: 6.77 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TwoMass/TwoMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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.99001280637458]