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.00151/0.001515, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.028/2.028, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001129/0.001129, allocations: 94.3 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 1.94e-05/1.951e-05, allocations: 4 kB / 314.8 MB, free: 9.148 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3531/0.3531, allocations: 47.56 MB / 362.3 MB, free: 45.8 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6357/0.9889, allocations: 264.4 MB / 0.612 GB, free: 17.73 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003223/0.9893, allocations: 93 kB / 0.6121 GB, free: 17.68 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.548/1.537, allocations: 82.56 MB / 0.6927 GB, free: 140 MB / 427.1 MB Notification: Performance of FrontEnd: time 1.403e-06/1.537, allocations: 0 / 0.6927 GB, free: 140 MB / 427.1 MB Notification: Performance of Transformations before backend: time 2.436e-05/1.537, allocations: 11.31 kB / 0.6927 GB, free: 140 MB / 427.1 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.0007776/1.538, allocations: 0.5132 MB / 0.6932 GB, free: 139.5 MB / 427.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/1.538, allocations: 10.16 kB / 0.6933 GB, free: 139.5 MB / 427.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003462/1.539, allocations: 39.45 kB / 0.6933 GB, free: 139.5 MB / 427.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004375/1.539, allocations: 279 kB / 0.6936 GB, free: 139.3 MB / 427.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/1.539, allocations: 7.844 kB / 0.6936 GB, free: 139.3 MB / 427.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.372e-05/1.539, allocations: 18.39 kB / 0.6936 GB, free: 139.3 MB / 427.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004089/1.54, allocations: 151 kB / 0.6937 GB, free: 139.2 MB / 427.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005452/1.54, allocations: 274.8 kB / 0.694 GB, free: 139 MB / 427.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/1.54, allocations: 2.969 kB / 0.694 GB, free: 139 MB / 427.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.818e-05/1.54, allocations: 2.625 kB / 0.694 GB, free: 139 MB / 427.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/1.54, allocations: 5.5 kB / 0.694 GB, free: 139 MB / 427.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002252/1.543, allocations: 1.663 MB / 0.6956 GB, free: 137.6 MB / 427.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002602/1.543, allocations: 123.8 kB / 0.6957 GB, free: 137.5 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001284/1.543, allocations: 70.14 kB / 0.6958 GB, free: 137.5 MB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001644/1.543, allocations: 169.6 kB / 0.696 GB, free: 137.3 MB / 427.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/1.543, allocations: 36.91 kB / 0.696 GB, free: 137.3 MB / 427.1 MB Notification: Performance of pre-optimization done (n=15): time 3.146e-06/1.543, allocations: 0 / 0.696 GB, free: 137.3 MB / 427.1 MB Notification: Performance of matching and sorting (n=21): time 0.00188/1.545, allocations: 0.5844 MB / 0.6966 GB, free: 136.9 MB / 427.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.628e-05/1.545, allocations: 51.59 kB / 0.6966 GB, free: 136.8 MB / 427.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002763/1.545, allocations: 212.5 kB / 0.6968 GB, free: 136.7 MB / 427.1 MB Notification: Performance of collectPreVariables (initialization): time 3.084e-05/1.546, allocations: 27.7 kB / 0.6969 GB, free: 136.6 MB / 427.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/1.546, allocations: 260.8 kB / 0.6971 GB, free: 136.4 MB / 427.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.612e-05/1.546, allocations: 73.03 kB / 0.6972 GB, free: 136.3 MB / 427.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.533e-05/1.546, allocations: 0 / 0.6972 GB, free: 136.3 MB / 427.1 MB Notification: Performance of setup shared object (initialization): time 7.619e-05/1.546, allocations: 333 kB / 0.6975 GB, free: 136 MB / 427.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/1.546, allocations: 59.12 kB / 0.6975 GB, free: 136 MB / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000207/1.546, allocations: 180.2 kB / 0.6977 GB, free: 135.8 MB / 427.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002809/1.546, allocations: 93.97 kB / 0.6978 GB, free: 135.8 MB / 427.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.553e-06/1.546, allocations: 3.938 kB / 0.6978 GB, free: 135.8 MB / 427.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006776/1.547, allocations: 277.2 kB / 0.6981 GB, free: 135.7 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/1.547, allocations: 10.59 kB / 0.6981 GB, free: 135.7 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/1.547, allocations: 7.078 kB / 0.6981 GB, free: 135.7 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000144/1.547, allocations: 24.36 kB / 0.6981 GB, free: 135.6 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000555/1.548, allocations: 89.22 kB / 0.6982 GB, free: 135.6 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009905/1.549, allocations: 1.236 MB / 0.6994 GB, free: 134.4 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003654/1.549, allocations: 11.72 kB / 0.6994 GB, free: 134.4 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.15e-05/1.549, allocations: 23.52 kB / 0.6994 GB, free: 134.4 MB / 427.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real 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.0001991/1.55, allocations: 122.2 kB / 0.6996 GB, free: 134.3 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.483e-05/1.55, allocations: 23.41 kB / 0.6996 GB, free: 134.3 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005429/1.55, allocations: 185.7 kB / 0.6998 GB, free: 134.2 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/1.55, allocations: 3.906 kB / 0.6998 GB, free: 134.2 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/1.55, allocations: 5.312 kB / 0.6998 GB, free: 134.2 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004054/1.551, allocations: 468.4 kB / 0.7002 GB, free: 133.7 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001381/1.552, allocations: 0.7141 MB / 0.7009 GB, free: 133.1 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/1.552, allocations: 3.688 kB / 0.7009 GB, free: 133.1 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003019/1.552, allocations: 42.33 kB / 0.701 GB, free: 133.1 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.938e-06/1.552, allocations: 3.656 kB / 0.701 GB, free: 133.1 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.924e-05/1.553, allocations: 3.969 kB / 0.701 GB, free: 133.1 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.246e-06/1.553, allocations: 11.11 kB / 0.701 GB, free: 133.1 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/1.553, allocations: 3.656 kB / 0.701 GB, free: 133.1 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006114/1.553, allocations: 479.1 kB / 0.7014 GB, free: 132.7 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/1.553, allocations: 104.1 kB / 0.7015 GB, free: 132.6 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.284e-05/1.553, allocations: 7.406 kB / 0.7015 GB, free: 132.6 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003916/1.554, allocations: 11.53 kB / 0.7015 GB, free: 132.6 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.764e-05/1.554, allocations: 21.67 kB / 0.7016 GB, free: 132.6 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.315e-05/1.554, allocations: 22.27 kB / 0.7016 GB, free: 132.6 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.0001887/1.554, allocations: 158 kB / 0.7017 GB, free: 132.5 MB / 427.1 MB Notification: Performance of sort global known variables: time 4.61e-07/1.554, allocations: 2.938 kB / 0.7017 GB, free: 132.5 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.000712/1.555, allocations: 102.7 kB / 0.7018 GB, free: 132.5 MB / 427.1 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.0004264/1.555, allocations: 229 kB / 0.7021 GB, free: 132.3 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.0006039/1.556, allocations: 288.1 kB / 0.7023 GB, free: 132.2 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/1.556, allocations: 3.938 kB / 0.7023 GB, free: 132.2 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001276/1.556, allocations: 66.62 kB / 0.7024 GB, free: 132.1 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/1.557, allocations: 116 kB / 0.7025 GB, free: 132.1 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009791/1.558, allocations: 446 kB / 0.7029 GB, free: 131.8 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/1.558, allocations: 0.7657 MB / 0.7037 GB, free: 131.1 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/1.559, allocations: 33 kB / 0.7037 GB, free: 131.1 MB / 427.1 MB Notification: Performance of SimCode: time 1.082e-06/1.559, allocations: 4 kB / 0.7037 GB, free: 131.1 MB / 427.1 MB Notification: Performance of Templates: time 0.0114/1.57, allocations: 5.314 MB / 0.7089 GB, free: 128.9 MB / 427.1 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