Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|p_start|T_start|h_start|X_start.1.|volume.ports.1..m_flow|volume.ports.1..p|volume.ports.1..h_outflow|volume.ports.2..m_flow|volume.ports.2..p|volume.ports.2..h_outflow|volume.ports_H_flow.1.|volume.ports_H_flow.2.|volume.ports_E_flow.1.|volume.ports_E_flow.2.|volume.ports_penetration.1.|volume.ports_penetration.2.|volume.portsData_diameter.1.|volume.portsData_diameter.2.|volume.portsData_height.1.|volume.portsData_height.2.|volume.portsData_zeta_in.1.|volume.portsData_zeta_in.2.|volume.portsData_zeta_out.1.|volume.portsData_zeta_out.2.|fixedMassFlowRate.ports.1..m_flow|fixedMassFlowRate.ports.1..p|fixedMassFlowRate.ports.1..h_outflow|shortPipe.port_b.m_flow|shortPipe.port_b.p|shortPipe.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|p_start|T_start|h_start|X_start.1.|volume.ports.1..m_flow|volume.ports.1..p|volume.ports.1..h_outflow|volume.ports.2..m_flow|volume.ports.2..p|volume.ports.2..h_outflow|volume.ports_H_flow.1.|volume.ports_H_flow.2.|volume.ports_E_flow.1.|volume.ports_E_flow.2.|volume.ports_penetration.1.|volume.ports_penetration.2.|volume.portsData_diameter.1.|volume.portsData_diameter.2.|volume.portsData_height.1.|volume.portsData_height.2.|volume.portsData_zeta_in.1.|volume.portsData_zeta_in.2.|volume.portsData_zeta_out.1.|volume.portsData_zeta_out.2.|fixedMassFlowRate.ports.1..m_flow|fixedMassFlowRate.ports.1..p|fixedMassFlowRate.ports.1..h_outflow|shortPipe.port_b.m_flow|shortPipe.port_b.p|shortPipe.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002443/0.002443, allocations: 175.7 kB / 8.149 MB, free: 2.207 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.752/1.752, allocations: 205.2 MB / 213.8 MB, free: 13.92 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001271/0.001271, allocations: 97.17 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2646/0.2646, allocations: 43.5 MB / 353.2 MB, free: 2.023 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.255e-06/8.376e-06, allocations: 0 / 417.7 MB, free: 40.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.2837, allocations: 58.84 MB / 476.5 MB, free: 5.09 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5483/0.832, allocations: 240.1 MB / 0.6998 GB, free: 94.15 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003107/0.8324, allocations: 95.14 kB / 0.6999 GB, free: 94.1 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.549/2.381, allocations: 379.2 MB / 1.07 GB, free: 105.3 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.308e-05/2.381, allocations: 16.59 kB / 1.07 GB, free: 105.3 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.005097/2.386, allocations: 1.567 MB / 1.072 GB, free: 104.8 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/2.386, allocations: 10.34 kB / 1.072 GB, free: 104.8 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001803/2.388, allocations: 156.2 kB / 1.072 GB, free: 104.7 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002031/2.39, allocations: 0.6156 MB / 1.073 GB, free: 104.5 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001192/2.39, allocations: 84.64 kB / 1.073 GB, free: 104.4 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001531/2.391, allocations: 37.34 kB / 1.073 GB, free: 104.4 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001484/2.392, allocations: 0.5223 MB / 1.073 GB, free: 104.4 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001692/2.394, allocations: 0.7701 MB / 1.074 GB, free: 104.2 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.239e-05/2.394, allocations: 2.25 kB / 1.074 GB, free: 104.2 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001402/2.394, allocations: 6.688 kB / 1.074 GB, free: 104.2 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-05/2.394, allocations: 46.62 kB / 1.074 GB, free: 104.2 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007362/2.401, allocations: 4.469 MB / 1.078 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006716/2.402, allocations: 274.5 kB / 1.079 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003255/2.402, allocations: 140.5 kB / 1.079 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003524/2.403, allocations: 358.8 kB / 1.079 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/2.403, allocations: 37.22 kB / 1.079 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=30): time 2.635e-06/2.403, allocations: 0 / 1.079 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=36): time 0.006979/2.41, allocations: 1.408 MB / 1.081 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.365e-05/2.41, allocations: 133.3 kB / 1.081 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008882/2.411, allocations: 477.8 kB / 1.081 GB, free: 99.93 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001256/2.411, allocations: 29.3 kB / 1.081 GB, free: 99.9 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001769/2.411, allocations: 376.1 kB / 1.082 GB, free: 99.64 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001442/2.411, allocations: 127 kB / 1.082 GB, free: 99.58 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.534e-05/2.411, allocations: 0 / 1.082 GB, free: 99.58 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.331e-05/2.412, allocations: 340.7 kB / 1.082 GB, free: 99.27 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000498/2.412, allocations: 186.1 kB / 1.082 GB, free: 99.26 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006541/2.413, allocations: 498.3 kB / 1.083 GB, free: 98.9 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002078/2.415, allocations: 370.5 kB / 1.083 GB, free: 98.89 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.788e-06/2.415, allocations: 3.969 kB / 1.083 GB, free: 98.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003419/2.418, allocations: 0.848 MB / 1.084 GB, free: 98.82 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/2.418, allocations: 6.875 kB / 1.084 GB, free: 98.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.908e-05/2.418, allocations: 12.27 kB / 1.084 GB, free: 98.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001284/2.42, allocations: 231.5 kB / 1.084 GB, free: 98.81 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008124/2.42, allocations: 133.3 kB / 1.084 GB, free: 98.81 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002019/2.423, allocations: 1.449 MB / 1.086 GB, free: 97.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007698/2.423, allocations: 25.98 kB / 1.086 GB, free: 97.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001407/2.423, allocations: 77.27 kB / 1.086 GB, free: 97.77 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 68 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002179/2.424, allocations: 54.08 kB / 1.086 GB, free: 97.74 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002226/2.424, allocations: 70.22 kB / 1.086 GB, free: 97.71 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005105/2.429, allocations: 1.246 MB / 1.087 GB, free: 97.61 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.95e-05/2.429, allocations: 7.281 kB / 1.087 GB, free: 97.61 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/2.429, allocations: 5.844 kB / 1.087 GB, free: 97.61 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.016e-06/2.429, allocations: 3.094 kB / 1.087 GB, free: 97.61 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004383/2.434, allocations: 1.448 MB / 1.088 GB, free: 97.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/2.434, allocations: 9.219 kB / 1.088 GB, free: 97.29 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000396/2.434, allocations: 49.58 kB / 1.088 GB, free: 97.28 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008594/2.435, allocations: 160 kB / 1.089 GB, free: 97.27 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.299e-05/2.435, allocations: 13.72 kB / 1.089 GB, free: 97.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001667/2.437, allocations: 1.364 MB / 1.09 GB, free: 96.22 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/2.437, allocations: 0 / 1.09 GB, free: 96.22 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003114/2.44, allocations: 1.13 MB / 1.091 GB, free: 95.98 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005156/2.44, allocations: 218.7 kB / 1.091 GB, free: 95.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001754/2.441, allocations: 6.594 kB / 1.091 GB, free: 95.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007777/2.441, allocations: 15.25 kB / 1.091 GB, free: 95.85 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/2.441, allocations: 31.75 kB / 1.091 GB, free: 95.85 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.923e-05/2.442, allocations: 35.72 kB / 1.091 GB, free: 95.85 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0006258/2.442, allocations: 343.1 kB / 1.092 GB, free: 95.77 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002558/2.445, allocations: 0.5776 MB / 1.092 GB, free: 95.68 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (32): * Single equations (assignments): 26 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.002683/2.448, allocations: 0.7647 MB / 1.093 GB, free: 95.48 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001688/2.449, allocations: 0.5681 MB / 1.094 GB, free: 95.47 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/2.449, allocations: 4.844 kB / 1.094 GB, free: 95.47 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009011/2.45, allocations: 303.2 kB / 1.094 GB, free: 95.46 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00227/2.452, allocations: 240.1 kB / 1.094 GB, free: 95.46 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05199/2.504, allocations: 16.14 MB / 1.11 GB, free: 94.72 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001377/2.506, allocations: 1.081 MB / 1.111 GB, free: 94.01 MB / 0.4948 GB Notification: Performance of SimCode: time 1.313e-06/2.506, allocations: 1.156 kB / 1.111 GB, free: 94.01 MB / 0.4948 GB Notification: Performance of Templates: time 0.04994/2.556, allocations: 22.28 MB / 1.133 GB, free: 89.54 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Incompressible/Glycol47/Glycol47.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches