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.001266/0.001266, allocations: 182.9 kB / 17.41 MB, free: 4.406 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.534/1.534, allocations: 205.4 MB / 223.6 MB, free: 9.031 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.0008947/0.0008948, allocations: 100.7 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005703/0.0005705, allocations: 8 kB / 328.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2833/0.2839, allocations: 47.58 MB / 375.7 MB, free: 45.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4644/0.7484, allocations: 265.2 MB / 0.6259 GB, free: 7.516 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002727/0.7487, allocations: 95.88 kB / 0.626 GB, free: 7.457 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3305/1.079, allocations: 82.58 MB / 0.7066 GB, free: 120.5 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.643e-06/1.079, allocations: 4 kB / 0.7066 GB, free: 120.5 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.947e-05/1.079, allocations: 8 kB / 0.7066 GB, free: 120.5 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.0007142/1.08, allocations: 0.5312 MB / 0.7071 GB, free: 120 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/1.08, allocations: 12.03 kB / 0.7072 GB, free: 119.9 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002697/1.08, allocations: 44.55 kB / 0.7072 GB, free: 119.9 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003097/1.081, allocations: 284.1 kB / 0.7075 GB, free: 119.6 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/1.081, allocations: 16.94 kB / 0.7075 GB, free: 119.6 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.777e-05/1.081, allocations: 24.38 kB / 0.7075 GB, free: 119.5 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004015/1.081, allocations: 318 kB / 0.7078 GB, free: 119.2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/1.081, allocations: 4.188 kB / 0.7078 GB, free: 119.2 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.642e-05/1.081, allocations: 15.94 kB / 0.7078 GB, free: 119.2 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/1.081, allocations: 12 kB / 0.7078 GB, free: 119.2 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002633/1.082, allocations: 185.5 kB / 0.708 GB, free: 119 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001433/1.083, allocations: 1.733 MB / 0.7097 GB, free: 117.1 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/1.083, allocations: 130.5 kB / 0.7098 GB, free: 117 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.273e-05/1.083, allocations: 68.88 kB / 0.7099 GB, free: 116.9 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001056/1.083, allocations: 166.2 kB / 0.7101 GB, free: 116.7 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/1.083, allocations: 42.5 kB / 0.7101 GB, free: 116.6 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 1.313e-06/1.083, allocations: 0 / 0.7101 GB, free: 116.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=21): time 0.001471/1.085, allocations: 0.8032 MB / 0.7109 GB, free: 115.8 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.184e-05/1.085, allocations: 51.41 kB / 0.7109 GB, free: 115.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002141/1.085, allocations: 282.5 kB / 0.7112 GB, free: 115.4 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/1.085, allocations: 29.7 kB / 0.7112 GB, free: 115.4 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.653e-05/1.085, allocations: 199.5 kB / 0.7114 GB, free: 115.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.484e-05/1.085, allocations: 75 kB / 0.7115 GB, free: 115.1 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.272e-05/1.085, allocations: 8 kB / 0.7115 GB, free: 115.1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.94e-05/1.085, allocations: 342.8 kB / 0.7118 GB, free: 114.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.958e-05/1.085, allocations: 59.97 kB / 0.7119 GB, free: 114.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/1.086, allocations: 191.2 kB / 0.7121 GB, free: 114.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002634/1.086, allocations: 283.2 kB / 0.7123 GB, free: 114.1 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/1.086, allocations: 0 / 0.7123 GB, free: 114.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004085/1.086, allocations: 325.7 kB / 0.7127 GB, free: 113.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/1.086, allocations: 8 kB / 0.7127 GB, free: 113.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/1.086, allocations: 4 kB / 0.7127 GB, free: 113.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.402e-05/1.086, allocations: 20.86 kB / 0.7127 GB, free: 113.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002694/1.087, allocations: 95.77 kB / 0.7128 GB, free: 113.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006809/1.087, allocations: 1.284 MB / 0.714 GB, free: 112.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002144/1.088, allocations: 24.09 kB / 0.7141 GB, free: 112.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.589e-05/1.088, allocations: 16 kB / 0.7141 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.0001161/1.088, allocations: 149.8 kB / 0.7142 GB, free: 112.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.88e-05/1.088, allocations: 35.59 kB / 0.7142 GB, free: 112 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002765/1.088, allocations: 207.5 kB / 0.7144 GB, free: 111.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/1.088, allocations: 8.031 kB / 0.7144 GB, free: 111.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/1.088, allocations: 4 kB / 0.7145 GB, free: 111.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000239/1.088, allocations: 491.6 kB / 0.7149 GB, free: 111.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008308/1.089, allocations: 0.7721 MB / 0.7157 GB, free: 110.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/1.089, allocations: 4 kB / 0.7157 GB, free: 110.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001562/1.089, allocations: 43.92 kB / 0.7157 GB, free: 110.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/1.089, allocations: 0 / 0.7157 GB, free: 110.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/1.089, allocations: 15.98 kB / 0.7157 GB, free: 110.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/1.089, allocations: 4 kB / 0.7157 GB, free: 110.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/1.089, allocations: 11.88 kB / 0.7158 GB, free: 110.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003345/1.09, allocations: 403 kB / 0.7161 GB, free: 109.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.963e-05/1.09, allocations: 100.8 kB / 0.7162 GB, free: 109.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.516e-05/1.09, allocations: 8 kB / 0.7162 GB, free: 109.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002255/1.09, allocations: 15.98 kB / 0.7163 GB, free: 109.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.502e-05/1.09, allocations: 19.86 kB / 0.7163 GB, free: 109.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-05/1.09, allocations: 24.05 kB / 0.7163 GB, free: 109.7 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001426/1.09, allocations: 198 kB / 0.7165 GB, free: 109.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/1.09, allocations: 0 / 0.7165 GB, free: 109.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004535/1.091, allocations: 107.9 kB / 0.7166 GB, free: 109.4 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.0002795/1.091, allocations: 231 kB / 0.7168 GB, free: 109.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004161/1.092, allocations: 302.8 kB / 0.7171 GB, free: 108.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/1.092, allocations: 0 / 0.7171 GB, free: 108.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.03e-05/1.092, allocations: 77.22 kB / 0.7172 GB, free: 108.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008879/1.093, allocations: 165.1 kB / 0.7173 GB, free: 108.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008424/1.093, allocations: 0.7747 MB / 0.7181 GB, free: 107.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000172/1.094, allocations: 0.768 MB / 0.7188 GB, free: 107 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.794e-05/1.094, allocations: 31.44 kB / 0.7189 GB, free: 106.9 MB / 426.7 MB Notification: Performance of SimCode: time 4.31e-07/1.094, allocations: 0 / 0.7189 GB, free: 106.9 MB / 426.7 MB Notification: Performance of Templates: time 0.00725/1.101, allocations: 5.815 MB / 0.7245 GB, free: 101.1 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