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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002337/0.002337, allocations: 175.9 kB / 8.153 MB, free: 2.188 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.813/1.813, allocations: 205.2 MB / 213.7 MB, free: 13.86 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.001313/0.001312, allocations: 86.53 kB / 261.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.217e-06/9.418e-06, allocations: 0 / 314.3 MB, free: 9.027 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2513, allocations: 47.56 MB / 361.8 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.508/0.7594, allocations: 264.3 MB / 0.6115 GB, free: 19.12 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002979/0.7597, allocations: 92.88 kB / 0.6115 GB, free: 19.07 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.4152/1.175, allocations: 82.84 MB / 0.6924 GB, free: 119.4 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.586e-05/1.175, allocations: 13.12 kB / 0.6924 GB, free: 119.4 MB / 410.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.0007545/1.176, allocations: 0.5203 MB / 0.693 GB, free: 118.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/1.176, allocations: 8.031 kB / 0.693 GB, free: 118.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003873/1.176, allocations: 43.61 kB / 0.693 GB, free: 118.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004629/1.177, allocations: 282.4 kB / 0.6933 GB, free: 118.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/1.177, allocations: 8 kB / 0.6933 GB, free: 118.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.145e-05/1.177, allocations: 16 kB / 0.6933 GB, free: 118.4 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004693/1.177, allocations: 156.9 kB / 0.6934 GB, free: 118.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005423/1.178, allocations: 271.6 kB / 0.6937 GB, free: 118 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/1.178, allocations: 4 kB / 0.6937 GB, free: 118 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.069e-05/1.178, allocations: 4 kB / 0.6937 GB, free: 118 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/1.178, allocations: 4 kB / 0.6937 GB, free: 118 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002267/1.18, allocations: 1.672 MB / 0.6954 GB, free: 116.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002062/1.18, allocations: 85.77 kB / 0.6954 GB, free: 116.1 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/1.181, allocations: 60.89 kB / 0.6955 GB, free: 116 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001623/1.181, allocations: 162.2 kB / 0.6956 GB, free: 115.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/1.181, allocations: 46.48 kB / 0.6957 GB, free: 115.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 2.845e-06/1.181, allocations: 4 kB / 0.6957 GB, free: 115.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.001979/1.183, allocations: 0.5731 MB / 0.6963 GB, free: 115.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/1.183, allocations: 55.53 kB / 0.6963 GB, free: 115.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002787/1.183, allocations: 224.1 kB / 0.6965 GB, free: 114.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.052e-05/1.183, allocations: 25.7 kB / 0.6965 GB, free: 114.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.388e-05/1.183, allocations: 245.9 kB / 0.6968 GB, free: 114.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.862e-05/1.183, allocations: 67 kB / 0.6968 GB, free: 114.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.623e-05/1.183, allocations: 0 / 0.6968 GB, free: 114.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.168e-05/1.183, allocations: 326.8 kB / 0.6972 GB, free: 114.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/1.184, allocations: 56 kB / 0.6972 GB, free: 114.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002092/1.184, allocations: 179.5 kB / 0.6974 GB, free: 113.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003002/1.184, allocations: 99.95 kB / 0.6975 GB, free: 113.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/1.184, allocations: 4 kB / 0.6975 GB, free: 113.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007536/1.185, allocations: 279.8 kB / 0.6977 GB, free: 113.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/1.185, allocations: 4.5 kB / 0.6978 GB, free: 113.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/1.185, allocations: 4 kB / 0.6978 GB, free: 113.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001473/1.185, allocations: 24.86 kB / 0.6978 GB, free: 113.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000577/1.186, allocations: 87.89 kB / 0.6979 GB, free: 113.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001074/1.187, allocations: 1.228 MB / 0.6991 GB, free: 112.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002947/1.187, allocations: 19.83 kB / 0.6991 GB, free: 112 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.928e-05/1.187, allocations: 16 kB / 0.6991 GB, free: 112 MB / 410.7 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.0001816/1.187, allocations: 46.39 kB / 0.6991 GB, free: 112 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/1.188, allocations: 27.72 kB / 0.6992 GB, free: 112 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000597/1.188, allocations: 196.5 kB / 0.6994 GB, free: 111.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/1.188, allocations: 3.906 kB / 0.6994 GB, free: 111.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/1.188, allocations: 4 kB / 0.6994 GB, free: 111.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004542/1.189, allocations: 467.7 kB / 0.6998 GB, free: 111.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001489/1.19, allocations: 0.7061 MB / 0.7005 GB, free: 110.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/1.19, allocations: 288 / 0.7005 GB, free: 110.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003296/1.19, allocations: 51.97 kB / 0.7005 GB, free: 110.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.197e-06/1.191, allocations: 7.938 kB / 0.7006 GB, free: 110.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.031e-05/1.191, allocations: 4 kB / 0.7006 GB, free: 110.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/1.191, allocations: 4 kB / 0.7006 GB, free: 110.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/1.191, allocations: 0 / 0.7006 GB, free: 110.3 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006254/1.191, allocations: 482.9 kB / 0.701 GB, free: 109.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/1.191, allocations: 104.8 kB / 0.7011 GB, free: 109.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.209e-05/1.191, allocations: 7.906 kB / 0.7011 GB, free: 109.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000432/1.192, allocations: 19.98 kB / 0.7011 GB, free: 109.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.366e-05/1.192, allocations: 19.92 kB / 0.7012 GB, free: 109.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.174e-05/1.192, allocations: 19.98 kB / 0.7012 GB, free: 109.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001862/1.192, allocations: 157.2 kB / 0.7013 GB, free: 109.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006684/1.193, allocations: 107.9 kB / 0.7014 GB, free: 109.3 MB / 410.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.0004296/1.193, allocations: 235.1 kB / 0.7017 GB, free: 109.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005659/1.194, allocations: 265.8 kB / 0.7019 GB, free: 108.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/1.194, allocations: 0 / 0.7019 GB, free: 108.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001344/1.194, allocations: 68.92 kB / 0.702 GB, free: 108.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/1.195, allocations: 109.3 kB / 0.7021 GB, free: 108.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/1.196, allocations: 451.3 kB / 0.7025 GB, free: 108.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003719/1.197, allocations: 0.8063 MB / 0.7033 GB, free: 107.3 MB / 410.7 MB Notification: Performance of SimCode: time 8.92e-07/1.197, allocations: 0 / 0.7033 GB, free: 107.3 MB / 410.7 MB Notification: Performance of Templates: time 0.01051/1.207, allocations: 5.369 MB / 0.7085 GB, free: 102 MB / 410.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