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_evenGapOverall.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_evenGapOverall,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.|m_flow.1.|m_flow.2.|m_flow.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.|Nu_4.1.|Nu_4.2.|Nu_4.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_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_evenGapOverall") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002622/0.002627, allocations: 352.3 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.365/3.365, 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.003423/0.003423, allocations: 225.1 kB / 397.9 MB, free: 4.984 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.5564/0.5564, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007019/0.0007022, allocations: 16 kB / 0.5592 GB, free: 53.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1048, allocations: 48.7 MB / 0.6068 GB, free: 4.633 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall): time 0.002671/0.1075, allocations: 1.84 MB / 0.6086 GB, free: 2.777 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.2732/0.3808, allocations: 1.872 MB / 0.6104 GB, free: 88.6 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002459/0.3811, allocations: 1.312 kB / 0.6104 GB, free: 88.6 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003132/0.3814, allocations: 49.7 kB / 0.6104 GB, free: 88.6 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003081/0.3818, allocations: 94.3 kB / 0.6105 GB, free: 88.6 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0018/0.3836, allocations: 350.4 kB / 0.6109 GB, free: 88.59 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009146/0.3845, allocations: 0.5254 MB / 0.6114 GB, free: 88.46 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001544/0.3847, allocations: 59 kB / 0.6114 GB, free: 88.45 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004226/0.3851, allocations: 174.6 kB / 0.6116 GB, free: 88.4 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004011/0.3856, allocations: 207.2 kB / 0.6118 GB, free: 88.35 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.835e-05/0.3856, allocations: 12 kB / 0.6118 GB, free: 88.35 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001932/0.3876, allocations: 0.6095 MB / 0.6124 GB, free: 88.32 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003031/0.3879, allocations: 97.19 kB / 0.6125 GB, free: 88.3 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002554/0.3882, allocations: 93.73 kB / 0.6126 GB, free: 88.25 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00118/0.3894, allocations: 487.8 kB / 0.6131 GB, free: 88.19 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.3894, allocations: 0 / 0.6131 GB, free: 88.19 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.454e-06/0.3895, allocations: 0 / 0.6131 GB, free: 88.19 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.3895, allocations: 5.25 kB / 0.6131 GB, free: 88.19 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.00173/0.3912, allocations: 0.7414 MB / 0.6138 GB, free: 87.67 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/0.3913, allocations: 8.625 kB / 0.6138 GB, free: 87.67 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000158/0.3915, allocations: 48.09 kB / 0.6138 GB, free: 87.65 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005599/0.392, allocations: 306.5 kB / 0.6141 GB, free: 87.41 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.487e-05/0.3921, allocations: 36.25 kB / 0.6142 GB, free: 87.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.3922, allocations: 46.97 kB / 0.6142 GB, free: 87.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001801/0.394, allocations: 0.7014 MB / 0.6149 GB, free: 87.34 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.007e-05/0.3941, allocations: 4.531 kB / 0.6149 GB, free: 87.34 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.621e-05/0.3942, allocations: 20.31 kB / 0.6149 GB, free: 87.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.9e-05/0.3942, allocations: 25.22 kB / 0.6149 GB, free: 87.34 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001698/0.396, allocations: 0.5196 MB / 0.6154 GB, free: 87.33 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003368/0.3994, allocations: 1.502 MB / 0.6169 GB, free: 86.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/0.4005, allocations: 330.3 kB / 0.6172 GB, free: 86.66 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006144/0.4011, allocations: 167.1 kB / 0.6174 GB, free: 86.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.719e-05/0.4012, allocations: 9.188 kB / 0.6174 GB, free: 86.64 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.4013, allocations: 40.89 kB / 0.6174 GB, free: 86.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 3.647e-06/0.4013, allocations: 0 / 0.6174 GB, free: 86.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=23): time 0.002275/0.4036, allocations: 0.5541 MB / 0.618 GB, free: 86.53 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.4037, allocations: 105.6 kB / 0.6181 GB, free: 86.41 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/0.4048, allocations: 0.5588 MB / 0.6186 GB, free: 86.29 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.847e-05/0.4049, allocations: 29.58 kB / 0.6186 GB, free: 86.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001972/0.4051, allocations: 233.2 kB / 0.6189 GB, free: 86.14 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/0.4052, allocations: 85.98 kB / 0.619 GB, free: 86.09 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.27e-05/0.4052, allocations: 4.781 kB / 0.619 GB, free: 86.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.4054, allocations: 358.1 kB / 0.6193 GB, free: 85.78 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006757/0.406, allocations: 163.2 kB / 0.6195 GB, free: 85.78 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007049/0.4068, allocations: 267.3 kB / 0.6197 GB, free: 85.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007177/0.4075, allocations: 195.9 kB / 0.6199 GB, free: 85.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.772e-06/0.4075, allocations: 1.156 kB / 0.6199 GB, free: 85.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001772/0.4093, allocations: 0.4899 MB / 0.6204 GB, free: 85.58 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.828e-05/0.4094, allocations: 9.219 kB / 0.6204 GB, free: 85.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001258/0.4095, allocations: 47.03 kB / 0.6204 GB, free: 85.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.088e-05/0.4095, allocations: 5.344 kB / 0.6204 GB, free: 85.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003478/0.4099, allocations: 38.94 kB / 0.6205 GB, free: 85.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.823e-05/0.4099, allocations: 15.78 kB / 0.6205 GB, free: 85.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00059/0.4105, allocations: 77.48 kB / 0.6206 GB, free: 85.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.831e-05/0.4106, allocations: 20.94 kB / 0.6206 GB, free: 85.54 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,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 (30): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0004215/0.411, allocations: 218 kB / 0.6208 GB, free: 85.42 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001461/0.4112, allocations: 46.16 kB / 0.6208 GB, free: 85.4 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001639/0.4129, allocations: 485.8 kB / 0.6213 GB, free: 85.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.647e-06/0.4129, allocations: 2.375 kB / 0.6213 GB, free: 85.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001142/0.413, allocations: 37.77 kB / 0.6213 GB, free: 85.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003806/0.4134, allocations: 168 kB / 0.6215 GB, free: 85.22 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001365/0.4136, allocations: 6.453 kB / 0.6215 GB, free: 85.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000508/0.4141, allocations: 23.86 kB / 0.6215 GB, free: 85.22 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.4142, allocations: 33 kB / 0.6216 GB, free: 85.21 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001667/0.4159, allocations: 0.6172 MB / 0.6222 GB, free: 84.95 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001605/0.4175, allocations: 0.7192 MB / 0.6229 GB, free: 84.57 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006575/0.4182, allocations: 169.8 kB / 0.623 GB, free: 84.57 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007559/0.419, allocations: 408.4 kB / 0.6234 GB, free: 84.48 MB / 362.7 MB Notification: Performance of Backend: time 5.81e-07/0.419, allocations: 1.75 kB / 0.6234 GB, free: 84.48 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002573/0.4216, allocations: 0.7566 MB / 0.6242 GB, free: 84.01 MB / 362.7 MB Notification: Performance of SimCode: time 0.00256/0.4242, allocations: 1.705 MB / 0.6258 GB, free: 82.75 MB / 362.7 MB Notification: Performance of Templates: time 0.02469/0.4489, allocations: 8.861 MB / 0.6345 GB, free: 79.99 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],m_flow[1],m_flow[2],m_flow[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],Nu_4[1],Nu_4[2],Nu_4[3],Re_1[1],Re_1[2],Re_1[3],Re_2[1],Re_2[2],Re_2[3],mflow_test,input_mflow_0.y,input_mflow_1.y,input_mflow_2.y Variables in the result:L,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],Nu_4[1],Nu_4[2],Nu_4[3],Re_1[1],Re_1[2],Re_1[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_1[1].L,m_flow_IN_con_1[1].h,m_flow_IN_con_1[1].s,m_flow_IN_con_1[2].L,m_flow_IN_con_1[2].h,m_flow_IN_con_1[2].s,m_flow_IN_con_1[3].L,m_flow_IN_con_1[3].h,m_flow_IN_con_1[3].s,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_con_3[1].L,m_flow_IN_con_3[1].h,m_flow_IN_con_3[1].s,m_flow_IN_con_3[2].L,m_flow_IN_con_3[2].h,m_flow_IN_con_3[2].s,m_flow_IN_con_3[3].L,m_flow_IN_con_3[3].h,m_flow_IN_con_3[3].s,m_flow_IN_con_4[1].L,m_flow_IN_con_4[1].h,m_flow_IN_con_4[1].s,m_flow_IN_con_4[2].L,m_flow_IN_con_4[2].h,m_flow_IN_con_4[2].s,m_flow_IN_con_4[3].L,m_flow_IN_con_4[3].h,m_flow_IN_con_4[3].s,m_flow_IN_var_1[1].cp,m_flow_IN_var_1[1].eta,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].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].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].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,m_flow_IN_var_3[1].cp,m_flow_IN_var_3[1].eta,m_flow_IN_var_3[1].lambda,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].lambda,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].lambda,m_flow_IN_var_3[3].rho,m_flow_IN_var_4[1].cp,m_flow_IN_var_4[1].eta,m_flow_IN_var_4[1].lambda,m_flow_IN_var_4[1].rho,m_flow_IN_var_4[2].cp,m_flow_IN_var_4[2].eta,m_flow_IN_var_4[2].lambda,m_flow_IN_var_4[2].rho,m_flow_IN_var_4[3].cp,m_flow_IN_var_4[3].eta,m_flow_IN_var_4[3].lambda,m_flow_IN_var_4[3].rho,mflow_test,n,rho[1],rho[2],rho[3],s,time