Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001237/0.001238, allocations: 175.9 kB / 8.477 MB, free: 1.879 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.452/1.452, allocations: 205.2 MB / 214.1 MB, free: 5.078 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001103/0.001103, allocations: 86.25 kB / 262.1 MB, free: 5.129 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.215e-06/8.235e-06, allocations: 4 kB / 315 MB, free: 41.46 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09784/0.09787, allocations: 47.57 MB / 362.6 MB, free: 9.934 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4284/0.5263, allocations: 187.9 MB / 0.5375 GB, free: 5.844 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000298/0.5267, allocations: 93.69 kB / 0.5376 GB, free: 5.789 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.8298/1.356, allocations: 280.2 MB / 0.8112 GB, free: 65.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.997e-05/1.357, allocations: 5.641 kB / 0.8112 GB, free: 65.79 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.002331/1.359, allocations: 1.006 MB / 0.8122 GB, free: 64.76 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/1.359, allocations: 8.031 kB / 0.8122 GB, free: 64.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004428/1.359, allocations: 51.05 kB / 0.8123 GB, free: 64.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003658/1.36, allocations: 309.1 kB / 0.8126 GB, free: 64.37 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/1.36, allocations: 8 kB / 0.8126 GB, free: 64.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.841e-05/1.36, allocations: 16 kB / 0.8126 GB, free: 64.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002877/1.36, allocations: 173.2 kB / 0.8128 GB, free: 64.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003576/1.36, allocations: 301.7 kB / 0.813 GB, free: 63.85 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/1.36, allocations: 7.906 kB / 0.813 GB, free: 63.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.566e-05/1.361, allocations: 0 / 0.813 GB, free: 63.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/1.361, allocations: 11.94 kB / 0.8131 GB, free: 63.83 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001612/1.362, allocations: 2.058 MB / 0.8151 GB, free: 61.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001885/1.362, allocations: 137.8 kB / 0.8152 GB, free: 61.45 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/1.362, allocations: 84.41 kB / 0.8153 GB, free: 61.37 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001943/1.363, allocations: 269.5 kB / 0.8155 GB, free: 61.05 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/1.363, allocations: 38.5 kB / 0.8156 GB, free: 61 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 1.302e-06/1.363, allocations: 0 / 0.8156 GB, free: 61 MB / 410.7 MB Notification: Performance of matching and sorting (n=30): time 0.002853/1.366, allocations: 0.9696 MB / 0.8165 GB, free: 59.96 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.879e-05/1.366, allocations: 55.41 kB / 0.8166 GB, free: 59.89 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/1.366, allocations: 207.2 kB / 0.8168 GB, free: 59.69 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.616e-05/1.366, allocations: 25.7 kB / 0.8168 GB, free: 59.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.836e-05/1.366, allocations: 168 kB / 0.817 GB, free: 59.49 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.93e-05/1.366, allocations: 98.56 kB / 0.8171 GB, free: 59.39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.551e-05/1.366, allocations: 0 / 0.8171 GB, free: 59.39 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.739e-05/1.366, allocations: 338.7 kB / 0.8174 GB, free: 59.05 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/1.366, allocations: 80.73 kB / 0.8175 GB, free: 58.97 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/1.366, allocations: 164.7 kB / 0.8176 GB, free: 58.78 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006783/1.367, allocations: 153 kB / 0.8178 GB, free: 58.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/1.367, allocations: 4 kB / 0.8178 GB, free: 58.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009773/1.368, allocations: 385.8 kB / 0.8181 GB, free: 58.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/1.368, allocations: 5.875 kB / 0.8181 GB, free: 58.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/1.368, allocations: 4 kB / 0.8181 GB, free: 58.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002987/1.368, allocations: 87.36 kB / 0.8182 GB, free: 58.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002506/1.369, allocations: 75.91 kB / 0.8183 GB, free: 58.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006157/1.369, allocations: 0.6913 MB / 0.819 GB, free: 57.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002084/1.369, allocations: 19.17 kB / 0.819 GB, free: 57.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.541e-05/1.369, allocations: 36 kB / 0.819 GB, free: 57.31 MB / 410.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: 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.0001501/1.37, allocations: 118.4 kB / 0.8191 GB, free: 57.19 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.189e-05/1.37, allocations: 23.72 kB / 0.8192 GB, free: 57.17 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001654/1.371, allocations: 0.7266 MB / 0.8199 GB, free: 56.49 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.305e-05/1.371, allocations: 15.98 kB / 0.8199 GB, free: 56.47 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/1.371, allocations: 11.91 kB / 0.8199 GB, free: 56.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008648/1.372, allocations: 0.735 MB / 0.8206 GB, free: 55.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001363/1.374, allocations: 0.9178 MB / 0.8215 GB, free: 54.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/1.374, allocations: 0 / 0.8215 GB, free: 54.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001674/1.374, allocations: 39.92 kB / 0.8215 GB, free: 54.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002296/1.374, allocations: 84.8 kB / 0.8216 GB, free: 54.55 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.496e-05/1.374, allocations: 4 kB / 0.8216 GB, free: 54.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004901/1.375, allocations: 0.6771 MB / 0.8223 GB, free: 53.84 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/1.375, allocations: 96 / 0.8223 GB, free: 53.84 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001021/1.376, allocations: 0.7415 MB / 0.823 GB, free: 53.08 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.508e-05/1.376, allocations: 104.7 kB / 0.8231 GB, free: 52.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.645e-05/1.376, allocations: 3.906 kB / 0.8231 GB, free: 52.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002514/1.376, allocations: 12.08 kB / 0.8231 GB, free: 52.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.259e-05/1.376, allocations: 27.91 kB / 0.8232 GB, free: 52.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.312e-05/1.376, allocations: 31.98 kB / 0.8232 GB, free: 52.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.775e-05/1.376, allocations: 160.6 kB / 0.8233 GB, free: 52.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008969/1.377, allocations: 251.7 kB / 0.8236 GB, free: 52.48 MB / 410.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.0006586/1.378, allocations: 342.1 kB / 0.8239 GB, free: 52.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005414/1.378, allocations: 334.9 kB / 0.8242 GB, free: 51.83 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.378, allocations: 4.562 kB / 0.8242 GB, free: 51.83 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003513/1.379, allocations: 212.6 kB / 0.8244 GB, free: 51.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006736/1.379, allocations: 125.5 kB / 0.8246 GB, free: 51.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02719/1.407, allocations: 15.37 MB / 0.8396 GB, free: 36.14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004692/1.407, allocations: 0.8834 MB / 0.8404 GB, free: 35.23 MB / 410.7 MB Notification: Performance of SimCode: time 1.002e-06/1.407, allocations: 0 / 0.8404 GB, free: 35.23 MB / 410.7 MB Notification: Performance of Templates: time 0.01439/1.422, allocations: 9.285 MB / 0.8495 GB, free: 25.94 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47_res.mat","/var/lib/jenkins/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_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches