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_KC.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_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow_1.1.|m_flow_1.2.|m_flow_2.1.|m_flow_2.2.|m_flow_3.1.|m_flow_3.2.|kc_1.1.|kc_1.2.|kc_2.1.|kc_2.2.|kc_3.1.|kc_3.2.|Re_1.1.|Re_1.2.|Re_2.1.|Re_2.2.|Re_3.1.|Re_3.2.|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow_1.1.|m_flow_1.2.|m_flow_2.1.|m_flow_2.2.|m_flow_3.1.|m_flow_3.2.|kc_1.1.|kc_1.2.|kc_2.1.|kc_2.2.|kc_3.1.|kc_3.2.|Re_1.1.|Re_1.2.|Re_2.1.|Re_2.2.|Re_3.1.|Re_3.2.|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC") [: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.001086/0.001086, allocations: 178.9 kB / 8.52 MB, free: 1.824 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.211/1.211, allocations: 221.4 MB / 230.3 MB, free: 7.664 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.0008964/0.0008964, allocations: 93.8 kB / 281.2 MB, free: 5.48 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.1833/0.1833, allocations: 44.15 MB / 376.1 MB, free: 3.199 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.444e-06/7.464e-06, allocations: 3.938 kB / 444.1 MB, free: 15.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1158, allocations: 61.9 MB / 0.4941 GB, free: 1.578 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3073/0.4231, allocations: 91.98 MB / 0.5839 GB, free: 4.762 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002825/0.4235, allocations: 97.91 kB / 0.584 GB, free: 4.684 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02827/0.4517, allocations: 9.857 MB / 0.5936 GB, free: 10.76 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.4518, allocations: 4 kB / 0.5936 GB, free: 10.76 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.0006195/0.4524, allocations: 0.5059 MB / 0.5941 GB, free: 10.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.4525, allocations: 11.97 kB / 0.5942 GB, free: 10.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.934e-05/0.4525, allocations: 35.61 kB / 0.5942 GB, free: 10.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002697/0.4528, allocations: 239.2 kB / 0.5944 GB, free: 9.883 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.4528, allocations: 8 kB / 0.5944 GB, free: 9.875 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.796e-05/0.4529, allocations: 16 kB / 0.5944 GB, free: 9.859 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004802/0.4534, allocations: 349.1 kB / 0.5948 GB, free: 9.516 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004686/0.4538, allocations: 344.6 kB / 0.5951 GB, free: 9.172 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.4539, allocations: 4 kB / 0.5951 GB, free: 9.168 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.596e-05/0.4539, allocations: 4 kB / 0.5951 GB, free: 9.164 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.648e-05/0.4539, allocations: 24.64 kB / 0.5951 GB, free: 9.141 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001273/0.4552, allocations: 0.8066 MB / 0.5959 GB, free: 8.297 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004694/0.4557, allocations: 326.2 kB / 0.5962 GB, free: 7.969 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001587/0.4559, allocations: 108.9 kB / 0.5963 GB, free: 7.859 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.6e-05/0.4559, allocations: 11.92 kB / 0.5963 GB, free: 7.848 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.4559, allocations: 38.5 kB / 0.5964 GB, free: 7.801 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 1.593e-06/0.456, allocations: 4 kB / 0.5964 GB, free: 7.797 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004743/0.4564, allocations: 268.3 kB / 0.5966 GB, free: 7.531 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.757e-05/0.4565, allocations: 55.41 kB / 0.5967 GB, free: 7.465 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.4566, allocations: 151.6 kB / 0.5968 GB, free: 7.305 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.4566, allocations: 25.7 kB / 0.5969 GB, free: 7.273 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.642e-05/0.4567, allocations: 155.9 kB / 0.597 GB, free: 7.113 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.058e-05/0.4568, allocations: 59.11 kB / 0.5971 GB, free: 7.055 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.384e-05/0.4568, allocations: 0 / 0.5971 GB, free: 7.055 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.4569, allocations: 334.8 kB / 0.5974 GB, free: 6.719 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.4571, allocations: 103.8 kB / 0.5975 GB, free: 6.617 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001814/0.4573, allocations: 153.9 kB / 0.5976 GB, free: 6.445 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001773/0.4575, allocations: 127.9 kB / 0.5978 GB, free: 6.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4575, allocations: 0 / 0.5978 GB, free: 6.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004561/0.4579, allocations: 303.7 kB / 0.598 GB, free: 6.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.458, allocations: 9 kB / 0.5981 GB, free: 6.012 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.458, allocations: 4 kB / 0.5981 GB, free: 6.008 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.458, allocations: 0 / 0.5981 GB, free: 6.008 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006777/0.4587, allocations: 124 kB / 0.5982 GB, free: 5.887 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002055/0.4607, allocations: 3.762 MB / 0.6019 GB, free: 1.984 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001837/0.4609, allocations: 19.88 kB / 0.6019 GB, free: 1.965 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.034e-05/0.461, allocations: 15.98 kB / 0.6019 GB, free: 1.949 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].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 (25): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001067/0.4611, allocations: 114 kB / 0.602 GB, free: 1.832 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.734e-05/0.4611, allocations: 15.81 kB / 0.602 GB, free: 1.816 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006528/0.4618, allocations: 380.8 kB / 0.6024 GB, free: 1.441 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.4618, allocations: 4 kB / 0.6024 GB, free: 1.438 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.4618, allocations: 3.984 kB / 0.6024 GB, free: 1.434 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.4618, allocations: 3.906 kB / 0.6024 GB, free: 1.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003517/0.4622, allocations: 293.9 kB / 0.6027 GB, free: 1.105 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.4622, allocations: 0 / 0.6027 GB, free: 1.105 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006188/0.4628, allocations: 115.8 kB / 0.6028 GB, free: 0.9922 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.4628, allocations: 0 / 0.6028 GB, free: 0.9922 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-05/0.4629, allocations: 11.98 kB / 0.6028 GB, free: 0.9805 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002075/0.4649, allocations: 3.758 MB / 0.6065 GB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/0.465, allocations: 3.984 kB / 0.6065 GB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004426/0.4654, allocations: 374.5 kB / 0.6068 GB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.735e-05/0.4655, allocations: 92.86 kB / 0.6069 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.784e-05/0.4655, allocations: 0 / 0.6069 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001741/0.4657, allocations: 11.98 kB / 0.6069 GB, free: 12.58 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.961e-05/0.4658, allocations: 15.88 kB / 0.6069 GB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.25e-05/0.4658, allocations: 8 kB / 0.6069 GB, free: 12.55 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.875e-05/0.4659, allocations: 127.9 kB / 0.6071 GB, free: 12.43 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004017/0.4663, allocations: 87.69 kB / 0.6071 GB, free: 12.34 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003701/0.4667, allocations: 172.4 kB / 0.6073 GB, free: 12.17 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001167/0.4679, allocations: 331.6 kB / 0.6076 GB, free: 11.85 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.4679, allocations: 4.375 kB / 0.6076 GB, free: 11.84 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007516/0.4686, allocations: 215.7 kB / 0.6078 GB, free: 11.63 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002232/0.4689, allocations: 11.98 kB / 0.6078 GB, free: 11.62 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008384/0.4697, allocations: 421 kB / 0.6082 GB, free: 11.19 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004346/0.4702, allocations: 0.8332 MB / 0.6091 GB, free: 10.33 MB / 426.7 MB Notification: Performance of SimCode: time 3.3e-07/0.4702, allocations: 0 / 0.6091 GB, free: 10.33 MB / 426.7 MB Notification: Performance of Templates: time 0.007152/0.4773, allocations: 3.864 MB / 0.6128 GB, free: 6.504 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_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/kc_approxForcedConvection_KC.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches