Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.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.001347/0.001347, 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.001527/0.001527, allocations: 205.2 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.424/1.424, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.PumpAndValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.203e-05/2.203e-05, allocations: 2.281 kB / 378.9 MB, free: 2.531 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.1545/0.1545, allocations: 3.975 MB / 382.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001777/0.1563, allocations: 1.193 MB / 384.1 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000212/0.1565, allocations: 10.06 kB / 384.1 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003032/0.1568, allocations: 135.8 kB / 384.2 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004607/0.1573, allocations: 268.4 kB / 384.5 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003783/0.1577, allocations: 194.6 kB / 384.7 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009038/0.1586, allocations: 1.102 MB / 385.8 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002759/0.1588, allocations: 152.5 kB / 385.9 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004831/0.1593, allocations: 416.1 kB / 386.3 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003928/0.1597, allocations: 413.1 kB / 386.7 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.447e-05/0.1598, allocations: 67.44 kB / 386.8 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001862/0.16, allocations: 96.64 kB / 386.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0008983/0.1609, allocations: 1.564 MB / 388.5 MB, free: 10.29 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003714/0.1613, allocations: 0.9513 MB / 389.4 MB, free: 9.633 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.1614, allocations: 83.09 kB / 389.5 MB, free: 9.629 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.884e-05/0.1614, allocations: 17.69 kB / 389.5 MB, free: 9.625 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: 111 (111) * Number of variables: 111 (111) Notification: Performance of [SIM] Bindings: time 0.002867/0.1643, allocations: 4.319 MB / 393.8 MB, free: 6.715 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0004748/0.1648, allocations: 466.8 kB / 394.3 MB, free: 6.453 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.001616/0.1664, allocations: 1.965 MB / 396.3 MB, free: 5.312 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0007216/0.1671, allocations: 0.5712 MB / 396.8 MB, free: 5.035 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.002888/0.17, allocations: 2.537 MB / 399.4 MB, free: 3.508 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0005488/0.1706, allocations: 485.7 kB / 399.8 MB, free: 3.27 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001971/0.1708, allocations: 235.1 kB / 400.1 MB, free: 3.109 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0003914/0.1711, allocations: 480.9 kB / 400.5 MB, free: 2.758 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0003713/0.1715, allocations: 343.7 kB / 400.9 MB, free: 2.562 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0007502/0.1723, allocations: 0.9285 MB / 401.8 MB, free: 1.918 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.002962/0.1752, allocations: 2.788 MB / 404.6 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001298/0.1765, allocations: 1.614 MB / 406.2 MB, free: 15.35 MB / 318.1 MB Notification: Performance of [INI] Simplify: time 0.001644/0.1782, allocations: 1.107 MB / 407.3 MB, free: 14.54 MB / 318.1 MB Notification: Performance of [INI] Inline: time 0.002295/0.1805, allocations: 2.632 MB / 409.9 MB, free: 12.5 MB / 318.1 MB Notification: Performance of [INI] Partitioning: time 0.0001077/0.1806, allocations: 54.53 kB / 410 MB, free: 12.46 MB / 318.1 MB Notification: Performance of [INI] Cleanup: time 0.0003406/0.1809, allocations: 381.3 kB / 410.4 MB, free: 12.15 MB / 318.1 MB Notification: Performance of [INI] Causalize: time 0.006687/0.1876, allocations: 4.999 MB / 415.4 MB, free: 7.672 MB / 318.1 MB Notification: Performance of [INI] Tearing: time 0.0005623/0.1882, allocations: 459.8 kB / 415.8 MB, free: 7.227 MB / 318.1 MB Notification: Performance of [SIM] Initialization: time 6.91e-07/0.1882, allocations: 0 / 415.8 MB, free: 7.227 MB / 318.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.818e-05/0.1882, allocations: 8.375 kB / 415.8 MB, free: 7.219 MB / 318.1 MB Notification: Performance of [SIM] Tearing: time 0.000397/0.1886, allocations: 312 kB / 416.1 MB, free: 6.922 MB / 318.1 MB Notification: Performance of [SIM] Categorize: time 2.715e-05/0.1886, allocations: 15.88 kB / 416.1 MB, free: 6.906 MB / 318.1 MB Notification: Performance of [SIM] Solve: time 0.001782/0.1904, allocations: 1.347 MB / 417.5 MB, free: 5.547 MB / 318.1 MB Notification: Performance of [SIM] Jacobian: time 0.00167/0.1921, allocations: 1.594 MB / 419.1 MB, free: 3.781 MB / 318.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: ......... 20 * 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: ............................. 3 (3) {dTSource, pipe.T, speed.phi} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 31 (31) {$FUN_2, $FUN_3, $FUN_8, $FUN_11, $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: ........... 70 (scalar:70, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:0, when:0, if:1, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 3 (linear: 3, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 94 (scalar:94, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:1, when:0, if:1, tuple:13) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 3 (linear: 3, nonlinear:0) Notification: Performance of backend: time 7.823e-05/0.1921, allocations: 61.16 kB / 419.1 MB, free: 3.727 MB / 318.1 MB Notification: Performance of SimCode: time 0.003541/0.1957, allocations: 3.15 MB / 422.3 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of Templates: time 0.01891/0.2146, allocations: 11.51 MB / 433.8 MB, free: 5.07 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.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.705765232909471]