Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002568/0.002574, allocations: 346.6 kB / 15.95 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.715/3.715, allocations: 341.5 MB / 358.2 MB, free: 12.63 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003479/0.003478, allocations: 221.1 kB / 397.9 MB, free: 4.98 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4652/0.4652, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006283/0.0006285, allocations: 16 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08901/0.08967, allocations: 48.71 MB / 0.6068 GB, free: 4.633 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.00244/0.09217, allocations: 1.712 MB / 0.6084 GB, free: 2.906 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00227/0.09448, allocations: 1.166 MB / 0.6096 GB, free: 1.738 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.09464, allocations: 3.938 kB / 0.6096 GB, free: 1.734 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002992/0.09495, allocations: 51.73 kB / 0.6096 GB, free: 1.684 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002026/0.09516, allocations: 87.5 kB / 0.6097 GB, free: 1.598 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000621/0.0958, allocations: 143.6 kB / 0.6098 GB, free: 1.457 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.264/0.3598, allocations: 445.5 kB / 0.6103 GB, free: 88.66 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.3601, allocations: 46.34 kB / 0.6103 GB, free: 88.66 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003176/0.3604, allocations: 138.9 kB / 0.6104 GB, free: 88.66 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003331/0.3607, allocations: 179.1 kB / 0.6106 GB, free: 88.62 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.692e-05/0.3608, allocations: 10.09 kB / 0.6106 GB, free: 88.62 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008507/0.3617, allocations: 250.2 kB / 0.6109 GB, free: 88.61 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001369/0.3618, allocations: 80.7 kB / 0.6109 GB, free: 88.59 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001284/0.362, allocations: 89.66 kB / 0.611 GB, free: 88.55 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006742/0.3626, allocations: 344.8 kB / 0.6114 GB, free: 88.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.3627, allocations: 0.5625 kB / 0.6114 GB, free: 88.52 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.3627, allocations: 0 / 0.6114 GB, free: 88.52 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.3627, allocations: 0 / 0.6114 GB, free: 88.52 MB / 362.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.001471/0.3642, allocations: 0.6667 MB / 0.612 GB, free: 88.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/0.3642, allocations: 8.531 kB / 0.612 GB, free: 88.04 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001231/0.3644, allocations: 44.89 kB / 0.6121 GB, free: 88.01 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004559/0.3648, allocations: 281.2 kB / 0.6123 GB, free: 87.78 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.31e-05/0.3649, allocations: 32.12 kB / 0.6124 GB, free: 87.78 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.133e-05/0.365, allocations: 36.53 kB / 0.6124 GB, free: 87.78 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/0.3666, allocations: 0.5677 MB / 0.6129 GB, free: 87.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.3666, allocations: 0 / 0.6129 GB, free: 87.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.174e-05/0.3667, allocations: 17.44 kB / 0.613 GB, free: 87.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.622e-05/0.3667, allocations: 19.34 kB / 0.613 GB, free: 87.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001477/0.3682, allocations: 438 kB / 0.6134 GB, free: 87.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002932/0.3712, allocations: 1.278 MB / 0.6147 GB, free: 87.15 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009998/0.3722, allocations: 312.8 kB / 0.6149 GB, free: 87.08 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006339/0.3729, allocations: 167.8 kB / 0.6151 GB, free: 87.05 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.223e-05/0.373, allocations: 12.12 kB / 0.6151 GB, free: 87.05 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/0.373, allocations: 38.59 kB / 0.6152 GB, free: 87.01 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 3.958e-06/0.373, allocations: 1.031 kB / 0.6152 GB, free: 87.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.002236/0.3753, allocations: 0.5226 MB / 0.6157 GB, free: 86.95 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/0.3753, allocations: 105.5 kB / 0.6158 GB, free: 86.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009135/0.3763, allocations: 0.4998 MB / 0.6163 GB, free: 86.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.749e-05/0.3763, allocations: 26.95 kB / 0.6163 GB, free: 86.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001756/0.3765, allocations: 210.7 kB / 0.6165 GB, free: 86.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.571e-05/0.3766, allocations: 56.84 kB / 0.6165 GB, free: 86.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.868e-05/0.3766, allocations: 5.938 kB / 0.6165 GB, free: 86.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.3768, allocations: 360.3 kB / 0.6169 GB, free: 86.22 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006701/0.3774, allocations: 156.7 kB / 0.617 GB, free: 86.22 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006923/0.3782, allocations: 242.5 kB / 0.6173 GB, free: 86.12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006859/0.3789, allocations: 174.4 kB / 0.6174 GB, free: 86.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.3789, allocations: 1.844 kB / 0.6174 GB, free: 86.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001648/0.3805, allocations: 467.2 kB / 0.6179 GB, free: 86.06 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/0.3806, allocations: 8.219 kB / 0.6179 GB, free: 86.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001114/0.3807, allocations: 30.48 kB / 0.6179 GB, free: 86.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.474e-05/0.3807, allocations: 6.906 kB / 0.6179 GB, free: 86.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003479/0.3811, allocations: 41.39 kB / 0.618 GB, free: 86.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/0.3811, allocations: 4.781 kB / 0.618 GB, free: 86.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005167/0.3817, allocations: 62.89 kB / 0.618 GB, free: 86.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.969e-05/0.3817, allocations: 15.56 kB / 0.618 GB, free: 86.03 MB / 362.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 () * Number of clocked 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.0003665/0.3821, allocations: 208.4 kB / 0.6182 GB, free: 85.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000134/0.3823, allocations: 40.95 kB / 0.6183 GB, free: 85.88 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001407/0.3837, allocations: 430.8 kB / 0.6187 GB, free: 85.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.3837, allocations: 2.953 kB / 0.6187 GB, free: 85.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-05/0.3838, allocations: 33.44 kB / 0.6187 GB, free: 85.84 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002912/0.3841, allocations: 154.1 kB / 0.6189 GB, free: 85.72 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/0.3842, allocations: 7.531 kB / 0.6189 GB, free: 85.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004678/0.3847, allocations: 26.7 kB / 0.6189 GB, free: 85.72 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.3848, allocations: 23.83 kB / 0.6189 GB, free: 85.71 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001648/0.3865, allocations: 0.6054 MB / 0.6195 GB, free: 85.45 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001532/0.388, allocations: 0.702 MB / 0.6202 GB, free: 85.07 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006729/0.3887, allocations: 163.3 kB / 0.6204 GB, free: 85.07 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007139/0.3895, allocations: 362.2 kB / 0.6207 GB, free: 84.99 MB / 362.7 MB Notification: Performance of Backend: time 6.71e-07/0.3895, allocations: 0.5625 kB / 0.6207 GB, free: 84.99 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002141/0.3916, allocations: 0.587 MB / 0.6213 GB, free: 84.62 MB / 362.7 MB Notification: Performance of SimCode: time 0.002226/0.3939, allocations: 1.516 MB / 0.6228 GB, free: 83.51 MB / 362.7 MB Notification: Performance of Templates: time 0.02131/0.4152, allocations: 7.428 MB / 0.63 GB, free: 82.07 MB / 362.7 MB "Warning: Resultfile and Reference have different end time points! Reffile[5004]=1.010000 File[8917]=1.800022 " Variables in the reference: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 Variables in the result:A_cross,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],Re_1[1],Re_1[2],Re_1[3],cp[1],cp[2],cp[3],eta[1],eta[2],eta[3],input_mflow_0.duration,input_mflow_0.height,input_mflow_0.offset,input_mflow_0.startTime,input_mflow_0.y,input_mflow_1.amplitude,input_mflow_1.freqHz,input_mflow_1.offset,input_mflow_1.phase,input_mflow_1.startTime,input_mflow_1.y,input_mflow_2.fallTimeConst,input_mflow_2.offset,input_mflow_2.outMax,input_mflow_2.riseTime,input_mflow_2.riseTimeConst,input_mflow_2.startTime,input_mflow_2.y,lambda[1],lambda[2],lambda[3],m_flow[1],m_flow[2],m_flow[3],m_flow_IN_con_1[1].A_cross,m_flow_IN_con_1[1].exp_Pr,m_flow_IN_con_1[1].perimeter,m_flow_IN_con_1[2].A_cross,m_flow_IN_con_1[2].exp_Pr,m_flow_IN_con_1[2].perimeter,m_flow_IN_con_1[3].A_cross,m_flow_IN_con_1[3].exp_Pr,m_flow_IN_con_1[3].perimeter,m_flow_IN_con_2[1].A_cross,m_flow_IN_con_2[1].exp_Pr,m_flow_IN_con_2[1].perimeter,m_flow_IN_con_2[2].A_cross,m_flow_IN_con_2[2].exp_Pr,m_flow_IN_con_2[2].perimeter,m_flow_IN_con_2[3].A_cross,m_flow_IN_con_2[3].exp_Pr,m_flow_IN_con_2[3].perimeter,m_flow_IN_con_3[1].A_cross,m_flow_IN_con_3[1].exp_Pr,m_flow_IN_con_3[1].perimeter,m_flow_IN_con_3[2].A_cross,m_flow_IN_con_3[2].exp_Pr,m_flow_IN_con_3[2].perimeter,m_flow_IN_con_3[3].A_cross,m_flow_IN_con_3[3].exp_Pr,m_flow_IN_con_3[3].perimeter,m_flow_IN_var_1[1].cp,m_flow_IN_var_1[1].eta,m_flow_IN_var_1[1].eta_wall,m_flow_IN_var_1[1].lambda,m_flow_IN_var_1[1].rho,m_flow_IN_var_1[2].cp,m_flow_IN_var_1[2].eta,m_flow_IN_var_1[2].eta_wall,m_flow_IN_var_1[2].lambda,m_flow_IN_var_1[2].rho,m_flow_IN_var_1[3].cp,m_flow_IN_var_1[3].eta,m_flow_IN_var_1[3].eta_wall,m_flow_IN_var_1[3].lambda,m_flow_IN_var_1[3].rho,m_flow_IN_var_2[1].cp,m_flow_IN_var_2[1].eta,m_flow_IN_var_2[1].eta_wall,m_flow_IN_var_2[1].lambda,m_flow_IN_var_2[1].rho,m_flow_IN_var_2[2].cp,m_flow_IN_var_2[2].eta,m_flow_IN_var_2[2].eta_wall,m_flow_IN_var_2[2].lambda,m_flow_IN_var_2[2].rho,m_flow_IN_var_2[3].cp,m_flow_IN_var_2[3].eta,m_flow_IN_var_2[3].eta_wall,m_flow_IN_var_2[3].lambda,m_flow_IN_var_2[3].rho,m_flow_IN_var_3[1].cp,m_flow_IN_var_3[1].eta,m_flow_IN_var_3[1].eta_wall,m_flow_IN_var_3[1].lambda,m_flow_IN_var_3[1].m_flow,m_flow_IN_var_3[1].rho,m_flow_IN_var_3[2].cp,m_flow_IN_var_3[2].eta,m_flow_IN_var_3[2].eta_wall,m_flow_IN_var_3[2].lambda,m_flow_IN_var_3[2].m_flow,m_flow_IN_var_3[2].rho,m_flow_IN_var_3[3].cp,m_flow_IN_var_3[3].eta,m_flow_IN_var_3[3].eta_wall,m_flow_IN_var_3[3].lambda,m_flow_IN_var_3[3].m_flow,m_flow_IN_var_3[3].rho,n,perimeter,rho[1],rho[2],rho[3],time