Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|m_flow.1.|m_flow.2.|m_flow.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|m_flow.1.|m_flow.2.|m_flow.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") [: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 4.0.0+maint.om/package.mo): time 0.0009493/0.0009493, allocations: 179.7 kB / 8.52 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.266/1.266, allocations: 221.4 MB / 230.3 MB, free: 7.754 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008874/0.0008875, allocations: 87.23 kB / 281.2 MB, free: 5.504 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1744/0.1744, allocations: 44.15 MB / 376.1 MB, free: 3.223 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.804e-06/7.824e-06, allocations: 224 / 444.1 MB, free: 15.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1182, allocations: 61.92 MB / 0.4941 GB, free: 1.598 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2999/0.4181, allocations: 94.37 MB / 0.5863 GB, free: 2.43 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002457/0.4184, allocations: 99.12 kB / 0.5864 GB, free: 2.34 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.03738/0.4558, allocations: 13.67 MB / 0.5997 GB, free: 4.574 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.338e-05/0.4559, allocations: 4 kB / 0.5997 GB, free: 4.57 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.0008972/0.4568, allocations: 0.6347 MB / 0.6003 GB, free: 3.887 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.4568, allocations: 11.97 kB / 0.6004 GB, free: 3.875 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.991e-05/0.4569, allocations: 43.44 kB / 0.6004 GB, free: 3.832 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003539/0.4573, allocations: 279.3 kB / 0.6007 GB, free: 3.516 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.4573, allocations: 12 kB / 0.6007 GB, free: 3.504 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.776e-05/0.4573, allocations: 24 kB / 0.6007 GB, free: 3.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005124/0.4579, allocations: 337.6 kB / 0.601 GB, free: 3.148 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006711/0.4585, allocations: 495.5 kB / 0.6015 GB, free: 2.652 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.4586, allocations: 0 / 0.6015 GB, free: 2.652 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.363e-05/0.4586, allocations: 7.906 kB / 0.6015 GB, free: 2.645 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.95e-05/0.4586, allocations: 17.72 kB / 0.6015 GB, free: 2.629 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001615/0.4603, allocations: 1.162 MB / 0.6026 GB, free: 1.418 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004198/0.4607, allocations: 283.5 kB / 0.6029 GB, free: 1.113 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001834/0.4609, allocations: 130.5 kB / 0.603 GB, free: 0.9766 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.202e-05/0.4609, allocations: 11.97 kB / 0.6031 GB, free: 0.9648 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.461, allocations: 42.56 kB / 0.6031 GB, free: 0.9141 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 1.663e-06/0.461, allocations: 0 / 0.6031 GB, free: 0.9141 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005953/0.4616, allocations: 305.2 kB / 0.6034 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/0.4616, allocations: 106.8 kB / 0.6035 GB, free: 492 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002021/0.4618, allocations: 208 kB / 0.6037 GB, free: 272 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/0.4619, allocations: 25.7 kB / 0.6037 GB, free: 240 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.462, allocations: 199.7 kB / 0.6039 GB, free: 36 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.153e-05/0.4621, allocations: 59.28 kB / 0.604 GB, free: 15.97 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.76e-05/0.4621, allocations: 4.062 kB / 0.604 GB, free: 15.97 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.4622, allocations: 334.8 kB / 0.6043 GB, free: 15.63 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001857/0.4624, allocations: 120.1 kB / 0.6044 GB, free: 15.51 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002237/0.4626, allocations: 198.6 kB / 0.6046 GB, free: 15.28 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002126/0.4628, allocations: 143.9 kB / 0.6047 GB, free: 15.14 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.4629, allocations: 0 / 0.6047 GB, free: 15.14 MB / 426.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005568/0.4634, allocations: 372.9 kB / 0.6051 GB, free: 14.77 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.4634, allocations: 4 kB / 0.6051 GB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.669e-05/0.4635, allocations: 27.98 kB / 0.6051 GB, free: 14.74 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.4635, allocations: 4.109 kB / 0.6051 GB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002229/0.4638, allocations: 52.17 kB / 0.6052 GB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.4638, allocations: 4 kB / 0.6052 GB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002152/0.464, allocations: 31.89 kB / 0.6052 GB, free: 14.65 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-05/0.464, allocations: 23.92 kB / 0.6052 GB, free: 14.62 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 9 (m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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 prepare postOptimizeDAE: time 0.0001261/0.4642, allocations: 114.2 kB / 0.6053 GB, free: 14.51 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.4643, allocations: 19.72 kB / 0.6053 GB, free: 14.49 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008335/0.4651, allocations: 467.9 kB / 0.6058 GB, free: 14.03 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.4652, allocations: 0 / 0.6058 GB, free: 14.03 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.4652, allocations: 4 kB / 0.6058 GB, free: 14.03 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.4652, allocations: 0 / 0.6058 GB, free: 14.03 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005187/0.4657, allocations: 341.8 kB / 0.6061 GB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.321e-05/0.4658, allocations: 31.97 kB / 0.6062 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001719/0.466, allocations: 35.95 kB / 0.6062 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.466, allocations: 4 kB / 0.6062 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.953e-05/0.466, allocations: 8 kB / 0.6062 GB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.466, allocations: 4 kB / 0.6062 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.466, allocations: 0 / 0.6062 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006203/0.4667, allocations: 0.5637 MB / 0.6068 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.181e-05/0.4667, allocations: 96.83 kB / 0.6068 GB, free: 12.87 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.904e-05/0.4668, allocations: 0 / 0.6068 GB, free: 12.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002797/0.4671, allocations: 35.91 kB / 0.6069 GB, free: 12.83 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.628e-05/0.4672, allocations: 15.98 kB / 0.6069 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.834e-05/0.4672, allocations: 11.98 kB / 0.6069 GB, free: 12.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001287/0.4673, allocations: 160.5 kB / 0.6071 GB, free: 12.65 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006159/0.4679, allocations: 147.5 kB / 0.6072 GB, free: 12.5 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0004045/0.4684, allocations: 222.2 kB / 0.6074 GB, free: 12.28 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006233/0.469, allocations: 0.5145 MB / 0.6079 GB, free: 11.71 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/0.469, allocations: 4 kB / 0.6079 GB, free: 11.71 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000351/0.4694, allocations: 379.8 kB / 0.6083 GB, free: 11.28 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003245/0.4697, allocations: 21.11 kB / 0.6083 GB, free: 11.26 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.4709, allocations: 0.5378 MB / 0.6088 GB, free: 10.69 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005361/0.4714, allocations: 0.8796 MB / 0.6097 GB, free: 9.785 MB / 426.7 MB Notification: Performance of SimCode: time 2.91e-07/0.4715, allocations: 0 / 0.6097 GB, free: 9.785 MB / 426.7 MB Notification: Performance of Templates: time 0.008691/0.4802, allocations: 4.931 MB / 0.6145 GB, free: 4.875 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection/kc_approxForcedConvection.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches