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.001515/0.001515, allocations: 182.2 kB / 13.66 MB, free: 1.664 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.98/1.98, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001106/0.001106, allocations: 97.92 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.328e-05/3.35e-05, allocations: 8 kB / 321.5 MB, free: 17.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09478/0.09484, allocations: 47.58 MB / 369.1 MB, free: 2.184 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9102/1.005, allocations: 265 MB / 0.6193 GB, free: 57.98 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003074/1.005, allocations: 98.92 kB / 0.6193 GB, free: 57.92 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5335/1.539, allocations: 82.92 MB / 0.7003 GB, free: 126 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.723e-06/1.539, allocations: 2.25 kB / 0.7003 GB, free: 126 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.576e-05/1.539, allocations: 7.031 kB / 0.7003 GB, free: 126 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.0008149/1.54, allocations: 0.5122 MB / 0.7008 GB, free: 125.7 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/1.54, allocations: 9.594 kB / 0.7008 GB, free: 125.7 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000359/1.54, allocations: 40.38 kB / 0.7009 GB, free: 125.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005085/1.541, allocations: 284.9 kB / 0.7012 GB, free: 125.4 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.871e-05/1.541, allocations: 18.31 kB / 0.7012 GB, free: 125.4 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.295e-05/1.541, allocations: 27.8 kB / 0.7012 GB, free: 125.4 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006896/1.542, allocations: 305.8 kB / 0.7015 GB, free: 125.3 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/1.542, allocations: 1.344 kB / 0.7015 GB, free: 125.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.268e-05/1.542, allocations: 15.66 kB / 0.7015 GB, free: 125.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/1.542, allocations: 10.12 kB / 0.7015 GB, free: 125.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004771/1.542, allocations: 180.8 kB / 0.7017 GB, free: 125.3 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00257/1.545, allocations: 1.722 MB / 0.7034 GB, free: 124 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003357/1.545, allocations: 131 kB / 0.7035 GB, free: 124 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001573/1.545, allocations: 66.84 kB / 0.7036 GB, free: 124 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001812/1.546, allocations: 172.5 kB / 0.7037 GB, free: 123.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/1.546, allocations: 33.06 kB / 0.7038 GB, free: 123.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 2.595e-06/1.546, allocations: 4.656 kB / 0.7038 GB, free: 123.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=21): time 0.002443/1.548, allocations: 0.6788 MB / 0.7044 GB, free: 123.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.402e-05/1.548, allocations: 60.12 kB / 0.7045 GB, free: 123.4 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003875/1.549, allocations: 243.2 kB / 0.7047 GB, free: 123.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.762e-05/1.549, allocations: 32.27 kB / 0.7047 GB, free: 123.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/1.549, allocations: 249.2 kB / 0.705 GB, free: 123.1 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.772e-05/1.549, allocations: 78.64 kB / 0.7051 GB, free: 123 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.998e-05/1.549, allocations: 5.125 kB / 0.7051 GB, free: 123 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.509e-05/1.549, allocations: 334.7 kB / 0.7054 GB, free: 122.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001761/1.549, allocations: 65.11 kB / 0.7054 GB, free: 122.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002512/1.549, allocations: 184.7 kB / 0.7056 GB, free: 122.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002607/1.55, allocations: 106.8 kB / 0.7057 GB, free: 122.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/1.55, allocations: 1.891 kB / 0.7057 GB, free: 122.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007853/1.551, allocations: 309.2 kB / 0.706 GB, free: 122.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/1.551, allocations: 7.391 kB / 0.706 GB, free: 122.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/1.551, allocations: 4.125 kB / 0.706 GB, free: 122.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001631/1.551, allocations: 27.98 kB / 0.7061 GB, free: 122.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005765/1.551, allocations: 81.72 kB / 0.7061 GB, free: 122.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001106/1.552, allocations: 1.296 MB / 0.7074 GB, free: 121.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000465/1.553, allocations: 17.66 kB / 0.7074 GB, free: 121.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-05/1.553, allocations: 20.31 kB / 0.7074 GB, free: 121.3 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 () * 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.0001396/1.553, allocations: 125.8 kB / 0.7076 GB, free: 121.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.308e-05/1.553, allocations: 26.19 kB / 0.7076 GB, free: 121.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005993/1.554, allocations: 212.5 kB / 0.7078 GB, free: 121.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/1.554, allocations: 2.531 kB / 0.7078 GB, free: 121.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/1.554, allocations: 0 / 0.7078 GB, free: 121.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004449/1.554, allocations: 483.6 kB / 0.7082 GB, free: 120.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001651/1.556, allocations: 0.7646 MB / 0.709 GB, free: 120.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/1.556, allocations: 3.266 kB / 0.709 GB, free: 120.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003447/1.556, allocations: 47.17 kB / 0.709 GB, free: 120.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.304e-05/1.556, allocations: 5.062 kB / 0.709 GB, free: 120.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/1.556, allocations: 7.844 kB / 0.7091 GB, free: 120.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.217e-06/1.556, allocations: 7.219 kB / 0.7091 GB, free: 120.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.557, allocations: 4.406 kB / 0.7091 GB, free: 120.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007485/1.557, allocations: 0.4915 MB / 0.7095 GB, free: 119.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/1.557, allocations: 108.2 kB / 0.7096 GB, free: 119.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.592e-05/1.558, allocations: 9.141 kB / 0.7097 GB, free: 119.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004418/1.558, allocations: 19.12 kB / 0.7097 GB, free: 119.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.685e-05/1.558, allocations: 20.41 kB / 0.7097 GB, free: 119.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.698e-05/1.558, allocations: 19.84 kB / 0.7097 GB, free: 119.7 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003037/1.558, allocations: 197.6 kB / 0.7099 GB, free: 119.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.81e-07/1.558, allocations: 0 / 0.7099 GB, free: 119.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000747/1.559, allocations: 112 kB / 0.71 GB, free: 119.6 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 () * 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.0004764/1.56, allocations: 238.8 kB / 0.7102 GB, free: 119.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007228/1.56, allocations: 298.4 kB / 0.7105 GB, free: 119.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.563e-06/1.56, allocations: 1.188 kB / 0.7105 GB, free: 119.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001708/1.561, allocations: 71.89 kB / 0.7106 GB, free: 119.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001555/1.562, allocations: 156.1 kB / 0.7107 GB, free: 119.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/1.563, allocations: 467.5 kB / 0.7112 GB, free: 119.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002867/1.564, allocations: 0.7652 MB / 0.7119 GB, free: 118.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001411/1.564, allocations: 38.27 kB / 0.712 GB, free: 118.5 MB / 426.7 MB Notification: Performance of SimCode: time 1.303e-06/1.564, allocations: 0 / 0.712 GB, free: 118.5 MB / 426.7 MB Notification: Performance of Templates: time 0.01404/1.578, allocations: 5.818 MB / 0.7176 GB, free: 118.2 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