Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 222.9 MB / 241.6 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 112 kB / 291.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.5237/0.5237, allocations: 44.13 MB / 386.1 MB, free: 37.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001631/0.001631, allocations: 55.92 kB / 457.8 MB, free: 2.277 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3747/0.3763, allocations: 60.8 MB / 0.5064 GB, free: 38.27 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.03462/0.411, allocations: 40.26 MB / 0.5457 GB, free: 9.852 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02539/0.4364, allocations: 21.23 MB / 0.5665 GB, free: 10.95 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001338/0.4378, allocations: 33.34 kB / 0.5665 GB, free: 10.93 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001316/0.4392, allocations: 398.1 kB / 0.5669 GB, free: 10.72 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01617/0.4554, allocations: 4.166 MB / 0.5709 GB, free: 8.801 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008256/0.4636, allocations: 2.244 MB / 0.5731 GB, free: 7.578 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.005024/0.4687, allocations: 2.834 MB / 0.5759 GB, free: 6.117 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009167/0.4696, allocations: 421.7 kB / 0.5763 GB, free: 5.844 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01075/0.4804, allocations: 4.043 MB / 0.5802 GB, free: 3.371 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01201/0.4924, allocations: 5.441 MB / 0.5856 GB, free: 14.81 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002768/0.4927, allocations: 36 kB / 0.5856 GB, free: 14.77 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01625/0.509, allocations: 7.122 MB / 0.5925 GB, free: 7.645 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005712/0.5096, allocations: 255.2 kB / 0.5928 GB, free: 7.395 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009951/0.5106, allocations: 418 kB / 0.5932 GB, free: 6.984 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0148/0.5254, allocations: 4.947 MB / 0.598 GB, free: 2.027 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.5255, allocations: 0 / 0.598 GB, free: 2.027 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.5255, allocations: 0 / 0.598 GB, free: 2.027 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.266e-05/0.5255, allocations: 0 / 0.598 GB, free: 2.027 MB / 410.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.004797/0.5303, allocations: 1.621 MB / 0.5996 GB, free: 364 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.5304, allocations: 15.97 kB / 0.5996 GB, free: 348 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001347/0.5317, allocations: 223.8 kB / 0.5998 GB, free: 124 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009467/0.5327, allocations: 0.5442 MB / 0.6004 GB, free: 15.54 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001125/0.5328, allocations: 109.3 kB / 0.6005 GB, free: 15.42 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.5329, allocations: 68.11 kB / 0.6005 GB, free: 15.35 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001745/0.5347, allocations: 1.059 MB / 0.6016 GB, free: 14.18 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.844e-05/0.5347, allocations: 11.92 kB / 0.6016 GB, free: 14.17 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.786e-05/0.5348, allocations: 31.98 kB / 0.6016 GB, free: 14.14 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.193e-05/0.5349, allocations: 48.97 kB / 0.6017 GB, free: 14.09 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0015/0.5364, allocations: 0.8193 MB / 0.6025 GB, free: 13.27 MB / 426.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.005753/0.5421, allocations: 5.548 MB / 0.6079 GB, free: 7.355 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001149/0.5433, allocations: 0.531 MB / 0.6084 GB, free: 6.797 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003243/0.5436, allocations: 216 kB / 0.6086 GB, free: 6.578 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09928/0.6429, allocations: 47.47 MB / 0.6549 GB, free: 1.5 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.757e-05/0.643, allocations: 38.56 kB / 0.655 GB, free: 1.453 MB / 474.7 MB Notification: Performance of pre-optimization done (n=39): time 2.395e-06/0.643, allocations: 0 / 0.655 GB, free: 1.453 MB / 474.7 MB Notification: Performance of matching and sorting (n=44): time 0.005986/0.649, allocations: 2.126 MB / 0.6571 GB, free: 15.26 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.491e-05/0.6491, allocations: 207.8 kB / 0.6573 GB, free: 15.02 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007555/0.6499, allocations: 0.6367 MB / 0.6579 GB, free: 14.37 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.768e-05/0.6499, allocations: 33.7 kB / 0.6579 GB, free: 14.33 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002749/0.6502, allocations: 395.2 kB / 0.6583 GB, free: 13.94 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001335/0.6504, allocations: 165.7 kB / 0.6584 GB, free: 13.77 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002103/0.6506, allocations: 158.5 kB / 0.6586 GB, free: 13.61 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.6507, allocations: 378.8 kB / 0.659 GB, free: 13.23 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003986/0.6512, allocations: 233.9 kB / 0.6592 GB, free: 13 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000626/0.6518, allocations: 0.5822 MB / 0.6598 GB, free: 12.25 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009966/0.6528, allocations: 0.8677 MB / 0.6606 GB, free: 11.22 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.6528, allocations: 4 kB / 0.6606 GB, free: 11.21 MB / 490.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001384/0.6542, allocations: 0.8954 MB / 0.6615 GB, free: 10.31 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.6542, allocations: 15.94 kB / 0.6615 GB, free: 10.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/0.6543, allocations: 12.91 kB / 0.6615 GB, free: 10.28 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003124/0.6574, allocations: 276.5 kB / 0.6618 GB, free: 10.01 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/0.6585, allocations: 271.6 kB / 0.662 GB, free: 9.742 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001593/0.6601, allocations: 2.034 MB / 0.664 GB, free: 7.555 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006196/0.6608, allocations: 51.83 kB / 0.6641 GB, free: 7.504 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.208e-05/0.6608, allocations: 48.05 kB / 0.6641 GB, free: 7.457 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],volume.medium.phase,shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 92 * 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 {(2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003821/0.6612, allocations: 277.9 kB / 0.6644 GB, free: 7.176 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000169/0.6614, allocations: 75.16 kB / 0.6644 GB, free: 7.102 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002229/0.6636, allocations: 2.018 MB / 0.6664 GB, free: 5.066 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.198e-05/0.6637, allocations: 23.97 kB / 0.6664 GB, free: 5.043 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.6637, allocations: 96 / 0.6664 GB, free: 5.043 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.6637, allocations: 11.91 kB / 0.6664 GB, free: 5.031 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003352/0.6671, allocations: 2.991 MB / 0.6694 GB, free: 1.965 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.6671, allocations: 0 / 0.6694 GB, free: 1.965 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008749/0.668, allocations: 183.8 kB / 0.6695 GB, free: 1.785 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001676/0.6696, allocations: 311.8 kB / 0.6698 GB, free: 1.48 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.553e-05/0.6697, allocations: 12 kB / 0.6699 GB, free: 1.469 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001611/0.6713, allocations: 2.073 MB / 0.6719 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.6713, allocations: 4.188 kB / 0.6719 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4836/1.155, allocations: 66.64 MB / 0.737 GB, free: 132.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002588/1.155, allocations: 223.7 kB / 0.7372 GB, free: 132.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.818e-05/1.155, allocations: 39.67 kB / 0.7372 GB, free: 132.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000442/1.156, allocations: 31.92 kB / 0.7372 GB, free: 132.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.73e-05/1.156, allocations: 35.02 kB / 0.7373 GB, free: 132.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.011e-05/1.156, allocations: 20 kB / 0.7373 GB, free: 132.5 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005637/1.156, allocations: 0.5693 MB / 0.7379 GB, free: 131.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.41e-07/1.156, allocations: 0 / 0.7379 GB, free: 131.9 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01139/1.168, allocations: 3.729 MB / 0.7415 GB, free: 128.3 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 12 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 {(2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02348/1.191, allocations: 2.612 MB / 0.744 GB, free: 125.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002034/1.193, allocations: 0.9207 MB / 0.7449 GB, free: 125 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/1.193, allocations: 0 / 0.7449 GB, free: 125 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001083/1.195, allocations: 0.6437 MB / 0.7456 GB, free: 124.4 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002115/1.197, allocations: 376.4 kB / 0.7459 GB, free: 124 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004019/1.201, allocations: 3.571 MB / 0.7494 GB, free: 120.4 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005125/1.201, allocations: 1.151 MB / 0.7505 GB, free: 119.2 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0008092/1.202, allocations: 369.8 kB / 0.7509 GB, free: 118.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001786/1.202, allocations: 71.44 kB / 0.751 GB, free: 118.8 MB / 0.4948 GB Notification: Performance of SimCode: time 6.72e-07/1.202, allocations: 0 / 0.751 GB, free: 118.8 MB / 0.4948 GB Notification: Performance of Templates: time 0.4276/1.63, allocations: 163.2 MB / 0.9103 GB, free: 151.2 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_pT/WaterIF97_pT.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches