Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.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.Channel.kc_evenGapTurbulent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|velocity.1.|velocity.2.|velocity.3.|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.3.|Re_2.1.|Re_2.2.|Re_2.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|mflow_test|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002531/0.002531, allocations: 348.4 kB / 15.94 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.321/3.321, allocations: 341.5 MB / 358.2 MB, free: 12.64 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.003529/0.003529, allocations: 221.2 kB / 397.9 MB, free: 4.988 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.495/0.495, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004569/0.0004575, allocations: 12 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08406/0.08455, allocations: 48.71 MB / 0.6068 GB, free: 4.641 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.002236/0.08683, allocations: 1.551 MB / 0.6083 GB, free: 3.074 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001887/0.08876, allocations: 1.017 MB / 0.6093 GB, free: 2.055 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001191/0.08893, allocations: 0 / 0.6093 GB, free: 2.055 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002709/0.08922, allocations: 39.77 kB / 0.6093 GB, free: 2.016 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001998/0.08943, allocations: 63.7 kB / 0.6094 GB, free: 1.953 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005768/0.09002, allocations: 139.5 kB / 0.6095 GB, free: 1.816 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003503/0.09039, allocations: 259 kB / 0.6098 GB, free: 1.562 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.695e-05/0.09048, allocations: 17.67 kB / 0.6098 GB, free: 1.543 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001597/0.09065, allocations: 79.58 kB / 0.6098 GB, free: 1.465 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001924/0.09086, allocations: 107.6 kB / 0.6099 GB, free: 1.359 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.2559/0.3468, allocations: 4.578 kB / 0.61 GB, free: 88.68 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007676/0.3476, allocations: 222 kB / 0.6102 GB, free: 88.68 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.503e-05/0.3478, allocations: 53.56 kB / 0.6102 GB, free: 88.68 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.765e-05/0.3478, allocations: 59.86 kB / 0.6103 GB, free: 88.65 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003747/0.3482, allocations: 188.3 kB / 0.6105 GB, free: 88.64 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3483, allocations: 0 / 0.6105 GB, free: 88.64 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3483, allocations: 0 / 0.6105 GB, free: 88.64 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.3483, allocations: 0 / 0.6105 GB, free: 88.64 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001212/0.3495, allocations: 0.5415 MB / 0.611 GB, free: 88.22 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.3496, allocations: 12.59 kB / 0.611 GB, free: 88.22 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.734e-05/0.3496, allocations: 22.03 kB / 0.611 GB, free: 88.21 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002579/0.3499, allocations: 223.3 kB / 0.6112 GB, free: 87.99 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.3499, allocations: 10.78 kB / 0.6112 GB, free: 87.99 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.437e-05/0.35, allocations: 19.91 kB / 0.6113 GB, free: 87.99 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008292/0.3508, allocations: 285.9 kB / 0.6115 GB, free: 87.94 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.3509, allocations: 1.719 kB / 0.6115 GB, free: 87.94 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.053e-05/0.3509, allocations: 7.906 kB / 0.6115 GB, free: 87.94 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.548e-05/0.3509, allocations: 11.19 kB / 0.6115 GB, free: 87.94 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009779/0.3519, allocations: 247.9 kB / 0.6118 GB, free: 87.94 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001374/0.3533, allocations: 0.7717 MB / 0.6125 GB, free: 87.47 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008986/0.3542, allocations: 243.9 kB / 0.6128 GB, free: 87.4 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004654/0.3547, allocations: 111.7 kB / 0.6129 GB, free: 87.38 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.363e-05/0.3548, allocations: 11.92 kB / 0.6129 GB, free: 87.38 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.3548, allocations: 38.53 kB / 0.6129 GB, free: 87.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 3.346e-06/0.3548, allocations: 1.219 kB / 0.6129 GB, free: 87.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.001569/0.3564, allocations: 349.3 kB / 0.6133 GB, free: 87.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/0.3565, allocations: 107.7 kB / 0.6134 GB, free: 87.17 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003967/0.3569, allocations: 283.1 kB / 0.6136 GB, free: 87.07 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.3569, allocations: 26.89 kB / 0.6137 GB, free: 87.04 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.858e-05/0.357, allocations: 138.5 kB / 0.6138 GB, free: 86.95 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.623e-05/0.3571, allocations: 52.94 kB / 0.6138 GB, free: 86.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.926e-05/0.3571, allocations: 1.188 kB / 0.6138 GB, free: 86.91 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.77e-05/0.3572, allocations: 336.3 kB / 0.6142 GB, free: 86.6 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004548/0.3577, allocations: 98.02 kB / 0.6143 GB, free: 86.6 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004976/0.3582, allocations: 138.1 kB / 0.6144 GB, free: 86.55 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004996/0.3587, allocations: 112.7 kB / 0.6145 GB, free: 86.55 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.3587, allocations: 1.219 kB / 0.6145 GB, free: 86.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001159/0.3599, allocations: 284.7 kB / 0.6148 GB, free: 86.51 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.3599, allocations: 8.984 kB / 0.6148 GB, free: 86.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-05/0.36, allocations: 15.81 kB / 0.6148 GB, free: 86.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.36, allocations: 2.312 kB / 0.6148 GB, free: 86.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003689/0.3604, allocations: 41.8 kB / 0.6148 GB, free: 86.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.421e-05/0.3604, allocations: 4.406 kB / 0.6148 GB, free: 86.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003754/0.3608, allocations: 38.36 kB / 0.6149 GB, free: 86.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.644e-05/0.3608, allocations: 9.219 kB / 0.6149 GB, free: 86.5 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0002018/0.3611, allocations: 156.7 kB / 0.615 GB, free: 86.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.3612, allocations: 22.12 kB / 0.6151 GB, free: 86.38 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007963/0.362, allocations: 240.9 kB / 0.6153 GB, free: 86.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.362, allocations: 0 / 0.6153 GB, free: 86.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.411e-05/0.362, allocations: 11.92 kB / 0.6153 GB, free: 86.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000167/0.3622, allocations: 120 kB / 0.6154 GB, free: 86.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.632e-05/0.3623, allocations: 2.531 kB / 0.6154 GB, free: 86.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004036/0.3627, allocations: 25.55 kB / 0.6154 GB, free: 86.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.231e-05/0.3628, allocations: 13.92 kB / 0.6154 GB, free: 86.23 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001255/0.3641, allocations: 0.4934 MB / 0.6159 GB, free: 85.98 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001089/0.3652, allocations: 0.5671 MB / 0.6165 GB, free: 85.61 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004847/0.3657, allocations: 112 kB / 0.6166 GB, free: 85.61 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002892/0.366, allocations: 203.8 kB / 0.6168 GB, free: 85.53 MB / 362.7 MB Notification: Performance of Backend: time 6.62e-07/0.366, allocations: 0.5938 kB / 0.6168 GB, free: 85.53 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001499/0.3675, allocations: 349.5 kB / 0.6171 GB, free: 85.36 MB / 362.7 MB Notification: Performance of SimCode: time 0.001179/0.3687, allocations: 1.029 MB / 0.6181 GB, free: 84.55 MB / 362.7 MB Notification: Performance of Templates: time 0.01184/0.3806, allocations: 3.928 MB / 0.622 GB, free: 84.38 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,velocity[1],velocity[2],velocity[3],cp[1],cp[2],cp[3],eta[1],eta[2],eta[3],lambda[1],lambda[2],lambda[3],rho[1],rho[2],rho[3],m_flow[1],m_flow[2],m_flow[3],Re_2[1],Re_2[2],Re_2[3],Nu_2[1],Nu_2[2],Nu_2[3],mflow_test,input_mflow_0.y,input_mflow_1.y,input_mflow_2.y Variables in the result:L,Nu_2[1],Nu_2[2],Nu_2[3],Re_2[1],Re_2[2],Re_2[3],cp[1],cp[2],cp[3],d_hyd,eta[1],eta[2],eta[3],h,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_2[1].L,m_flow_IN_con_2[1].h,m_flow_IN_con_2[1].s,m_flow_IN_con_2[2].L,m_flow_IN_con_2[2].h,m_flow_IN_con_2[2].s,m_flow_IN_con_2[3].L,m_flow_IN_con_2[3].h,m_flow_IN_con_2[3].s,m_flow_IN_var_2[1].cp,m_flow_IN_var_2[1].eta,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].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].lambda,m_flow_IN_var_2[3].rho,mflow_test,n,rho[1],rho[2],rho[3],s,time,velocity[1],velocity[2],velocity[3]