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.001008/0.001009, allocations: 94.28 kB / 16.98 MB, free: 5.934 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.0009736/0.0009737, allocations: 186.5 kB / 17.88 MB, free: 5.594 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.413/1.413, allocations: 223.2 MB / 241.8 MB, free: 14.62 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.1966/0.1966, allocations: 44.22 MB / 337.1 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003077/0.0003077, allocations: 9.594 kB / 409.5 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1247, allocations: 61.92 MB / 471.5 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.03252/0.1573, allocations: 33.1 MB / 0.4927 GB, free: 12.53 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2528/0.4101, allocations: 17.2 MB / 0.5095 GB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001246/0.4114, allocations: 26.42 kB / 0.5096 GB, free: 12.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001359/0.4128, allocations: 386.2 kB / 0.5099 GB, free: 12.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0134/0.4262, allocations: 4.004 MB / 0.5138 GB, free: 12.28 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006206/0.4324, allocations: 2.111 MB / 0.5159 GB, free: 12.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002114/0.4345, allocations: 1.15 MB / 0.517 GB, free: 12.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006668/0.4352, allocations: 418.9 kB / 0.5174 GB, free: 12.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01277/0.448, allocations: 6.295 MB / 0.5236 GB, free: 12.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01221/0.4602, allocations: 8.773 MB / 0.5321 GB, free: 11.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000212/0.4605, allocations: 36 kB / 0.5322 GB, free: 11.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01521/0.4757, allocations: 7.179 MB / 0.5392 GB, free: 6.027 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004964/0.4762, allocations: 227.8 kB / 0.5394 GB, free: 5.887 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004859/0.4767, allocations: 187.5 kB / 0.5396 GB, free: 5.766 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00669/0.4834, allocations: 3.46 MB / 0.543 GB, free: 2.828 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.4835, allocations: 3.844 kB / 0.543 GB, free: 2.828 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4835, allocations: 0 / 0.543 GB, free: 2.828 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.4835, allocations: 0 / 0.543 GB, free: 2.828 MB / 382.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.003326/0.4868, allocations: 1.541 MB / 0.5445 GB, free: 1.336 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.4869, allocations: 8.562 kB / 0.5445 GB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001958/0.4888, allocations: 319.1 kB / 0.5448 GB, free: 1.039 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006845/0.4895, allocations: 0.5364 MB / 0.5453 GB, free: 0.582 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.93e-05/0.4896, allocations: 112.6 kB / 0.5454 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.388e-05/0.4897, allocations: 62.61 kB / 0.5455 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002255/0.492, allocations: 1.211 MB / 0.5467 GB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.492, allocations: 2.906 kB / 0.5467 GB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.627e-05/0.4921, allocations: 32.25 kB / 0.5467 GB, free: 15.42 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.298e-05/0.4922, allocations: 46.83 kB / 0.5467 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002454/0.4946, allocations: 1.058 MB / 0.5478 GB, free: 14.61 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.006222/0.5009, allocations: 5.635 MB / 0.5533 GB, free: 9.387 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002327/0.5032, allocations: 0.7959 MB / 0.554 GB, free: 8.766 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03415/0.5374, allocations: 15.98 MB / 0.5697 GB, free: 7.211 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.556e-05/0.5375, allocations: 45.56 kB / 0.5697 GB, free: 7.164 MB / 414.1 MB Notification: Performance of pre-optimization done (n=45): time 2.946e-06/0.5375, allocations: 0 / 0.5697 GB, free: 7.164 MB / 414.1 MB Notification: Performance of matching and sorting (n=49): time 0.007596/0.5451, allocations: 2.367 MB / 0.572 GB, free: 5.242 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.944e-05/0.5453, allocations: 170.6 kB / 0.5722 GB, free: 5.039 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007351/0.546, allocations: 0.5986 MB / 0.5728 GB, free: 4.574 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.52e-05/0.5461, allocations: 37.58 kB / 0.5728 GB, free: 4.539 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002573/0.5463, allocations: 388 kB / 0.5732 GB, free: 4.262 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001444/0.5465, allocations: 177.1 kB / 0.5733 GB, free: 4.117 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.61e-05/0.5465, allocations: 19.12 kB / 0.5733 GB, free: 4.109 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.5467, allocations: 375.8 kB / 0.5737 GB, free: 3.762 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006146/0.5473, allocations: 287.8 kB / 0.574 GB, free: 3.566 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008254/0.5482, allocations: 0.6236 MB / 0.5746 GB, free: 2.902 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007251/0.5489, allocations: 374.7 kB / 0.5749 GB, free: 2.664 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.5489, allocations: 0 / 0.5749 GB, free: 2.664 MB / 414.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00181/0.5507, allocations: 0.9793 MB / 0.5759 GB, free: 1.969 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.745e-05/0.5508, allocations: 8 kB / 0.5759 GB, free: 1.961 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.5508, allocations: 15.75 kB / 0.5759 GB, free: 1.949 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003126/0.5511, allocations: 66.34 kB / 0.576 GB, free: 1.895 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/0.5525, allocations: 311.4 kB / 0.5763 GB, free: 1.613 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001555/0.554, allocations: 1.991 MB / 0.5782 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007046/0.5547, allocations: 80.77 kB / 0.5783 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.179e-05/0.5548, allocations: 44.98 kB / 0.5783 GB, free: 15.47 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 (volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003858/0.5552, allocations: 281.1 kB / 0.5786 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.5554, allocations: 71.2 kB / 0.5787 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003085/0.5585, allocations: 2.607 MB / 0.5812 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.872e-05/0.5585, allocations: 31.2 kB / 0.5813 GB, free: 13.42 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.5585, allocations: 4.859 kB / 0.5813 GB, free: 13.42 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.5585, allocations: 0 / 0.5813 GB, free: 13.42 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004353/0.5629, allocations: 3.794 MB / 0.585 GB, free: 10.85 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.5629, allocations: 0 / 0.585 GB, free: 10.85 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001188/0.5641, allocations: 241.8 kB / 0.5852 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003898/0.5645, allocations: 85.78 kB / 0.5853 GB, free: 10.56 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.533e-05/0.5646, allocations: 18.61 kB / 0.5853 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001523/0.5661, allocations: 2.018 MB / 0.5873 GB, free: 8.449 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.5661, allocations: 3.953 kB / 0.5873 GB, free: 8.445 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003066/0.5692, allocations: 2.384 MB / 0.5896 GB, free: 6.039 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004454/0.5696, allocations: 342.2 kB / 0.5899 GB, free: 5.688 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.5698, allocations: 8 kB / 0.5899 GB, free: 5.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005421/0.5703, allocations: 71.75 kB / 0.59 GB, free: 5.609 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.5704, allocations: 44.48 kB / 0.59 GB, free: 5.562 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.181e-05/0.5705, allocations: 26.72 kB / 0.5901 GB, free: 5.539 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006931/0.5712, allocations: 0.5498 MB / 0.5906 GB, free: 4.988 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.5712, allocations: 0 / 0.5906 GB, free: 4.988 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003161/0.5743, allocations: 1.097 MB / 0.5917 GB, free: 3.891 MB / 430.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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.00404/0.5784, allocations: 1.211 MB / 0.5929 GB, free: 2.785 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002496/0.5809, allocations: 1.108 MB / 0.5939 GB, free: 1.719 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.5809, allocations: 0 / 0.5939 GB, free: 1.719 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001514/0.5824, allocations: 0.8163 MB / 0.5947 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001901/0.5844, allocations: 367.8 kB / 0.5951 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003835/0.5882, allocations: 3.032 MB / 0.5981 GB, free: 13.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007632/0.589, allocations: 1.189 MB / 0.5992 GB, free: 12.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009878/0.59, allocations: 441.9 kB / 0.5996 GB, free: 11.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001506/0.5901, allocations: 63.44 kB / 0.5997 GB, free: 11.81 MB / 446.1 MB Notification: Performance of SimCode: time 1.203e-06/0.5902, allocations: 0 / 0.5997 GB, free: 11.81 MB / 446.1 MB Notification: Performance of Templates: time 0.06723/0.6574, allocations: 46.06 MB / 0.6447 GB, free: 13.96 MB / 494.1 MB 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","../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