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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 103 kB / 16.02 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 181 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.694/1.694, allocations: 205.4 MB / 223.1 MB, free: 5.781 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4081/0.4081, allocations: 43.57 MB / 315 MB, free: 8.746 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005792/0.0005794, allocations: 16.59 kB / 384.6 MB, free: 7.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1424, allocations: 58.87 MB / 443.5 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.2985/0.441, allocations: 39.41 MB / 482.9 MB, free: 26.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01987/0.4609, allocations: 20.91 MB / 0.492 GB, free: 12.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001411/0.4624, allocations: 23.69 kB / 0.492 GB, free: 12.06 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001192/0.4636, allocations: 405.8 kB / 0.4924 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01413/0.4777, allocations: 4.152 MB / 0.4964 GB, free: 9.934 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007473/0.4852, allocations: 2.24 MB / 0.4986 GB, free: 8.707 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004921/0.4901, allocations: 2.847 MB / 0.5014 GB, free: 7.742 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001092/0.4912, allocations: 426 kB / 0.5018 GB, free: 7.582 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01087/0.5021, allocations: 4.04 MB / 0.5058 GB, free: 5.754 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01308/0.5153, allocations: 5.454 MB / 0.5111 GB, free: 3.328 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003114/0.5157, allocations: 36.12 kB / 0.5111 GB, free: 3.328 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01725/0.5329, allocations: 7.265 MB / 0.5182 GB, free: 80 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006905/0.5337, allocations: 247.6 kB / 0.5185 GB, free: 15.92 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009757/0.5346, allocations: 447.6 kB / 0.5189 GB, free: 15.64 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01621/0.5509, allocations: 5.036 MB / 0.5238 GB, free: 12.44 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.5509, allocations: 0 / 0.5238 GB, free: 12.44 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.5509, allocations: 0 / 0.5238 GB, free: 12.44 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.141e-05/0.5509, allocations: 0 / 0.5238 GB, free: 12.44 MB / 398.1 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.004936/0.5559, allocations: 1.538 MB / 0.5253 GB, free: 11.36 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.5559, allocations: 9.469 kB / 0.5253 GB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002174/0.5581, allocations: 317.9 kB / 0.5256 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000887/0.559, allocations: 0.5599 MB / 0.5262 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001213/0.5591, allocations: 117.1 kB / 0.5263 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/0.5593, allocations: 59.34 kB / 0.5263 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002719/0.562, allocations: 1.22 MB / 0.5275 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.022e-05/0.562, allocations: 4 kB / 0.5275 GB, free: 9.746 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.993e-05/0.5621, allocations: 31.98 kB / 0.5276 GB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001216/0.5623, allocations: 49.22 kB / 0.5276 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002627/0.5649, allocations: 1.063 MB / 0.5286 GB, free: 8.605 MB / 398.1 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.00684/0.5717, allocations: 5.634 MB / 0.5341 GB, free: 2.605 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00247/0.5742, allocations: 0.8017 MB / 0.5349 GB, free: 1.785 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006366/0.5749, allocations: 302.2 kB / 0.5352 GB, free: 1.484 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03634/0.6112, allocations: 15.98 MB / 0.5508 GB, free: 15.63 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.278e-05/0.6114, allocations: 42.52 kB / 0.5509 GB, free: 15.58 MB / 430.1 MB Notification: Performance of pre-optimization done (n=45): time 3.095e-06/0.6114, allocations: 0 / 0.5509 GB, free: 15.58 MB / 430.1 MB Notification: Performance of matching and sorting (n=49): time 0.007655/0.619, allocations: 2.371 MB / 0.5532 GB, free: 13.16 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/0.6192, allocations: 162.7 kB / 0.5533 GB, free: 12.96 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007958/0.62, allocations: 0.6093 MB / 0.5539 GB, free: 12.34 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.611e-05/0.62, allocations: 33.7 kB / 0.554 GB, free: 12.3 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002815/0.6203, allocations: 391.2 kB / 0.5543 GB, free: 11.91 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001499/0.6205, allocations: 181.5 kB / 0.5545 GB, free: 11.73 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.462e-05/0.6206, allocations: 69.62 kB / 0.5546 GB, free: 11.66 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.6208, allocations: 382.8 kB / 0.5549 GB, free: 11.28 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006355/0.6214, allocations: 297.8 kB / 0.5552 GB, free: 10.99 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000853/0.6223, allocations: 0.6122 MB / 0.5558 GB, free: 10.22 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001488/0.6238, allocations: 0.926 MB / 0.5567 GB, free: 9.148 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.032e-06/0.6238, allocations: 4 kB / 0.5567 GB, free: 9.145 MB / 430.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001904/0.6257, allocations: 0.9845 MB / 0.5577 GB, free: 8.152 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.6258, allocations: 8 kB / 0.5577 GB, free: 8.145 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/0.6258, allocations: 16.12 kB / 0.5577 GB, free: 8.129 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003009/0.6261, allocations: 64.81 kB / 0.5578 GB, free: 8.062 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/0.6274, allocations: 307.6 kB / 0.5581 GB, free: 7.762 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00154/0.6289, allocations: 1.988 MB / 0.56 GB, free: 5.621 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007142/0.6296, allocations: 83.94 kB / 0.5601 GB, free: 5.539 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.948e-05/0.6297, allocations: 40 kB / 0.5601 GB, free: 5.5 MB / 430.1 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.000405/0.6301, allocations: 276.6 kB / 0.5604 GB, free: 5.223 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/0.6303, allocations: 71.16 kB / 0.5605 GB, free: 5.152 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003182/0.6335, allocations: 2.585 MB / 0.563 GB, free: 2.559 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.215e-05/0.6335, allocations: 43.88 kB / 0.563 GB, free: 2.516 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.6335, allocations: 0 / 0.563 GB, free: 2.516 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.367e-06/0.6335, allocations: 3.984 kB / 0.563 GB, free: 2.512 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00452/0.6381, allocations: 3.796 MB / 0.5667 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.6381, allocations: 0 / 0.5667 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001099/0.6392, allocations: 243.7 kB / 0.567 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003945/0.6396, allocations: 88.77 kB / 0.567 GB, free: 14.31 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.44e-05/0.6396, allocations: 12 kB / 0.5671 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001375/0.641, allocations: 2.006 MB / 0.569 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.641, allocations: 0 / 0.569 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003002/0.644, allocations: 2.381 MB / 0.5713 GB, free: 9.746 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004907/0.6446, allocations: 323 kB / 0.5717 GB, free: 9.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.639e-05/0.6447, allocations: 12 kB / 0.5717 GB, free: 9.398 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005457/0.6452, allocations: 67.8 kB / 0.5717 GB, free: 9.332 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.6453, allocations: 52.42 kB / 0.5718 GB, free: 9.281 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.204e-05/0.6454, allocations: 23.92 kB / 0.5718 GB, free: 9.258 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000745/0.6461, allocations: 0.5615 MB / 0.5723 GB, free: 8.691 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6461, allocations: 4 kB / 0.5724 GB, free: 8.688 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004591/0.6507, allocations: 1.089 MB / 0.5734 GB, free: 7.598 MB / 446.1 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.006186/0.6569, allocations: 1.22 MB / 0.5746 GB, free: 6.375 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002673/0.6596, allocations: 1.108 MB / 0.5757 GB, free: 5.273 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.6597, allocations: 0 / 0.5757 GB, free: 5.273 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001633/0.6613, allocations: 0.8285 MB / 0.5765 GB, free: 4.445 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00242/0.6638, allocations: 379.9 kB / 0.5769 GB, free: 4.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004245/0.668, allocations: 3.077 MB / 0.5799 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008189/0.6688, allocations: 1.169 MB / 0.581 GB, free: 15.77 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00107/0.6699, allocations: 430 kB / 0.5814 GB, free: 15.34 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001623/0.6701, allocations: 67.44 kB / 0.5815 GB, free: 15.28 MB / 462.1 MB Notification: Performance of SimCode: time 1.103e-06/0.6701, allocations: 0 / 0.5815 GB, free: 15.28 MB / 462.1 MB Notification: Performance of Templates: time 0.06726/0.7374, allocations: 45.92 MB / 0.6263 GB, free: 1.367 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) 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","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches