Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.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) 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(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001478/0.001478, allocations: 188.4 kB / 16.41 MB, free: 5.723 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.968/1.968, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001136/0.001136, allocations: 88.39 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003931/0.0003932, allocations: 19.98 kB / 327 MB, free: 184 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3374, allocations: 47.56 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6383/0.9757, allocations: 265.1 MB / 0.6247 GB, free: 7.832 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003816/0.9762, allocations: 98.42 kB / 0.6248 GB, free: 7.77 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5378/1.514, allocations: 83.34 MB / 0.7061 GB, free: 120.2 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.835e-06/1.514, allocations: 0 / 0.7061 GB, free: 120.2 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.674e-05/1.514, allocations: 8 kB / 0.7061 GB, free: 120.2 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001049/1.515, allocations: 0.5388 MB / 0.7067 GB, free: 119.6 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/1.515, allocations: 15.97 kB / 0.7067 GB, free: 119.6 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004544/1.516, allocations: 39.62 kB / 0.7067 GB, free: 119.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005495/1.516, allocations: 278.8 kB / 0.707 GB, free: 119.2 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/1.516, allocations: 16.56 kB / 0.707 GB, free: 119.2 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.086e-05/1.516, allocations: 31.94 kB / 0.707 GB, free: 119.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006996/1.517, allocations: 313.3 kB / 0.7073 GB, free: 118.8 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.422e-05/1.517, allocations: 4 kB / 0.7073 GB, free: 118.8 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.879e-05/1.517, allocations: 16 kB / 0.7074 GB, free: 118.8 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/1.517, allocations: 4 kB / 0.7074 GB, free: 118.8 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004547/1.518, allocations: 185.5 kB / 0.7075 GB, free: 118.6 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002686/1.52, allocations: 1.725 MB / 0.7092 GB, free: 116.7 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003323/1.521, allocations: 126.6 kB / 0.7093 GB, free: 116.6 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001936/1.521, allocations: 174.2 kB / 0.7095 GB, free: 116.4 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/1.521, allocations: 34.5 kB / 0.7095 GB, free: 116.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 3.156e-06/1.521, allocations: 4 kB / 0.7095 GB, free: 116.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=21): time 0.002799/1.524, allocations: 0.7991 MB / 0.7103 GB, free: 115.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/1.524, allocations: 55.59 kB / 0.7104 GB, free: 115.4 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003673/1.524, allocations: 241.8 kB / 0.7106 GB, free: 115.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.926e-05/1.524, allocations: 33.69 kB / 0.7106 GB, free: 115.1 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/1.525, allocations: 254 kB / 0.7109 GB, free: 114.9 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.381e-05/1.525, allocations: 78.92 kB / 0.711 GB, free: 114.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.128e-05/1.525, allocations: 4 kB / 0.711 GB, free: 114.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.622e-05/1.525, allocations: 334.8 kB / 0.7113 GB, free: 114.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/1.525, allocations: 67.91 kB / 0.7113 GB, free: 114.4 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002307/1.525, allocations: 183.4 kB / 0.7115 GB, free: 114.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002499/1.525, allocations: 104 kB / 0.7116 GB, free: 114.1 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/1.525, allocations: 4 kB / 0.7116 GB, free: 114.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007483/1.526, allocations: 313.9 kB / 0.7119 GB, free: 113.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/1.526, allocations: 4 kB / 0.7119 GB, free: 113.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/1.526, allocations: 4 kB / 0.7119 GB, free: 113.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000132/1.526, allocations: 24.84 kB / 0.712 GB, free: 113.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005716/1.527, allocations: 88.33 kB / 0.712 GB, free: 113.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001272/1.528, allocations: 1.307 MB / 0.7133 GB, free: 112.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004624/1.529, allocations: 20.19 kB / 0.7133 GB, free: 112.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.783e-05/1.529, allocations: 16 kB / 0.7133 GB, free: 112.2 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 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.0002626/1.529, allocations: 157.7 kB / 0.7135 GB, free: 112 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.264e-05/1.529, allocations: 31.66 kB / 0.7135 GB, free: 112 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005562/1.53, allocations: 207.3 kB / 0.7137 GB, free: 111.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/1.53, allocations: 4 kB / 0.7137 GB, free: 111.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/1.53, allocations: 0 / 0.7137 GB, free: 111.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004127/1.53, allocations: 495.8 kB / 0.7142 GB, free: 111.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001654/1.532, allocations: 0.7683 MB / 0.715 GB, free: 110.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/1.532, allocations: 4 kB / 0.715 GB, free: 110.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003326/1.532, allocations: 47.86 kB / 0.715 GB, free: 110.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.105e-05/1.532, allocations: 7.953 kB / 0.715 GB, free: 110.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.154e-05/1.532, allocations: 8 kB / 0.715 GB, free: 110.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.784e-06/1.532, allocations: 7.984 kB / 0.715 GB, free: 110.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/1.532, allocations: 3.938 kB / 0.715 GB, free: 110.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006735/1.533, allocations: 0.4984 MB / 0.7155 GB, free: 109.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/1.533, allocations: 104.8 kB / 0.7156 GB, free: 109.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.578e-05/1.533, allocations: 8 kB / 0.7156 GB, free: 109.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004307/1.534, allocations: 15.98 kB / 0.7156 GB, free: 109.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.853e-05/1.534, allocations: 15.94 kB / 0.7157 GB, free: 109.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.983e-05/1.534, allocations: 20.05 kB / 0.7157 GB, free: 109.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002747/1.534, allocations: 198 kB / 0.7159 GB, free: 109.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.11e-07/1.534, allocations: 0 / 0.7159 GB, free: 109.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007342/1.535, allocations: 112 kB / 0.716 GB, free: 109.2 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004762/1.535, allocations: 235 kB / 0.7162 GB, free: 108.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007249/1.536, allocations: 302.2 kB / 0.7165 GB, free: 108.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/1.536, allocations: 0 / 0.7165 GB, free: 108.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000162/1.536, allocations: 73.28 kB / 0.7166 GB, free: 108.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001565/1.538, allocations: 164.2 kB / 0.7167 GB, free: 108.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001481/1.54, allocations: 0.7674 MB / 0.7175 GB, free: 107.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/1.54, allocations: 0.7719 MB / 0.7182 GB, free: 106.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/1.54, allocations: 31.44 kB / 0.7182 GB, free: 106.7 MB / 426.7 MB Notification: Performance of SimCode: time 1.212e-06/1.54, allocations: 0 / 0.7182 GB, free: 106.7 MB / 426.7 MB Notification: Performance of Templates: time 0.01317/1.553, allocations: 5.815 MB / 0.7239 GB, free: 100.9 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Water/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches