Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001494/0.001494, allocations: 181.2 kB / 17.01 MB, free: 5.121 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.536/1.536, allocations: 205.4 MB / 223.1 MB, free: 9.129 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.0008546/0.0008545, allocations: 93.48 kB / 271.5 MB, free: 8.379 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002463/0.0002462, allocations: 8 kB / 328.3 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2364/0.2367, allocations: 47.57 MB / 375.8 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5528/0.7895, allocations: 265.1 MB / 0.6259 GB, free: 7.793 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000363/0.79, allocations: 94.31 kB / 0.626 GB, free: 7.734 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3593/1.149, allocations: 83.33 MB / 0.7074 GB, free: 120.1 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.803e-06/1.149, allocations: 0 / 0.7074 GB, free: 120.1 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.792e-05/1.149, allocations: 4 kB / 0.7074 GB, free: 120.1 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.0006913/1.15, allocations: 0.5466 MB / 0.7079 GB, free: 119.5 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/1.15, allocations: 12.03 kB / 0.7079 GB, free: 119.5 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002519/1.15, allocations: 47.61 kB / 0.708 GB, free: 119.4 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003222/1.151, allocations: 282.8 kB / 0.7082 GB, free: 119.1 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/1.151, allocations: 16.56 kB / 0.7083 GB, free: 119.1 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.795e-05/1.151, allocations: 27.95 kB / 0.7083 GB, free: 119.1 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000412/1.151, allocations: 317.3 kB / 0.7086 GB, free: 118.7 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/1.151, allocations: 0 / 0.7086 GB, free: 118.7 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.457e-05/1.151, allocations: 12 kB / 0.7086 GB, free: 118.7 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/1.151, allocations: 4 kB / 0.7086 GB, free: 118.7 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002525/1.151, allocations: 189.5 kB / 0.7088 GB, free: 118.5 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001527/1.153, allocations: 1.721 MB / 0.7105 GB, free: 116.7 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/1.153, allocations: 134.5 kB / 0.7106 GB, free: 116.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001195/1.153, allocations: 178.2 kB / 0.7108 GB, free: 116.3 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/1.153, allocations: 30.56 kB / 0.7108 GB, free: 116.3 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 1.273e-06/1.153, allocations: 0 / 0.7108 GB, free: 116.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=21): time 0.001495/1.155, allocations: 0.8032 MB / 0.7116 GB, free: 115.4 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.869e-05/1.155, allocations: 55.59 kB / 0.7116 GB, free: 115.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002103/1.155, allocations: 245.8 kB / 0.7119 GB, free: 115.1 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/1.155, allocations: 29.7 kB / 0.7119 GB, free: 115.1 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.728e-05/1.155, allocations: 195.6 kB / 0.7121 GB, free: 114.9 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.522e-05/1.155, allocations: 78.89 kB / 0.7122 GB, free: 114.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.016e-05/1.155, allocations: 4 kB / 0.7122 GB, free: 114.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.85e-05/1.155, allocations: 342.8 kB / 0.7125 GB, free: 114.4 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.38e-05/1.155, allocations: 63.97 kB / 0.7125 GB, free: 114.4 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/1.156, allocations: 187.4 kB / 0.7127 GB, free: 114.1 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/1.156, allocations: 104 kB / 0.7128 GB, free: 114 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/1.156, allocations: 8 kB / 0.7128 GB, free: 114 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003839/1.156, allocations: 317.8 kB / 0.7131 GB, free: 113.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/1.156, allocations: 8.5 kB / 0.7131 GB, free: 113.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/1.156, allocations: 8 kB / 0.7131 GB, free: 113.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001196/1.156, allocations: 24.8 kB / 0.7132 GB, free: 113.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002825/1.157, allocations: 87.83 kB / 0.7133 GB, free: 113.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007533/1.157, allocations: 1.292 MB / 0.7145 GB, free: 112.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001846/1.158, allocations: 19.84 kB / 0.7145 GB, free: 112.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.906e-05/1.158, allocations: 23.98 kB / 0.7146 GB, free: 112.1 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.0001367/1.158, allocations: 157.7 kB / 0.7147 GB, free: 111.9 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.075e-05/1.158, allocations: 27.91 kB / 0.7147 GB, free: 111.9 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003086/1.158, allocations: 201.1 kB / 0.7149 GB, free: 111.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/1.158, allocations: 4 kB / 0.7149 GB, free: 111.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/1.158, allocations: 0 / 0.7149 GB, free: 111.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002841/1.158, allocations: 491.8 kB / 0.7154 GB, free: 111.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008488/1.159, allocations: 0.776 MB / 0.7162 GB, free: 110.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/1.159, allocations: 0 / 0.7162 GB, free: 110.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001629/1.159, allocations: 47.91 kB / 0.7162 GB, free: 110.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/1.16, allocations: 12.23 kB / 0.7162 GB, free: 110.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/1.16, allocations: 12 kB / 0.7162 GB, free: 110.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/1.16, allocations: 7.938 kB / 0.7162 GB, free: 110.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/1.16, allocations: 7.938 kB / 0.7162 GB, free: 110.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003656/1.16, allocations: 498.3 kB / 0.7167 GB, free: 109.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.759e-05/1.16, allocations: 108.7 kB / 0.7168 GB, free: 109.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.463e-05/1.16, allocations: 4 kB / 0.7168 GB, free: 109.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002471/1.16, allocations: 15.98 kB / 0.7168 GB, free: 109.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.733e-05/1.16, allocations: 24 kB / 0.7169 GB, free: 109.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.476e-05/1.16, allocations: 15.98 kB / 0.7169 GB, free: 109.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001532/1.161, allocations: 201.9 kB / 0.7171 GB, free: 109.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.161, allocations: 0 / 0.7171 GB, free: 109.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000469/1.161, allocations: 112 kB / 0.7172 GB, free: 109.1 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.000376/1.161, allocations: 233 kB / 0.7174 GB, free: 108.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004212/1.162, allocations: 302.3 kB / 0.7177 GB, free: 108.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/1.162, allocations: 0 / 0.7177 GB, free: 108.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.673e-05/1.162, allocations: 77.3 kB / 0.7178 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.0007592/1.163, allocations: 161.2 kB / 0.7179 GB, free: 108.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009092/1.164, allocations: 0.7424 MB / 0.7186 GB, free: 107.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001936/1.164, allocations: 0.768 MB / 0.7194 GB, free: 106.7 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002466/1.164, allocations: 59.2 kB / 0.7194 GB, free: 106.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.649e-05/1.164, allocations: 27.44 kB / 0.7195 GB, free: 106.7 MB / 426.7 MB Notification: Performance of SimCode: time 3.41e-07/1.164, allocations: 4 kB / 0.7195 GB, free: 106.6 MB / 426.7 MB Notification: Performance of Templates: time 0.0095/1.174, allocations: 6.459 MB / 0.7258 GB, free: 100.2 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins/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_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches