Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001115/0.001115, allocations: 110.4 kB / 17.78 MB, free: 5.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 187.1 kB / 18.71 MB, free: 4.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 222.9 MB / 242.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2309/0.2309, allocations: 44.18 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001816/0.001816, allocations: 67.89 kB / 470.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3976/0.3994, allocations: 60.82 MB / 0.5189 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.03956/0.439, allocations: 39.03 MB / 0.557 GB, free: 4.902 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02235/0.4614, allocations: 20.15 MB / 0.5767 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009947/0.4624, allocations: 19.88 kB / 0.5767 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001236/0.4638, allocations: 449.3 kB / 0.5772 GB, free: 240 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01419/0.478, allocations: 5.105 MB / 0.5821 GB, free: 11.13 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00786/0.4858, allocations: 2.563 MB / 0.5846 GB, free: 8.566 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002843/0.4887, allocations: 1.985 MB / 0.5866 GB, free: 6.57 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007836/0.4895, allocations: 497.4 kB / 0.5871 GB, free: 6.07 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009648/0.4992, allocations: 4.172 MB / 0.5911 GB, free: 1.844 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01184/0.511, allocations: 5.44 MB / 0.5964 GB, free: 12.32 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002698/0.5113, allocations: 68 kB / 0.5965 GB, free: 12.25 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0147/0.5261, allocations: 7.387 MB / 0.6037 GB, free: 4.855 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004911/0.5266, allocations: 287.2 kB / 0.604 GB, free: 4.574 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006472/0.5272, allocations: 454 kB / 0.6044 GB, free: 4.129 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01206/0.5393, allocations: 5.095 MB / 0.6094 GB, free: 15.02 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.5394, allocations: 4 kB / 0.6094 GB, free: 15.02 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.847e-06/0.5394, allocations: 3.984 kB / 0.6094 GB, free: 15.02 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.23e-05/0.5394, allocations: 0 / 0.6094 GB, free: 15.02 MB / 478.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.00451/0.5439, allocations: 1.688 MB / 0.6111 GB, free: 13.28 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.63e-05/0.544, allocations: 8.031 kB / 0.6111 GB, free: 13.27 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002117/0.5461, allocations: 303.6 kB / 0.6114 GB, free: 12.97 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000976/0.5471, allocations: 0.5794 MB / 0.6119 GB, free: 12.35 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001245/0.5472, allocations: 125.2 kB / 0.612 GB, free: 12.21 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.5473, allocations: 60.11 kB / 0.6121 GB, free: 12.16 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002512/0.5499, allocations: 1.193 MB / 0.6133 GB, free: 10.86 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.666e-05/0.5499, allocations: 4 kB / 0.6133 GB, free: 10.86 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.948e-05/0.55, allocations: 28 kB / 0.6133 GB, free: 10.83 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.886e-05/0.5501, allocations: 45.23 kB / 0.6133 GB, free: 10.79 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002495/0.5526, allocations: 1.023 MB / 0.6143 GB, free: 9.762 MB / 478.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.007014/0.5596, allocations: 5.599 MB / 0.6198 GB, free: 3.789 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002321/0.5619, allocations: 0.7587 MB / 0.6205 GB, free: 3.012 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005693/0.5625, allocations: 289.6 kB / 0.6208 GB, free: 2.723 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03173/0.5943, allocations: 15.94 MB / 0.6364 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.348e-05/0.5943, allocations: 39.28 kB / 0.6364 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of pre-optimization done (n=45): time 2.605e-06/0.5944, allocations: 0 / 0.6364 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of matching and sorting (n=49): time 0.006718/0.6011, allocations: 2.278 MB / 0.6386 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.454e-05/0.6012, allocations: 162.7 kB / 0.6388 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00074/0.6019, allocations: 0.6015 MB / 0.6394 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.966e-05/0.602, allocations: 41.73 kB / 0.6394 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000264/0.6023, allocations: 399.1 kB / 0.6398 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/0.6024, allocations: 173.5 kB / 0.64 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002282/0.6027, allocations: 158.5 kB / 0.6401 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.6028, allocations: 378.8 kB / 0.6405 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006216/0.6035, allocations: 285.8 kB / 0.6408 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008363/0.6043, allocations: 0.6043 MB / 0.6414 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001459/0.6058, allocations: 0.9065 MB / 0.6422 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.696e-06/0.6058, allocations: 0 / 0.6422 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001816/0.6076, allocations: 0.9573 MB / 0.6432 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.6076, allocations: 8 kB / 0.6432 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/0.6077, allocations: 12 kB / 0.6432 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002722/0.6079, allocations: 68.84 kB / 0.6433 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/0.6092, allocations: 291.6 kB / 0.6435 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001567/0.6108, allocations: 2.077 MB / 0.6456 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005301/0.6114, allocations: 51.91 kB / 0.6456 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.448e-05/0.6114, allocations: 43.98 kB / 0.6457 GB, free: 6.809 MB / 0.4981 GB 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.0003676/0.6118, allocations: 273.6 kB / 0.6459 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001521/0.612, allocations: 79.08 kB / 0.646 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003237/0.6152, allocations: 2.539 MB / 0.6485 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.569e-05/0.6153, allocations: 39.94 kB / 0.6485 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.6153, allocations: 0 / 0.6485 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.6153, allocations: 3.984 kB / 0.6485 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004518/0.6198, allocations: 3.761 MB / 0.6522 GB, free: 24 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.6198, allocations: 0 / 0.6522 GB, free: 24 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001171/0.621, allocations: 227.7 kB / 0.6524 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003324/0.6214, allocations: 88.69 kB / 0.6525 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.986e-05/0.6214, allocations: 15.98 kB / 0.6525 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001511/0.6229, allocations: 2.09 MB / 0.6545 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.6229, allocations: 0 / 0.6545 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003222/0.6262, allocations: 2.343 MB / 0.6568 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000375/0.6266, allocations: 251.3 kB / 0.6571 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/0.6267, allocations: 39.53 kB / 0.6571 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004603/0.6271, allocations: 31.97 kB / 0.6571 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/0.6273, allocations: 48.48 kB / 0.6572 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.602e-05/0.6273, allocations: 27.92 kB / 0.6572 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008173/0.6282, allocations: 0.5576 MB / 0.6578 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6282, allocations: 0 / 0.6578 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003809/0.632, allocations: 1.093 MB / 0.6588 GB, free: 9.008 MB / 0.5137 GB 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.004446/0.6365, allocations: 1.22 MB / 0.66 GB, free: 7.793 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00262/0.6391, allocations: 1.108 MB / 0.6611 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.6391, allocations: 0 / 0.6611 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00162/0.6407, allocations: 0.8206 MB / 0.6619 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002047/0.6428, allocations: 413.6 kB / 0.6623 GB, free: 5.477 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003661/0.6465, allocations: 2.466 MB / 0.6647 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006828/0.6472, allocations: 1.169 MB / 0.6658 GB, free: 1.781 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008405/0.648, allocations: 434.1 kB / 0.6663 GB, free: 1.352 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001643/0.6482, allocations: 63.44 kB / 0.6663 GB, free: 1.289 MB / 0.5137 GB Notification: Performance of SimCode: time 7.01e-07/0.6482, allocations: 0 / 0.6663 GB, free: 1.289 MB / 0.5137 GB Notification: Performance of Templates: time 0.06769/0.7159, allocations: 47.31 MB / 0.7125 GB, free: 2.098 MB / 0.5606 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches