Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.001458/0.001463, allocations: 179.4 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.061/2.061, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001103/0.001103, allocations: 87.45 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.297/0.297, allocations: 43.49 MB / 353.6 MB, free: 2.258 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.715e-05/1.724e-05, allocations: 4.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4363/0.4363, allocations: 58.86 MB / 477.1 MB, free: 5.273 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.74/9.176, allocations: 2.795 GB / 3.261 GB, free: 96.28 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003177/9.177, allocations: 90.5 kB / 3.261 GB, free: 96.28 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 2.43/11.61, allocations: 0.4883 GB / 3.749 GB, free: 60.22 MB / 0.5108 GB Notification: Performance of FrontEnd: time 1.523e-06/11.61, allocations: 2.953 kB / 3.749 GB, free: 60.22 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 7.134e-05/11.61, allocations: 19.19 kB / 3.749 GB, free: 60.22 MB / 0.5108 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.007719/11.62, allocations: 1.76 MB / 3.751 GB, free: 59.43 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/11.62, allocations: 7.531 kB / 3.751 GB, free: 59.43 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003354/11.62, allocations: 326.5 kB / 3.751 GB, free: 59.38 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001758/11.62, allocations: 0.596 MB / 3.752 GB, free: 59.12 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001365/11.62, allocations: 97.28 kB / 3.752 GB, free: 59.06 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001353/11.62, allocations: 36.61 kB / 3.752 GB, free: 59.06 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001736/11.62, allocations: 0.7028 MB / 3.753 GB, free: 59.06 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001751/11.62, allocations: 0.886 MB / 3.754 GB, free: 58.76 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.852e-05/11.62, allocations: 1.312 kB / 3.754 GB, free: 58.76 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001139/11.62, allocations: 12.23 kB / 3.754 GB, free: 58.75 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.569e-05/11.62, allocations: 48.42 kB / 3.754 GB, free: 58.75 MB / 0.5108 GB Warning: The model contains alias variables with conflicting start and/or 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.1594/11.78, allocations: 52.89 MB / 3.805 GB, free: 25.49 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/11.78, allocations: 406.4 kB / 3.806 GB, free: 25.32 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003866/11.79, allocations: 181.8 kB / 3.806 GB, free: 25.24 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0263/11.81, allocations: 8.156 MB / 3.814 GB, free: 35.85 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.535e-05/11.81, allocations: 42.53 kB / 3.814 GB, free: 35.8 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=37): time 2.405e-06/11.81, allocations: 0 / 3.814 GB, free: 35.8 MB / 0.5265 GB Notification: Performance of matching and sorting (n=41): time 0.005494/11.82, allocations: 1.46 MB / 3.815 GB, free: 35.09 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.954e-05/11.82, allocations: 132.5 kB / 3.815 GB, free: 34.93 MB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007717/11.82, allocations: 476.4 kB / 3.816 GB, free: 34.7 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 6.039e-05/11.82, allocations: 27.2 kB / 3.816 GB, free: 34.66 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002874/11.82, allocations: 465.9 kB / 3.816 GB, free: 34.27 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/11.82, allocations: 142.8 kB / 3.816 GB, free: 34.17 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.706e-05/11.82, allocations: 0 / 3.816 GB, free: 34.17 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 0.000149/11.82, allocations: 341.6 kB / 3.817 GB, free: 33.84 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004788/11.82, allocations: 212.8 kB / 3.817 GB, free: 33.75 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006522/11.82, allocations: 0.5325 MB / 3.818 GB, free: 33.25 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009289/11.82, allocations: 318.6 kB / 3.818 GB, free: 33.13 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.136e-06/11.82, allocations: 7.672 kB / 3.818 GB, free: 33.13 MB / 0.5265 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001969/11.82, allocations: 0.7569 MB / 3.819 GB, free: 32.87 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/11.82, allocations: 15.52 kB / 3.819 GB, free: 32.86 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/11.82, allocations: 10.19 kB / 3.819 GB, free: 32.86 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002789/11.82, allocations: 61.19 kB / 3.819 GB, free: 32.84 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002369/11.83, allocations: 302.6 kB / 3.819 GB, free: 32.82 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002022/11.83, allocations: 1.942 MB / 3.821 GB, free: 30.94 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/11.83, allocations: 89.61 kB / 3.821 GB, free: 30.92 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/11.83, allocations: 42 kB / 3.821 GB, free: 30.91 MB / 0.5265 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.regularFlow[1],volume.regularFlow[2],volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase,volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete 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.0002814/11.83, allocations: 146.8 kB / 3.821 GB, free: 30.78 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000163/11.83, allocations: 62.41 kB / 3.821 GB, free: 30.75 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002947/11.83, allocations: 1.861 MB / 3.823 GB, free: 29.88 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.788e-05/11.83, allocations: 30.06 kB / 3.823 GB, free: 29.88 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/11.83, allocations: 0 / 3.823 GB, free: 29.88 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/11.83, allocations: 7.047 kB / 3.823 GB, free: 29.88 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004537/11.84, allocations: 2.852 MB / 3.826 GB, free: 28.45 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/11.84, allocations: 4.062 kB / 3.826 GB, free: 28.44 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001874/11.84, allocations: 211.3 kB / 3.826 GB, free: 28.37 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003608/11.84, allocations: 79.09 kB / 3.826 GB, free: 28.31 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.239e-05/11.84, allocations: 6.203 kB / 3.826 GB, free: 28.3 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001913/11.84, allocations: 1.979 MB / 3.828 GB, free: 26.25 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/11.84, allocations: 0 / 3.828 GB, free: 26.25 MB / 0.5265 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002861/11.84, allocations: 1.803 MB / 3.83 GB, free: 24.55 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005053/11.85, allocations: 230.8 kB / 3.83 GB, free: 24.32 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/11.85, allocations: 4 kB / 3.83 GB, free: 24.31 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008491/11.85, allocations: 43.73 kB / 3.83 GB, free: 24.28 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/11.85, allocations: 46.98 kB / 3.83 GB, free: 24.25 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.237e-05/11.85, allocations: 18.19 kB / 3.83 GB, free: 24.24 MB / 0.5265 GB Notification: Performance of sorting global known variables: time 0.0005802/11.85, allocations: 349.2 kB / 3.83 GB, free: 23.93 MB / 0.5265 GB Notification: Performance of sort global known variables: time 4.3e-07/11.85, allocations: 0 / 3.83 GB, free: 23.93 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.005419/11.85, allocations: 1.089 MB / 3.832 GB, free: 22.87 MB / 0.5265 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.h) * Number of discrete variables: 16 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.008994/11.86, allocations: 1.636 MB / 3.833 GB, free: 21.53 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.002567/11.86, allocations: 0.8606 MB / 3.834 GB, free: 20.74 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/11.86, allocations: 0.875 kB / 3.834 GB, free: 20.74 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 0.001852/11.87, allocations: 0.633 MB / 3.835 GB, free: 20.17 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002437/11.87, allocations: 278.5 kB / 3.835 GB, free: 19.98 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003404/11.87, allocations: 1.612 MB / 3.836 GB, free: 18.51 MB / 0.5265 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008098/11.87, allocations: 1.094 MB / 3.837 GB, free: 17.54 MB / 0.5265 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003348/11.87, allocations: 66.58 kB / 3.838 GB, free: 17.48 MB / 0.5265 GB Notification: Performance of SimCode: time 1.012e-06/11.87, allocations: 0 / 3.838 GB, free: 17.48 MB / 0.5265 GB Notification: Performance of Templates: time 0.4737/12.35, allocations: 39.46 MB / 3.876 GB, free: 78.93 MB / 0.5265 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches