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.001504/0.001504, allocations: 186 kB / 16.4 MB, free: 5.746 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.981/1.981, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001172/0.001172, allocations: 97.98 kB / 270.9 MB, free: 8.367 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.5127/0.5127, allocations: 43.56 MB / 362.7 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004858/0.0004859, allocations: 16 kB / 431.4 MB, free: 6.152 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1251, allocations: 58.84 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.568/8.693, allocations: 2.796 GB / 3.274 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004074/8.694, allocations: 102.4 kB / 3.274 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.784/11.48, allocations: 0.4946 GB / 3.769 GB, free: 52.73 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.036e-06/11.48, allocations: 0 / 3.769 GB, free: 52.73 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.028e-05/11.48, allocations: 25.33 kB / 3.769 GB, free: 52.73 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.008719/11.49, allocations: 1.835 MB / 3.771 GB, free: 51.9 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/11.49, allocations: 14.16 kB / 3.771 GB, free: 51.9 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003604/11.49, allocations: 334.3 kB / 3.771 GB, free: 51.86 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001753/11.49, allocations: 0.5899 MB / 3.772 GB, free: 51.6 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001442/11.49, allocations: 117.1 kB / 3.772 GB, free: 51.54 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001563/11.49, allocations: 57.31 kB / 3.772 GB, free: 51.54 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00399/11.5, allocations: 1.22 MB / 3.773 GB, free: 51.23 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.061e-05/11.5, allocations: 6.25 kB / 3.773 GB, free: 51.23 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001336/11.5, allocations: 27.55 kB / 3.773 GB, free: 51.23 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.331e-05/11.5, allocations: 52.16 kB / 3.773 GB, free: 51.23 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004058/11.5, allocations: 1.045 MB / 3.774 GB, free: 51.22 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.008635/11.51, allocations: 5.615 MB / 3.78 GB, free: 47.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003644/11.51, allocations: 0.7985 MB / 3.781 GB, free: 47.45 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04955/11.56, allocations: 15.72 MB / 3.796 GB, free: 37.96 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.39e-05/11.56, allocations: 41.12 kB / 3.796 GB, free: 37.92 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=45): time 3.046e-06/11.56, allocations: 0 / 3.796 GB, free: 37.92 MB / 0.5105 GB Notification: Performance of matching and sorting (n=49): time 0.01074/11.57, allocations: 2.37 MB / 3.798 GB, free: 37.43 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.763e-05/11.57, allocations: 164.2 kB / 3.798 GB, free: 37.25 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009596/11.57, allocations: 0.5408 MB / 3.799 GB, free: 37.11 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.039e-05/11.57, allocations: 38.92 kB / 3.799 GB, free: 37.07 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002581/11.58, allocations: 412.9 kB / 3.799 GB, free: 36.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001844/11.58, allocations: 172.5 kB / 3.8 GB, free: 36.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.762e-05/11.58, allocations: 15.34 kB / 3.8 GB, free: 36.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.979e-05/11.58, allocations: 341.4 kB / 3.8 GB, free: 36.39 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001074/11.58, allocations: 288.8 kB / 3.8 GB, free: 36.39 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001242/11.58, allocations: 0.6082 MB / 3.801 GB, free: 35.98 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00117/11.58, allocations: 387.3 kB / 3.801 GB, free: 35.98 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.597e-06/11.58, allocations: 3.875 kB / 3.801 GB, free: 35.98 MB / 0.5105 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002963/11.58, allocations: 0.9401 MB / 3.802 GB, free: 35.84 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.4e-05/11.58, allocations: 14.56 kB / 3.802 GB, free: 35.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.741e-05/11.58, allocations: 14.2 kB / 3.802 GB, free: 35.84 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004392/11.58, allocations: 68.42 kB / 3.802 GB, free: 35.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002443/11.59, allocations: 307.7 kB / 3.802 GB, free: 35.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001676/11.59, allocations: 1.986 MB / 3.804 GB, free: 33.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/11.59, allocations: 84.42 kB / 3.804 GB, free: 33.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.992e-05/11.59, allocations: 41.33 kB / 3.804 GB, free: 33.84 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.0006047/11.59, allocations: 270.7 kB / 3.805 GB, free: 33.64 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001912/11.59, allocations: 78.89 kB / 3.805 GB, free: 33.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004569/11.59, allocations: 2.607 MB / 3.807 GB, free: 32.43 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.462e-05/11.59, allocations: 36.77 kB / 3.807 GB, free: 32.42 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/11.59, allocations: 3.281 kB / 3.807 GB, free: 32.42 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/11.59, allocations: 3.844 kB / 3.807 GB, free: 32.42 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006436/11.6, allocations: 3.794 MB / 3.811 GB, free: 30.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/11.6, allocations: 3.406 kB / 3.811 GB, free: 30.62 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002132/11.6, allocations: 238.9 kB / 3.811 GB, free: 30.61 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006136/11.6, allocations: 95.23 kB / 3.811 GB, free: 30.58 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.647e-05/11.6, allocations: 15.23 kB / 3.811 GB, free: 30.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001621/11.6, allocations: 2.003 MB / 3.813 GB, free: 28.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/11.6, allocations: 1.188 kB / 3.813 GB, free: 28.62 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004566/11.61, allocations: 2.382 MB / 3.816 GB, free: 27.47 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006696/11.61, allocations: 337.3 kB / 3.816 GB, free: 27.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001742/11.61, allocations: 15.39 kB / 3.816 GB, free: 27.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000957/11.61, allocations: 58.72 kB / 3.816 GB, free: 27.21 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001648/11.61, allocations: 52.64 kB / 3.816 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.98e-05/11.61, allocations: 21.7 kB / 3.816 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001057/11.61, allocations: 0.5552 MB / 3.817 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.31e-07/11.61, allocations: 0 / 3.817 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006203/11.62, allocations: 1.139 MB / 3.818 GB, free: 26.74 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.01021/11.63, allocations: 1.552 MB / 3.819 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003745/11.63, allocations: 1.091 MB / 3.82 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/11.63, allocations: 0 / 3.82 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002272/11.64, allocations: 0.8093 MB / 3.821 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003211/11.64, allocations: 373.1 kB / 3.822 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005409/11.64, allocations: 3.068 MB / 3.825 GB, free: 24.01 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007136/11.64, allocations: 1.182 MB / 3.826 GB, free: 23.27 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003614/11.64, allocations: 73.72 kB / 3.826 GB, free: 23.26 MB / 0.5105 GB Notification: Performance of SimCode: time 1.032e-06/11.64, allocations: 0 / 3.826 GB, free: 23.26 MB / 0.5105 GB Notification: Performance of Templates: time 0.07662/11.72, allocations: 42.24 MB / 3.867 GB, free: 8.926 MB / 0.5105 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