Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.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.001736/0.001736, 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.00154/0.00154, allocations: 204.6 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.416/1.416, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.Media.Examples.TwoPhaseWater.TestTwoPhaseStates,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2200,variableFilter="time|medium.h|medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates") translateModel(Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2200,variableFilter="time|medium.h|medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.519e-05/2.519e-05, allocations: 2.281 kB / 379.8 MB, free: 1.695 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates): time 0.1571/0.1571, allocations: 12.33 MB / 392.1 MB, free: 7.887 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01357/0.1707, allocations: 13.64 MB / 405.7 MB, free: 14.74 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001758/0.1708, allocations: 1.219 kB / 405.7 MB, free: 14.74 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003261/0.1712, allocations: 72.7 kB / 405.8 MB, free: 14.68 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000343/0.1715, allocations: 116.4 kB / 405.9 MB, free: 14.59 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01665/0.1882, allocations: 5.919 MB / 411.8 MB, free: 10.5 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005549/0.1887, allocations: 447.4 kB / 412.3 MB, free: 10.25 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.223e-05/0.1888, allocations: 10.86 kB / 412.3 MB, free: 10.24 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005455/0.1893, allocations: 276.5 kB / 412.5 MB, free: 10.08 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001698/0.1895, allocations: 113 kB / 412.6 MB, free: 10.01 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.943e-05/0.1895, allocations: 14.84 kB / 412.7 MB, free: 10.01 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01005/0.1996, allocations: 6.226 MB / 418.9 MB, free: 5.531 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0004284/0.2, allocations: 380.4 kB / 419.3 MB, free: 5.156 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.00018/0.2002, allocations: 244.9 kB / 419.5 MB, free: 4.914 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.379e-05/0.2002, allocations: 28 kB / 419.5 MB, free: 4.887 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.514e-05/0.2003, allocations: 0 / 419.5 MB, free: 4.887 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 (41) * Number of variables: 53 (53) Notification: Performance of [SIM] Bindings: time 0.001502/0.2018, allocations: 1.262 MB / 420.8 MB, free: 3.496 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001594/0.2019, allocations: 143.8 kB / 420.9 MB, free: 3.344 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.001385/0.2033, allocations: 1.243 MB / 422.2 MB, free: 2.074 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.000273/0.2036, allocations: 201.7 kB / 422.4 MB, free: 1.828 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.001018/0.2046, allocations: 0.7127 MB / 423.1 MB, free: 1.035 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.000247/0.2048, allocations: 195.7 kB / 423.3 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001344/0.205, allocations: 132.2 kB / 423.4 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.0003503/0.2053, allocations: 295.5 kB / 423.7 MB, free: 304 kB / 318.1 MB Notification: Performance of [SIM] Events: time 0.000136/0.2055, allocations: 86.97 kB / 423.8 MB, free: 232 kB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.0005187/0.206, allocations: 443.7 kB / 424.2 MB, free: 15.79 MB / 334.1 MB Notification: Performance of [SIM] Causalize: time 0.001578/0.2076, allocations: 1.206 MB / 425.4 MB, free: 14.55 MB / 334.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.004766/0.2123, allocations: 4.957 MB / 430.4 MB, free: 9.824 MB / 334.1 MB Notification: Performance of [INI] Simplify: time 0.001605/0.2139, allocations: 1.441 MB / 431.8 MB, free: 8.453 MB / 334.1 MB Notification: Performance of [INI] Inline: time 0.0051/0.219, allocations: 5.546 MB / 437.4 MB, free: 2.898 MB / 334.1 MB Notification: Performance of [INI] Partitioning: time 5.543e-05/0.2191, allocations: 26.69 kB / 437.4 MB, free: 2.863 MB / 334.1 MB Notification: Performance of [INI] Cleanup: time 0.0007122/0.2198, allocations: 0.7805 MB / 438.2 MB, free: 2.082 MB / 334.1 MB Notification: Performance of [INI] Causalize: time 0.00272/0.2225, allocations: 1.677 MB / 439.8 MB, free: 400 kB / 334.1 MB Notification: Performance of [INI] Tearing: time 3.527e-05/0.2225, allocations: 28 kB / 439.9 MB, free: 372 kB / 334.1 MB Notification: Performance of [SIM] Initialization: time 6.11e-07/0.2225, allocations: 0 / 439.9 MB, free: 372 kB / 334.1 MB Notification: Performance of [SIM] Remove Dummies: time 7.133e-06/0.2226, allocations: 448 / 439.9 MB, free: 372 kB / 334.1 MB Notification: Performance of [SIM] Tearing: time 1.845e-05/0.2226, allocations: 28 kB / 439.9 MB, free: 344 kB / 334.1 MB Notification: Performance of [SIM] Categorize: time 1.136e-05/0.2226, allocations: 4 kB / 439.9 MB, free: 340 kB / 334.1 MB Notification: Performance of [SIM] Solve: time 0.004861/0.2274, allocations: 4.25 MB / 444.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of [SIM] Jacobian: time 0.0009527/0.2284, allocations: 0.7134 MB / 444.9 MB, free: 11.43 MB / 350.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: ......... 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: ............................. 2 (2) {medium.p_bar, medium.h} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 9 (9) {medium.state.phase, medium.phase, medium.dew.phase, medium.bubble.phase, medium.bubble2.phase, $SEV_3, $SEV_2, $SEV_1, $SEV_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: ........... 53 (scalar:53, 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: ........... 55 (scalar:55, 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 0.0001033/0.2285, allocations: 33.36 kB / 444.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of SimCode: time 0.01637/0.2449, allocations: 7.995 MB / 452.9 MB, free: 3.387 MB / 350.1 MB Notification: Performance of Templates: time 0.04971/0.2946, allocations: 36.85 MB / 489.7 MB, free: 14.38 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.sim & ./Modelica_4.1.0_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/TwoPhaseWater/TestTwoPhaseStates/TestTwoPhaseStates.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.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: 8.72384179290384]