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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.0009229/0.000923, allocations: 172.2 kB / 16.76 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.445/1.445, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009503/0.0009502, allocations: 95.23 kB / 271.3 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3181/0.3181, allocations: 43.57 MB / 363.1 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003384/0.0003384, allocations: 8 kB / 432.6 MB, free: 5.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1183, allocations: 58.85 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.867/5.985, allocations: 2.796 GB / 3.276 GB, free: 79.05 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002555/5.985, allocations: 98.81 kB / 3.276 GB, free: 79 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.466/7.451, allocations: 480.2 MB / 3.745 GB, free: 13.84 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.903e-06/7.451, allocations: 0 / 3.745 GB, free: 13.84 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001124/7.451, allocations: 22.97 kB / 3.745 GB, free: 13.83 MB / 0.5105 GB 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.008178/7.459, allocations: 1.825 MB / 3.747 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/7.459, allocations: 8.031 kB / 3.747 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002525/7.462, allocations: 327.6 kB / 3.747 GB, free: 11.64 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001371/7.463, allocations: 0.6028 MB / 3.748 GB, free: 11 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001285/7.463, allocations: 121.2 kB / 3.748 GB, free: 10.88 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001523/7.464, allocations: 62.97 kB / 3.748 GB, free: 10.82 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002608/7.466, allocations: 1.211 MB / 3.749 GB, free: 9.504 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.651e-05/7.466, allocations: 7.875 kB / 3.749 GB, free: 9.496 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001296/7.466, allocations: 35.91 kB / 3.749 GB, free: 9.465 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.496e-05/7.466, allocations: 41.3 kB / 3.749 GB, free: 9.426 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002698/7.469, allocations: 1.051 MB / 3.75 GB, free: 8.375 MB / 0.5105 GB 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.006475/7.476, allocations: 5.621 MB / 3.756 GB, free: 2.422 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00203/7.478, allocations: 0.7918 MB / 3.756 GB, free: 1.613 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005211/7.478, allocations: 302.2 kB / 3.757 GB, free: 1.312 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3758/7.854, allocations: 15.72 MB / 3.772 GB, free: 38.01 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.386e-05/7.854, allocations: 37.03 kB / 3.772 GB, free: 37.97 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=45): time 2.605e-06/7.854, allocations: 0 / 3.772 GB, free: 37.97 MB / 0.5105 GB Notification: Performance of matching and sorting (n=49): time 0.007263/7.861, allocations: 2.362 MB / 3.774 GB, free: 37.59 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.189e-05/7.862, allocations: 160.8 kB / 3.775 GB, free: 37.41 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007561/7.862, allocations: 0.6076 MB / 3.775 GB, free: 37.28 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.594e-05/7.862, allocations: 37.92 kB / 3.775 GB, free: 37.25 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002247/7.863, allocations: 382.5 kB / 3.776 GB, free: 37.07 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000141/7.863, allocations: 174 kB / 3.776 GB, free: 36.98 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.253e-05/7.863, allocations: 15.41 kB / 3.776 GB, free: 36.98 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001074/7.863, allocations: 380.9 kB / 3.776 GB, free: 36.67 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005455/7.863, allocations: 290.2 kB / 3.776 GB, free: 36.67 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007119/7.864, allocations: 0.6158 MB / 3.777 GB, free: 36.27 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001263/7.865, allocations: 0.9226 MB / 3.778 GB, free: 35.89 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/7.865, allocations: 2.969 kB / 3.778 GB, free: 35.89 MB / 0.5105 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001758/7.867, allocations: 0.9812 MB / 3.779 GB, free: 35.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/7.867, allocations: 9.719 kB / 3.779 GB, free: 35.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/7.867, allocations: 10.25 kB / 3.779 GB, free: 35.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003011/7.868, allocations: 65.08 kB / 3.779 GB, free: 35.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/7.869, allocations: 310.6 kB / 3.779 GB, free: 35.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001308/7.87, allocations: 1.99 MB / 3.781 GB, free: 33.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009145/7.871, allocations: 81.52 kB / 3.781 GB, free: 33.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.707e-05/7.871, allocations: 41.62 kB / 3.781 GB, free: 33.95 MB / 0.5105 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 (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.0005091/7.872, allocations: 273.8 kB / 3.782 GB, free: 33.84 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000172/7.872, allocations: 74.12 kB / 3.782 GB, free: 33.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003166/7.875, allocations: 2.603 MB / 3.784 GB, free: 33.53 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.107e-05/7.875, allocations: 38.47 kB / 3.784 GB, free: 33.53 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/7.875, allocations: 0 / 3.784 GB, free: 33.53 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/7.875, allocations: 3.469 kB / 3.784 GB, free: 33.53 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004945/7.88, allocations: 3.803 MB / 3.788 GB, free: 33.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/7.88, allocations: 0.8438 kB / 3.788 GB, free: 33.06 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00108/7.881, allocations: 242.2 kB / 3.788 GB, free: 33.06 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004387/7.882, allocations: 87.36 kB / 3.788 GB, free: 33.05 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.243e-05/7.882, allocations: 16.41 kB / 3.788 GB, free: 33.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001373/7.883, allocations: 1.995 MB / 3.79 GB, free: 31.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/7.883, allocations: 0 / 3.79 GB, free: 31.21 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003516/7.887, allocations: 2.38 MB / 3.793 GB, free: 30.87 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007003/7.887, allocations: 330.1 kB / 3.793 GB, free: 30.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.745e-05/7.887, allocations: 13.77 kB / 3.793 GB, free: 30.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006015/7.888, allocations: 68.08 kB / 3.793 GB, free: 30.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001687/7.888, allocations: 52.12 kB / 3.793 GB, free: 30.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.218e-05/7.888, allocations: 22.84 kB / 3.793 GB, free: 30.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009552/7.889, allocations: 0.5507 MB / 3.794 GB, free: 30.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/7.889, allocations: 6.062 kB / 3.794 GB, free: 30.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007021/7.896, allocations: 1.125 MB / 3.795 GB, free: 30.6 MB / 0.5105 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 (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.007823/7.904, allocations: 1.548 MB / 3.796 GB, free: 30.48 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00244/7.907, allocations: 1.11 MB / 3.797 GB, free: 30.46 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/7.907, allocations: 3.656 kB / 3.797 GB, free: 30.46 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001375/7.908, allocations: 0.8212 MB / 3.798 GB, free: 30.46 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002098/7.91, allocations: 380.5 kB / 3.798 GB, free: 30.45 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003688/7.914, allocations: 3.036 MB / 3.801 GB, free: 29.24 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005274/7.914, allocations: 1.16 MB / 3.802 GB, free: 28.53 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0009417/7.915, allocations: 429.3 kB / 3.803 GB, free: 28.52 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001583/7.915, allocations: 72.2 kB / 3.803 GB, free: 28.51 MB / 0.5105 GB Notification: Performance of SimCode: time 6.21e-07/7.916, allocations: 1.094 kB / 3.803 GB, free: 28.51 MB / 0.5105 GB Notification: Performance of Templates: time 0.06708/7.983, allocations: 42.96 MB / 3.845 GB, free: 26.95 MB / 0.5105 GB 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/jenkins1/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