Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_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.WaterIF97OnePhase_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.WaterIF97OnePhase_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_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.WaterIF97OnePhase_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001608/0.001608, allocations: 112.9 kB / 18.46 MB, free: 4.598 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.001888/0.001888, allocations: 183 kB / 19.38 MB, free: 3.68 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.516/1.516, allocations: 222.9 MB / 243.1 MB, free: 15.06 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.2363/0.2363, allocations: 44.19 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 55.91 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3678/0.3693, allocations: 60.82 MB / 0.5196 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.04041/0.4098, allocations: 39.03 MB / 0.5577 GB, free: 4.918 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02427/0.4341, allocations: 20.15 MB / 0.5774 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008556/0.435, allocations: 19.88 kB / 0.5774 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001238/0.4363, allocations: 449.3 kB / 0.5778 GB, free: 248 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01601/0.4523, allocations: 5.128 MB / 0.5828 GB, free: 11.11 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008931/0.4613, allocations: 2.567 MB / 0.5853 GB, free: 8.547 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003213/0.4645, allocations: 2.001 MB / 0.5873 GB, free: 6.535 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00121/0.4657, allocations: 497.5 kB / 0.5878 GB, free: 6.035 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0102/0.476, allocations: 4.18 MB / 0.5919 GB, free: 1.801 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01226/0.4882, allocations: 5.432 MB / 0.5972 GB, free: 12.28 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003079/0.4886, allocations: 72 kB / 0.5972 GB, free: 12.21 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01653/0.5051, allocations: 7.387 MB / 0.6044 GB, free: 4.816 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009167/0.5061, allocations: 299.1 kB / 0.6047 GB, free: 4.523 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001504/0.5076, allocations: 454 kB / 0.6052 GB, free: 4.078 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01668/0.5243, allocations: 5.118 MB / 0.6102 GB, free: 14.95 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.5244, allocations: 0 / 0.6102 GB, free: 14.95 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.5244, allocations: 0 / 0.6102 GB, free: 14.95 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.283e-05/0.5244, allocations: 0 / 0.6102 GB, free: 14.95 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.005219/0.5297, allocations: 1.663 MB / 0.6118 GB, free: 13.24 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.5297, allocations: 8.031 kB / 0.6118 GB, free: 13.23 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002401/0.5321, allocations: 299.7 kB / 0.6121 GB, free: 12.94 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001196/0.5334, allocations: 0.5988 MB / 0.6127 GB, free: 12.3 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001277/0.5335, allocations: 113.2 kB / 0.6128 GB, free: 12.17 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/0.5336, allocations: 60.12 kB / 0.6128 GB, free: 12.11 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002558/0.5362, allocations: 1.15 MB / 0.6139 GB, free: 10.86 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.48e-05/0.5362, allocations: 8 kB / 0.614 GB, free: 10.86 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/0.5363, allocations: 28 kB / 0.614 GB, free: 10.83 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-05/0.5364, allocations: 49.22 kB / 0.614 GB, free: 10.78 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001885/0.5383, allocations: 0.8401 MB / 0.6148 GB, free: 9.938 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.00705/0.5454, allocations: 5.493 MB / 0.6202 GB, free: 4.066 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00133/0.5467, allocations: 0.5803 MB / 0.6208 GB, free: 3.469 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000371/0.5471, allocations: 225.6 kB / 0.621 GB, free: 3.242 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1007/0.6479, allocations: 46.4 MB / 0.6663 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.835e-05/0.648, allocations: 42.55 kB / 0.6663 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=42): time 2.755e-06/0.648, allocations: 4 kB / 0.6663 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of matching and sorting (n=46): time 0.005535/0.6535, allocations: 1.93 MB / 0.6682 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.216e-05/0.6536, allocations: 158.2 kB / 0.6684 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007542/0.6544, allocations: 0.621 MB / 0.669 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.973e-05/0.6544, allocations: 37.64 kB / 0.669 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002627/0.6547, allocations: 391.2 kB / 0.6694 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001385/0.6549, allocations: 173.7 kB / 0.6696 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002311/0.6551, allocations: 154.5 kB / 0.6697 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.6553, allocations: 378.8 kB / 0.6701 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003941/0.6557, allocations: 229.9 kB / 0.6703 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006572/0.6563, allocations: 0.5756 MB / 0.6709 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/0.6574, allocations: 0.8368 MB / 0.6717 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-06/0.6574, allocations: 7.984 kB / 0.6717 GB, free: 9.559 MB / 0.5294 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001396/0.6588, allocations: 0.8631 MB / 0.6725 GB, free: 8.684 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.6588, allocations: 12 kB / 0.6725 GB, free: 8.672 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/0.6589, allocations: 12 kB / 0.6725 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002803/0.6592, allocations: 57.48 kB / 0.6726 GB, free: 8.602 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/0.6604, allocations: 291.5 kB / 0.6729 GB, free: 8.316 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001564/0.662, allocations: 2.07 MB / 0.6749 GB, free: 6.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004933/0.6625, allocations: 35.92 kB / 0.6749 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.947e-05/0.6625, allocations: 44.12 kB / 0.675 GB, free: 6.012 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 10 (volume.medium.phase,ambient.medium.phase,fixedMassFlowRate.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 (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.0003931/0.6629, allocations: 271.7 kB / 0.6752 GB, free: 5.738 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000183/0.6631, allocations: 71.16 kB / 0.6753 GB, free: 5.668 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002437/0.6656, allocations: 2.204 MB / 0.6775 GB, free: 3.449 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.6656, allocations: 4.031 kB / 0.6775 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.6656, allocations: 0 / 0.6775 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003353/0.6659, allocations: 251.3 kB / 0.6777 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/0.6661, allocations: 23.75 kB / 0.6777 GB, free: 3.156 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005223/0.6666, allocations: 31.97 kB / 0.6778 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.718e-05/0.6667, allocations: 32.39 kB / 0.6778 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002187/0.6689, allocations: 1.396 MB / 0.6791 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002127/0.671, allocations: 1.942 MB / 0.681 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005873/0.6716, allocations: 0.536 MB / 0.6816 GB, free: 15.18 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006122/0.6722, allocations: 0.5068 MB / 0.6821 GB, free: 14.67 MB / 0.545 GB Notification: Performance of Backend: time 3.31e-07/0.6722, allocations: 0 / 0.6821 GB, free: 14.67 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008394/0.6806, allocations: 2.061 MB / 0.6841 GB, free: 12.62 MB / 0.545 GB Notification: Performance of SimCode: time 0.004445/0.6851, allocations: 2.394 MB / 0.6864 GB, free: 10.18 MB / 0.545 GB Notification: Performance of Templates: time 0.3212/1.006, allocations: 51.19 MB / 0.7364 GB, free: 195.7 MB / 0.5762 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97OnePhase_ph/WaterIF97OnePhase_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches