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.Essotherm650.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.Essotherm650,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650") [: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.00255/0.002554, allocations: 180.9 kB / 8.151 MB, free: 2.203 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.848/1.848, allocations: 205.2 MB / 213.8 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.001299/0.001299, allocations: 88.42 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.815e-06/7.905e-06, allocations: 0 / 314.3 MB, free: 9.031 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.2622, allocations: 47.56 MB / 361.9 MB, free: 45.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4361/0.6983, allocations: 187.7 MB / 0.5367 GB, free: 87.71 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003676/0.6988, allocations: 94.56 kB / 0.5368 GB, free: 87.69 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.275/1.974, allocations: 300.6 MB / 0.8304 GB, free: 90.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.506e-05/1.974, allocations: 7.438 kB / 0.8304 GB, free: 90.12 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.002809/1.977, allocations: 1.008 MB / 0.8313 GB, free: 89.74 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/1.977, allocations: 11.06 kB / 0.8314 GB, free: 89.74 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006044/1.977, allocations: 46.83 kB / 0.8314 GB, free: 89.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005525/1.978, allocations: 304.6 kB / 0.8317 GB, free: 89.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/1.978, allocations: 11.56 kB / 0.8317 GB, free: 89.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.869e-05/1.978, allocations: 14.38 kB / 0.8317 GB, free: 89.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005062/1.978, allocations: 173.2 kB / 0.8319 GB, free: 89.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006549/1.979, allocations: 310.3 kB / 0.8322 GB, free: 89.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.195e-05/1.979, allocations: 2.438 kB / 0.8322 GB, free: 89.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.904e-05/1.979, allocations: 3.656 kB / 0.8322 GB, free: 89.4 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/1.979, allocations: 10.25 kB / 0.8322 GB, free: 89.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002758/1.982, allocations: 2.068 MB / 0.8342 GB, free: 87.74 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003508/1.982, allocations: 143.9 kB / 0.8344 GB, free: 87.72 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002537/1.983, allocations: 81.52 kB / 0.8344 GB, free: 87.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002784/1.983, allocations: 275.3 kB / 0.8347 GB, free: 87.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/1.983, allocations: 41.22 kB / 0.8347 GB, free: 87.39 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 3.166e-06/1.983, allocations: 0 / 0.8347 GB, free: 87.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=30): time 0.004786/1.988, allocations: 0.9756 MB / 0.8357 GB, free: 86.97 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.73e-05/1.988, allocations: 56.78 kB / 0.8357 GB, free: 86.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002882/1.988, allocations: 201.5 kB / 0.8359 GB, free: 86.81 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.933e-05/1.988, allocations: 29.3 kB / 0.836 GB, free: 86.78 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.924e-05/1.988, allocations: 225.8 kB / 0.8362 GB, free: 86.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.067e-05/1.989, allocations: 103.7 kB / 0.8363 GB, free: 86.55 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.709e-05/1.989, allocations: 3.938 kB / 0.8363 GB, free: 86.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.772e-05/1.989, allocations: 326.9 kB / 0.8366 GB, free: 86.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002158/1.989, allocations: 78.81 kB / 0.8367 GB, free: 86.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002622/1.989, allocations: 164.1 kB / 0.8368 GB, free: 86.14 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00114/1.99, allocations: 158.9 kB / 0.837 GB, free: 86.13 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/1.99, allocations: 0 / 0.837 GB, free: 86.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001727/1.992, allocations: 392.4 kB / 0.8373 GB, free: 86.08 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/1.992, allocations: 3.344 kB / 0.8374 GB, free: 86.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/1.992, allocations: 2.531 kB / 0.8374 GB, free: 86.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005143/1.993, allocations: 87.14 kB / 0.8374 GB, free: 86.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004921/1.993, allocations: 75.7 kB / 0.8375 GB, free: 86.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001038/1.994, allocations: 0.7009 MB / 0.8382 GB, free: 85.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000304/1.995, allocations: 11.72 kB / 0.8382 GB, free: 85.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.576e-05/1.995, allocations: 42.66 kB / 0.8382 GB, free: 85.55 MB / 410.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.000219/1.995, allocations: 43.22 kB / 0.8383 GB, free: 85.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/1.995, allocations: 25.47 kB / 0.8383 GB, free: 85.51 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003223/1.998, allocations: 0.7474 MB / 0.839 GB, free: 85.44 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.836e-05/1.998, allocations: 12.33 kB / 0.8391 GB, free: 85.44 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/1.998, allocations: 7.875 kB / 0.8391 GB, free: 85.44 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001553/2, allocations: 0.7417 MB / 0.8398 GB, free: 84.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002435/2.002, allocations: 0.931 MB / 0.8407 GB, free: 84.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/2.002, allocations: 0 / 0.8407 GB, free: 84.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003481/2.003, allocations: 40.44 kB / 0.8407 GB, free: 84.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004046/2.003, allocations: 76.45 kB / 0.8408 GB, free: 84.69 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.162e-05/2.003, allocations: 13.61 kB / 0.8408 GB, free: 84.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008656/2.004, allocations: 0.6791 MB / 0.8415 GB, free: 84.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/2.004, allocations: 0 / 0.8415 GB, free: 84.16 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001889/2.006, allocations: 0.7388 MB / 0.8422 GB, free: 84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/2.006, allocations: 106.5 kB / 0.8423 GB, free: 83.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.709e-05/2.006, allocations: 7.484 kB / 0.8423 GB, free: 83.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005066/2.007, allocations: 10.69 kB / 0.8423 GB, free: 83.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.64e-05/2.007, allocations: 24.28 kB / 0.8423 GB, free: 83.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.051e-05/2.007, allocations: 37.33 kB / 0.8424 GB, free: 83.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001914/2.007, allocations: 155.8 kB / 0.8425 GB, free: 83.81 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001195/2.008, allocations: 257.7 kB / 0.8428 GB, free: 83.78 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.001068/2.009, allocations: 354 kB / 0.8431 GB, free: 83.65 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009998/2.01, allocations: 335.8 kB / 0.8434 GB, free: 83.64 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.339e-06/2.011, allocations: 0 / 0.8434 GB, free: 83.64 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006605/2.011, allocations: 212.7 kB / 0.8436 GB, free: 83.63 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001407/2.013, allocations: 125.3 kB / 0.8438 GB, free: 83.63 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05161/2.064, allocations: 16.39 MB / 0.8598 GB, free: 83.13 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009226/2.065, allocations: 0.8893 MB / 0.8606 GB, free: 82.42 MB / 410.7 MB Notification: Performance of SimCode: time 1.462e-06/2.065, allocations: 0 / 0.8606 GB, free: 82.42 MB / 410.7 MB Notification: Performance of Templates: time 0.02099/2.086, allocations: 9.329 MB / 0.8697 GB, free: 82.07 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650 --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650_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/Essotherm650/Essotherm650.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches