Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.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.Incompressible.Glycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47") [: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.002494/0.002494, allocations: 184.9 kB / 8.153 MB, free: 2.168 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.78/1.78, allocations: 205.2 MB / 213.7 MB, free: 13.93 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.001261/0.001261, allocations: 83.2 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.333e-05/1.347e-05, allocations: 4 kB / 314.3 MB, free: 9.039 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2595, allocations: 47.55 MB / 361.8 MB, free: 45.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4707/0.7302, allocations: 187.9 MB / 0.5368 GB, free: 86.19 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003659/0.7306, allocations: 93.31 kB / 0.5369 GB, free: 86.17 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.9997/1.73, allocations: 280.2 MB / 0.8106 GB, free: 25.53 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.512e-05/1.73, allocations: 4 kB / 0.8106 GB, free: 25.52 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0027/1.733, allocations: 1.002 MB / 0.8115 GB, free: 24.47 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/1.733, allocations: 8.031 kB / 0.8115 GB, free: 24.46 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006324/1.734, allocations: 59.48 kB / 0.8116 GB, free: 24.41 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005861/1.734, allocations: 308.4 kB / 0.8119 GB, free: 24.07 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/1.734, allocations: 8 kB / 0.8119 GB, free: 24.06 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.081e-05/1.735, allocations: 12 kB / 0.8119 GB, free: 24.05 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005169/1.735, allocations: 173.2 kB / 0.8121 GB, free: 23.88 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006197/1.736, allocations: 306.1 kB / 0.8124 GB, free: 23.54 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/1.736, allocations: 0 / 0.8124 GB, free: 23.54 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.18e-05/1.736, allocations: 7.906 kB / 0.8124 GB, free: 23.54 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/1.736, allocations: 8 kB / 0.8124 GB, free: 23.53 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002808/1.739, allocations: 2.062 MB / 0.8144 GB, free: 21.26 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003688/1.739, allocations: 141.8 kB / 0.8145 GB, free: 21.12 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001915/1.739, allocations: 81.23 kB / 0.8146 GB, free: 21.04 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002833/1.74, allocations: 279.6 kB / 0.8149 GB, free: 20.71 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/1.74, allocations: 34.5 kB / 0.8149 GB, free: 20.66 MB / 426.7 MB Notification: Performance of pre-optimization done (n=24): time 3.055e-06/1.74, allocations: 0 / 0.8149 GB, free: 20.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=30): time 0.004904/1.745, allocations: 0.9583 MB / 0.8158 GB, free: 19.63 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/1.745, allocations: 59.41 kB / 0.8159 GB, free: 19.56 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002908/1.745, allocations: 200 kB / 0.8161 GB, free: 19.36 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.461e-05/1.745, allocations: 29.64 kB / 0.8161 GB, free: 19.32 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.937e-05/1.745, allocations: 226.4 kB / 0.8163 GB, free: 19.1 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.958e-05/1.745, allocations: 110.5 kB / 0.8164 GB, free: 18.99 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.579e-05/1.745, allocations: 0 / 0.8164 GB, free: 18.99 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.764e-05/1.745, allocations: 322.7 kB / 0.8168 GB, free: 18.66 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002227/1.746, allocations: 80.75 kB / 0.8168 GB, free: 18.58 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002679/1.746, allocations: 162.3 kB / 0.817 GB, free: 18.39 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/1.747, allocations: 151.7 kB / 0.8171 GB, free: 18.24 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/1.747, allocations: 0 / 0.8171 GB, free: 18.24 MB / 426.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001728/1.749, allocations: 385.8 kB / 0.8175 GB, free: 17.86 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/1.749, allocations: 6.969 kB / 0.8175 GB, free: 17.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/1.749, allocations: 11.88 kB / 0.8175 GB, free: 17.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005039/1.749, allocations: 85.11 kB / 0.8176 GB, free: 17.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004901/1.75, allocations: 83.89 kB / 0.8177 GB, free: 17.67 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001053/1.751, allocations: 0.685 MB / 0.8183 GB, free: 16.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000317/1.751, allocations: 19.83 kB / 0.8184 GB, free: 16.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-05/1.751, allocations: 36 kB / 0.8184 GB, free: 16.91 MB / 426.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.volume.medium.T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real shortPipe.m_flow:VARIABLE(min = -100000.0 max = 100000.0 unit = "kg/s" ) "Mass flow rate from port_a to port_b (m_flow > 0 is design flow direction)" type: Real 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: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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 {3 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002192/1.752, allocations: 34.89 kB / 0.8184 GB, free: 16.87 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/1.752, allocations: 31.7 kB / 0.8185 GB, free: 16.84 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003042/1.755, allocations: 0.7196 MB / 0.8192 GB, free: 16.11 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.529e-05/1.755, allocations: 11.98 kB / 0.8192 GB, free: 16.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/1.755, allocations: 0 / 0.8192 GB, free: 16.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001523/1.756, allocations: 0.7348 MB / 0.8199 GB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002465/1.759, allocations: 0.9216 MB / 0.8208 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/1.759, allocations: 4 kB / 0.8208 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003339/1.759, allocations: 43.91 kB / 0.8208 GB, free: 14.26 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004149/1.76, allocations: 80.84 kB / 0.8209 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.836e-05/1.76, allocations: 7.984 kB / 0.8209 GB, free: 14.17 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008976/1.761, allocations: 0.6732 MB / 0.8216 GB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/1.761, allocations: 4.062 kB / 0.8216 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001919/1.763, allocations: 0.7404 MB / 0.8223 GB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/1.763, allocations: 104.7 kB / 0.8224 GB, free: 12.58 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.712e-05/1.763, allocations: 4 kB / 0.8224 GB, free: 12.58 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004712/1.763, allocations: 4 kB / 0.8224 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.875e-05/1.764, allocations: 32.06 kB / 0.8224 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.751e-05/1.764, allocations: 39.98 kB / 0.8225 GB, free: 12.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001955/1.764, allocations: 156.5 kB / 0.8226 GB, free: 12.35 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001263/1.765, allocations: 251.7 kB / 0.8229 GB, free: 12.11 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (28): * Single equations (assignments): 21 * Array equations: 6 * 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 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001084/1.766, allocations: 352.8 kB / 0.8232 GB, free: 11.75 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001051/1.767, allocations: 323.6 kB / 0.8235 GB, free: 11.44 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/1.767, allocations: 0 / 0.8235 GB, free: 11.44 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000663/1.768, allocations: 216.1 kB / 0.8237 GB, free: 11.23 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001433/1.769, allocations: 123.8 kB / 0.8238 GB, free: 11.11 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1956/1.965, allocations: 15.39 MB / 0.8389 GB, free: 138.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007855/1.966, allocations: 0.8775 MB / 0.8397 GB, free: 137.6 MB / 426.7 MB Notification: Performance of SimCode: time 1.343e-06/1.966, allocations: 0 / 0.8397 GB, free: 137.6 MB / 426.7 MB Notification: Performance of Templates: time 0.01873/1.985, allocations: 9.298 MB / 0.8488 GB, free: 137.5 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47 --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Incompressible/Glycol47/Glycol47.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches