Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.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.001491/0.001491, allocations: 75.77 kB / 22.45 MB, free: 2.098 MB / 18.57 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.001241/0.001241, allocations: 159.9 kB / 25.75 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9344/0.9344, allocations: 158.6 MB / 187.6 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Tests.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 251.2 MB, free: 7.836 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.508e-05/2.639e-05, allocations: 6.312 kB / 251.2 MB, free: 7.828 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.02758/0.02761, allocations: 33.38 MB / 284.5 MB, free: 6.324 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01345/0.04106, allocations: 15.61 MB / 300.2 MB, free: 6.664 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003427/0.0414, allocations: 4 kB / 300.2 MB, free: 6.66 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007361/0.04214, allocations: 254.3 kB / 300.4 MB, free: 6.41 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006463/0.04279, allocations: 377.5 kB / 300.8 MB, free: 6.039 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.019/0.06178, allocations: 5.786 MB / 306.6 MB, free: 236 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001571/0.06336, allocations: 1.005 MB / 307.6 MB, free: 15.22 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002486/0.0636, allocations: 73.23 kB / 307.6 MB, free: 15.14 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005535/0.06914, allocations: 2.329 MB / 310 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005535/0.06969, allocations: 287.2 kB / 310.2 MB, free: 12.51 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.633e-05/0.06977, allocations: 40 kB / 310.3 MB, free: 12.47 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01167/0.08144, allocations: 5.841 MB / 316.1 MB, free: 6.621 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002396/0.08168, allocations: 111.6 kB / 316.2 MB, free: 6.512 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003753/0.08205, allocations: 175.7 kB / 316.4 MB, free: 6.34 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01194/0.09399, allocations: 4.525 MB / 320.9 MB, free: 1.805 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.275e-05/0.094, allocations: 3.984 kB / 320.9 MB, free: 1.801 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.09401, allocations: 4 kB / 320.9 MB, free: 1.797 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.785e-05/0.09402, allocations: 4 kB / 320.9 MB, free: 1.793 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.002914/0.09694, allocations: 1.035 MB / 322 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.471e-05/0.09699, allocations: 15.98 kB / 322 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001504/0.0985, allocations: 227.8 kB / 322.2 MB, free: 492 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004788/0.09898, allocations: 268 kB / 322.5 MB, free: 196 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.574e-05/0.09902, allocations: 29.03 kB / 322.5 MB, free: 168 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.801e-05/0.09909, allocations: 36.38 kB / 322.5 MB, free: 132 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001448/0.1005, allocations: 0.6868 MB / 323.2 MB, free: 15.35 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/0.1006, allocations: 8.125 kB / 323.2 MB, free: 15.34 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.578e-05/0.1006, allocations: 19.94 kB / 323.3 MB, free: 15.32 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/0.1006, allocations: 8 kB / 323.3 MB, free: 15.32 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001126/0.1017, allocations: 379.3 kB / 323.6 MB, free: 14.95 MB / 314.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002694/0.1044, allocations: 2.141 MB / 325.8 MB, free: 12.73 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001228/0.1057, allocations: 370.6 kB / 326.1 MB, free: 12.36 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002218/0.1059, allocations: 99.62 kB / 326.2 MB, free: 12.25 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005363/0.1064, allocations: 179.8 kB / 326.4 MB, free: 12.08 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.006e-05/0.1065, allocations: 45.38 kB / 326.5 MB, free: 12.02 MB / 314.7 MB Notification: Performance of pre-optimization done (n=30): time 3.046e-06/0.1065, allocations: 0 / 326.5 MB, free: 12.02 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.003644/0.1101, allocations: 1.137 MB / 327.6 MB, free: 10.84 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.03e-05/0.1102, allocations: 55.41 kB / 327.6 MB, free: 10.77 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002849/0.1104, allocations: 257.8 kB / 327.9 MB, free: 10.5 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.351e-05/0.1105, allocations: 29.7 kB / 327.9 MB, free: 10.47 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/0.1106, allocations: 247.1 kB / 328.2 MB, free: 10.22 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.1107, allocations: 119 kB / 328.3 MB, free: 10.11 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/0.1108, allocations: 83.8 kB / 328.4 MB, free: 10.02 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002596/0.1111, allocations: 0.5117 MB / 328.9 MB, free: 9.492 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002045/0.1113, allocations: 84.92 kB / 329 MB, free: 9.41 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002786/0.1116, allocations: 224.8 kB / 329.2 MB, free: 9.133 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004777/0.1121, allocations: 327.6 kB / 329.5 MB, free: 8.758 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1121, allocations: 0 / 329.5 MB, free: 8.758 MB / 314.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000828/0.1129, allocations: 424.1 kB / 329.9 MB, free: 8.324 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.1129, allocations: 8 kB / 329.9 MB, free: 8.316 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.1129, allocations: 3.984 kB / 329.9 MB, free: 8.312 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000415/0.1133, allocations: 99.34 kB / 330 MB, free: 8.203 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003229/0.1137, allocations: 87.89 kB / 330.1 MB, free: 8.117 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002057/0.1157, allocations: 3.353 MB / 333.5 MB, free: 4.578 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002425/0.116, allocations: 15.98 kB / 333.5 MB, free: 4.562 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.532e-05/0.116, allocations: 16 kB / 333.5 MB, free: 4.547 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 3 (fixedMassFlowRate.medium.phase,volume.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001804/0.1162, allocations: 184.4 kB / 333.7 MB, free: 4.355 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.452e-05/0.1163, allocations: 39.86 kB / 333.7 MB, free: 4.316 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001648/0.1179, allocations: 0.8947 MB / 334.6 MB, free: 3.402 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.506e-05/0.118, allocations: 23.91 kB / 334.6 MB, free: 3.379 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.118, allocations: 0 / 334.6 MB, free: 3.379 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009426/0.1189, allocations: 0.9424 MB / 335.6 MB, free: 2.348 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00183/0.1207, allocations: 1.355 MB / 336.9 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.1207, allocations: 3.938 kB / 336.9 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003015/0.121, allocations: 75.89 kB / 337 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003005/0.1213, allocations: 51.62 kB / 337.1 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.854e-05/0.1214, allocations: 8 kB / 337.1 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003967/0.1218, allocations: 0.8 MB / 337.9 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1218, allocations: 0 / 337.9 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001316/0.1231, allocations: 0.8342 MB / 338.7 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/0.1232, allocations: 47.59 kB / 338.7 MB, free: 15.07 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.127e-05/0.1233, allocations: 15.89 kB / 338.8 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003234/0.1236, allocations: 19.98 kB / 338.8 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/0.1237, allocations: 36.03 kB / 338.8 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.648e-05/0.1238, allocations: 12 kB / 338.8 MB, free: 14.99 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002665/0.124, allocations: 235 kB / 339.1 MB, free: 14.75 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.124, allocations: 0 / 339.1 MB, free: 14.75 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001874/0.1259, allocations: 0.8695 MB / 339.9 MB, free: 13.88 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 11 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,volume.medium.phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00217/0.1281, allocations: 1.083 MB / 341 MB, free: 12.79 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000693/0.1288, allocations: 0.4971 MB / 341.5 MB, free: 12.27 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1288, allocations: 0 / 341.5 MB, free: 12.27 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002662/0.1291, allocations: 236.4 kB / 341.7 MB, free: 12.04 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005467/0.1296, allocations: 184.2 kB / 341.9 MB, free: 11.86 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001489/0.1311, allocations: 1.099 MB / 343 MB, free: 10.72 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.586e-05/0.1312, allocations: 144.2 kB / 343.2 MB, free: 10.56 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001802/0.1314, allocations: 134.1 kB / 343.3 MB, free: 10.44 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.952e-05/0.1314, allocations: 36.48 kB / 343.3 MB, free: 10.4 MB / 330.7 MB Notification: Performance of SimCode: time 5.92e-07/0.1314, allocations: 4 kB / 343.3 MB, free: 10.4 MB / 330.7 MB Notification: Performance of Templates: time 0.1248/0.2562, allocations: 36.01 MB / 379.3 MB, free: 86.98 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Water/WaterIF97_ph/WaterIF97_ph.csv","",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.38492361898534]