Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.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.001136/0.001136, allocations: 95.2 kB / 20.43 MB, free: 4.145 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.001112/0.001112, allocations: 165 kB / 23.79 MB, free: 0.7812 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.9029/0.9029, allocations: 158.6 MB / 185.7 MB, free: 2.891 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1407/0.1407, allocations: 32.38 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 347.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.051e-05/2.236e-05, allocations: 9.344 kB / 347.7 MB, free: 9.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.01375/0.01377, allocations: 16.7 MB / 364.4 MB, free: 8.66 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01411/0.02788, allocations: 13.98 MB / 378.4 MB, free: 10.63 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005293/0.02841, allocations: 31.69 kB / 378.4 MB, free: 10.6 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006116/0.02902, allocations: 262.2 kB / 378.7 MB, free: 10.34 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009593/0.03861, allocations: 4.937 MB / 383.6 MB, free: 5.387 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003896/0.04251, allocations: 1.947 MB / 385.5 MB, free: 3.434 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001937/0.04445, allocations: 2.059 MB / 387.6 MB, free: 1.363 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006146/0.04506, allocations: 457.9 kB / 388.1 MB, free: 0.8984 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003673/0.04874, allocations: 2.689 MB / 390.7 MB, free: 14.18 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006539/0.05527, allocations: 5.456 MB / 396.2 MB, free: 8.645 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001282/0.0554, allocations: 68 kB / 396.3 MB, free: 8.578 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01098/0.06638, allocations: 6.781 MB / 403 MB, free: 1.789 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004485/0.06683, allocations: 311.1 kB / 403.3 MB, free: 1.484 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005113/0.06734, allocations: 331.2 kB / 403.7 MB, free: 1.16 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01245/0.07979, allocations: 5.616 MB / 409.3 MB, free: 11.53 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/0.0798, allocations: 4 kB / 409.3 MB, free: 11.53 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.0798, allocations: 0 / 409.3 MB, free: 11.53 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.544e-05/0.07981, allocations: 4 kB / 409.3 MB, free: 11.52 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.004167/0.08398, allocations: 1.673 MB / 411 MB, free: 9.809 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.485e-05/0.08403, allocations: 12.03 kB / 411 MB, free: 9.797 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001399/0.08543, allocations: 451.1 kB / 411.4 MB, free: 9.355 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000791/0.08622, allocations: 0.5241 MB / 411.9 MB, free: 8.805 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001743/0.0864, allocations: 172.7 kB / 412.1 MB, free: 8.609 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/0.0865, allocations: 64.38 kB / 412.2 MB, free: 8.547 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00163/0.08813, allocations: 1.352 MB / 413.5 MB, free: 6.984 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.652e-05/0.08816, allocations: 11.88 kB / 413.5 MB, free: 6.973 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.647e-05/0.08821, allocations: 31.98 kB / 413.6 MB, free: 6.941 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.685e-05/0.08827, allocations: 45.28 kB / 413.6 MB, free: 6.898 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001135/0.0894, allocations: 0.6238 MB / 414.2 MB, free: 6.273 MB / 346.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.004539/0.09394, allocations: 5.39 MB / 419.6 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/0.09518, allocations: 0.5692 MB / 420.2 MB, free: 104 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002416/0.09542, allocations: 147.2 kB / 420.3 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01571/0.1111, allocations: 8.47 MB / 428.8 MB, free: 7.473 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.025e-05/0.1112, allocations: 49.33 kB / 428.9 MB, free: 7.414 MB / 362.7 MB Notification: Performance of pre-optimization done (n=45): time 2.996e-06/0.1112, allocations: 0 / 428.9 MB, free: 7.414 MB / 362.7 MB Notification: Performance of matching and sorting (n=49): time 0.004172/0.1154, allocations: 1.708 MB / 430.6 MB, free: 5.664 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.223e-05/0.1155, allocations: 162.8 kB / 430.7 MB, free: 5.469 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005281/0.116, allocations: 0.5569 MB / 431.3 MB, free: 4.895 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.457e-05/0.116, allocations: 33.7 kB / 431.3 MB, free: 4.855 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002655/0.1163, allocations: 450.8 kB / 431.8 MB, free: 4.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/0.1164, allocations: 186.4 kB / 431.9 MB, free: 4.227 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001978/0.1166, allocations: 172.2 kB / 432.1 MB, free: 4.051 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002121/0.1168, allocations: 0.5469 MB / 432.7 MB, free: 3.492 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000246/0.1171, allocations: 137.9 kB / 432.8 MB, free: 3.355 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005682/0.1176, allocations: 0.6853 MB / 433.5 MB, free: 2.438 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006935/0.1183, allocations: 0.772 MB / 434.2 MB, free: 1.469 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.1183, allocations: 4 kB / 434.3 MB, free: 1.465 MB / 362.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0008545/0.1192, allocations: 0.7119 MB / 435 MB, free: 0.7422 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.1192, allocations: 8 kB / 435 MB, free: 0.7344 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.1192, allocations: 12.09 kB / 435 MB, free: 0.7227 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002082/0.1194, allocations: 51.61 kB / 435 MB, free: 0.668 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006343/0.1201, allocations: 283.6 kB / 435.3 MB, free: 400 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001595/0.1217, allocations: 2.637 MB / 437.9 MB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003181/0.122, allocations: 43.98 kB / 438 MB, free: 13.56 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.783e-05/0.122, allocations: 40 kB / 438 MB, free: 13.52 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 10 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.heatTransfer.states[1].phase,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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 prepare postOptimizeDAE: time 0.0002404/0.1223, allocations: 216.5 kB / 438.2 MB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.1224, allocations: 79.61 kB / 438.3 MB, free: 13.22 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00153/0.1239, allocations: 1.657 MB / 440 MB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.763e-05/0.1239, allocations: 39.97 kB / 440 MB, free: 11.51 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.1239, allocations: 0 / 440 MB, free: 11.51 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.124, allocations: 7.922 kB / 440 MB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002238/0.1262, allocations: 2.322 MB / 442.3 MB, free: 9.133 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.1262, allocations: 0 / 442.3 MB, free: 9.133 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005178/0.1267, allocations: 207.8 kB / 442.5 MB, free: 8.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002087/0.1269, allocations: 55.56 kB / 442.6 MB, free: 8.871 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.954e-05/0.127, allocations: 15.94 kB / 442.6 MB, free: 8.855 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00134/0.1283, allocations: 2.625 MB / 445.2 MB, free: 6.078 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.1283, allocations: 3.938 kB / 445.2 MB, free: 6.074 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001325/0.1296, allocations: 1.485 MB / 446.7 MB, free: 4.562 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002392/0.1299, allocations: 174.9 kB / 446.9 MB, free: 4.391 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.525e-05/0.1299, allocations: 31.78 kB / 446.9 MB, free: 4.359 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002189/0.1301, allocations: 23.98 kB / 447 MB, free: 4.336 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.1303, allocations: 56.34 kB / 447 MB, free: 4.281 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.831e-05/0.1303, allocations: 23.98 kB / 447 MB, free: 4.258 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000397/0.1307, allocations: 458.9 kB / 447.5 MB, free: 3.809 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1307, allocations: 0 / 447.5 MB, free: 3.809 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002902/0.1336, allocations: 1.1 MB / 448.6 MB, free: 2.707 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 21 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,volume.heatTransfer.states[1].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 (58): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.004293/0.1379, allocations: 1.306 MB / 449.9 MB, free: 1.402 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001686/0.1396, allocations: 0.6807 MB / 450.6 MB, free: 0.7188 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.1396, allocations: 0 / 450.6 MB, free: 0.7188 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007041/0.1403, allocations: 467.8 kB / 451 MB, free: 268 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1398/0.2801, allocations: 369.6 kB / 451.4 MB, free: 81.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003225/0.2833, allocations: 2.139 MB / 453.5 MB, free: 80.22 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000181/0.2835, allocations: 275.2 kB / 453.8 MB, free: 80.14 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005752/0.2841, allocations: 406.2 kB / 454.2 MB, free: 80.13 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.2842, allocations: 65.97 kB / 454.3 MB, free: 80.13 MB / 378.7 MB Notification: Performance of SimCode: time 1.773e-06/0.2842, allocations: 4.688 kB / 454.3 MB, free: 80.13 MB / 378.7 MB Notification: Performance of Templates: time 0.03971/0.3239, allocations: 46.14 MB / 0.4887 GB, free: 49.01 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/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: 5.364635295700282]