Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.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.HelicalPipe.kc_turbulent,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|n_nt.1.|n_nt.2.|n_nt.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_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.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_1.y|input_mflow_2.y|input_mflow_0.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004501/0.004501, allocations: 348.5 kB / 15.94 MB, free: 6.219 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.472/3.472, allocations: 341.5 MB / 358.2 MB, free: 28.62 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.005472/0.005472, allocations: 223.1 kB / 397.9 MB, free: 6.027 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4786/0.4786, allocations: 76.09 MB / 0.5014 GB, free: 0.8125 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006327/0.000633, allocations: 12 kB / 0.5592 GB, free: 60.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08756/0.08823, allocations: 48.71 MB / 0.6068 GB, free: 11.52 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent): time 0.002517/0.0908, allocations: 1.743 MB / 0.6085 GB, free: 9.766 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002009/0.0929, allocations: 1.068 MB / 0.6095 GB, free: 8.691 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001288/0.09307, allocations: 0 / 0.6095 GB, free: 8.691 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000278/0.09337, allocations: 59.72 kB / 0.6096 GB, free: 8.633 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002528/0.09363, allocations: 83.44 kB / 0.6097 GB, free: 8.551 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005736/0.09422, allocations: 139.6 kB / 0.6098 GB, free: 8.414 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005463/0.09479, allocations: 453.9 kB / 0.6102 GB, free: 7.969 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.09494, allocations: 44.7 kB / 0.6103 GB, free: 7.926 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002312/0.09519, allocations: 155.2 kB / 0.6104 GB, free: 7.773 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002906/0.09549, allocations: 187.2 kB / 0.6106 GB, free: 7.59 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.331e-05/0.09556, allocations: 8 kB / 0.6106 GB, free: 7.582 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005728/0.09614, allocations: 203.7 kB / 0.6108 GB, free: 7.383 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.09627, allocations: 91.52 kB / 0.6109 GB, free: 7.293 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.234e-05/0.09638, allocations: 85.45 kB / 0.611 GB, free: 7.203 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004785/0.09686, allocations: 315.4 kB / 0.6113 GB, free: 6.895 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.09688, allocations: 0 / 0.6113 GB, free: 6.895 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.0969, allocations: 0 / 0.6113 GB, free: 6.895 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.09691, allocations: 0 / 0.6113 GB, free: 6.895 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001369/0.09829, allocations: 0.6511 MB / 0.6119 GB, free: 6.191 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.09835, allocations: 12.03 kB / 0.6119 GB, free: 6.18 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.09846, allocations: 43.44 kB / 0.6119 GB, free: 6.137 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004328/0.09891, allocations: 294.3 kB / 0.6122 GB, free: 5.809 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.244e-05/0.09896, allocations: 29 kB / 0.6123 GB, free: 5.781 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.834e-05/0.09904, allocations: 36 kB / 0.6123 GB, free: 5.746 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/0.1004, allocations: 0.5855 MB / 0.6129 GB, free: 5.141 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.1004, allocations: 0 / 0.6129 GB, free: 5.141 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.205e-05/0.1005, allocations: 16 kB / 0.6129 GB, free: 5.125 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.425e-05/0.1005, allocations: 21 kB / 0.6129 GB, free: 5.105 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0013/0.1018, allocations: 451.5 kB / 0.6133 GB, free: 4.664 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002439/0.1043, allocations: 1.375 MB / 0.6147 GB, free: 3.223 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008076/0.1051, allocations: 287.6 kB / 0.6149 GB, free: 2.914 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005229/0.1057, allocations: 142.5 kB / 0.6151 GB, free: 2.766 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.343e-05/0.1058, allocations: 8 kB / 0.6151 GB, free: 2.758 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.1058, allocations: 42.5 kB / 0.6151 GB, free: 2.707 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 3.687e-06/0.1058, allocations: 0 / 0.6151 GB, free: 2.707 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.001894/0.1077, allocations: 497.1 kB / 0.6156 GB, free: 2.215 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.1078, allocations: 106.8 kB / 0.6157 GB, free: 2.086 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007504/0.1085, allocations: 0.4979 MB / 0.6162 GB, free: 1.586 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.189e-05/0.1086, allocations: 29.7 kB / 0.6162 GB, free: 1.551 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.1088, allocations: 208.1 kB / 0.6164 GB, free: 1.344 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.743e-05/0.1088, allocations: 59.19 kB / 0.6165 GB, free: 1.285 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.591e-05/0.1089, allocations: 4.031 kB / 0.6165 GB, free: 1.281 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.372e-05/0.109, allocations: 350.8 kB / 0.6168 GB, free: 0.9297 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005441/0.1095, allocations: 136 kB / 0.6169 GB, free: 0.7969 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005629/0.1101, allocations: 189.4 kB / 0.6171 GB, free: 0.5938 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005665/0.1107, allocations: 151.9 kB / 0.6173 GB, free: 456 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.1107, allocations: 0 / 0.6173 GB, free: 456 kB / 282.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00138/0.1121, allocations: 407.2 kB / 0.6177 GB, free: 44 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.1121, allocations: 7.594 kB / 0.6177 GB, free: 40 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.224e-05/0.1123, allocations: 27.98 kB / 0.6177 GB, free: 12 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.1123, allocations: 4 kB / 0.6177 GB, free: 8 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004004/0.1127, allocations: 48.03 kB / 0.6177 GB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.686e-05/0.1127, allocations: 7.938 kB / 0.6177 GB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005045/0.1132, allocations: 59.41 kB / 0.6178 GB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.739e-05/0.1133, allocations: 19.95 kB / 0.6178 GB, free: 15.88 MB / 298.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 9 * 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.0003254/0.1136, allocations: 179.1 kB / 0.618 GB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000149/0.1138, allocations: 35.53 kB / 0.618 GB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001386/0.1152, allocations: 408.6 kB / 0.6184 GB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.1152, allocations: 0 / 0.6184 GB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.666e-05/0.1154, allocations: 27.98 kB / 0.6184 GB, free: 15.22 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003283/0.1157, allocations: 152.5 kB / 0.6186 GB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/0.1158, allocations: 15.94 kB / 0.6186 GB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005005/0.1163, allocations: 19.98 kB / 0.6186 GB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.1165, allocations: 15.98 kB / 0.6186 GB, free: 15 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001628/0.1181, allocations: 0.5773 MB / 0.6192 GB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001625/0.1198, allocations: 0.6841 MB / 0.6199 GB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006691/0.1205, allocations: 148.3 kB / 0.62 GB, free: 13.57 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0009659/0.1215, allocations: 371 kB / 0.6204 GB, free: 13.2 MB / 298.7 MB Notification: Performance of Backend: time 9.02e-07/0.1215, allocations: 4 kB / 0.6204 GB, free: 13.2 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0028/0.1243, allocations: 0.5367 MB / 0.6209 GB, free: 12.6 MB / 298.7 MB Notification: Performance of SimCode: time 0.003538/0.1279, allocations: 1.509 MB / 0.6224 GB, free: 10.98 MB / 298.7 MB Notification: Performance of Templates: time 0.02726/0.1552, allocations: 6.945 MB / 0.6291 GB, free: 4.109 MB / 298.7 MB "Warning: Resultfile and Reference have different end time points! Reffile[5004]=1.010000 File[8917]=1.800022 " Variables in the reference:time,n_nt[1],n_nt[2],n_nt[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_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],Re,Pr[1],Pr[2],Pr[3],input_mflow_1.y,input_mflow_2.y,input_mflow_0.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],Pr[1],Pr[2],Pr[3],Re,Re_1[1],Re_1[2],Re_1[3],cp[1],cp[2],cp[3],d_hyd,eta[1],eta[2],eta[3],frac_dtoL,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].d_hyd,m_flow_IN_con_1[1].h,m_flow_IN_con_1[1].n_nt,m_flow_IN_con_1[2].L,m_flow_IN_con_1[2].d_hyd,m_flow_IN_con_1[2].h,m_flow_IN_con_1[2].n_nt,m_flow_IN_con_1[3].L,m_flow_IN_con_1[3].d_hyd,m_flow_IN_con_1[3].h,m_flow_IN_con_1[3].n_nt,m_flow_IN_con_2[1].L,m_flow_IN_con_2[1].d_hyd,m_flow_IN_con_2[1].h,m_flow_IN_con_2[1].n_nt,m_flow_IN_con_2[2].L,m_flow_IN_con_2[2].d_hyd,m_flow_IN_con_2[2].h,m_flow_IN_con_2[2].n_nt,m_flow_IN_con_2[3].L,m_flow_IN_con_2[3].d_hyd,m_flow_IN_con_2[3].h,m_flow_IN_con_2[3].n_nt,m_flow_IN_con_3[1].L,m_flow_IN_con_3[1].d_hyd,m_flow_IN_con_3[1].h,m_flow_IN_con_3[1].n_nt,m_flow_IN_con_3[2].L,m_flow_IN_con_3[2].d_hyd,m_flow_IN_con_3[2].h,m_flow_IN_con_3[2].n_nt,m_flow_IN_con_3[3].L,m_flow_IN_con_3[3].d_hyd,m_flow_IN_con_3[3].h,m_flow_IN_con_3[3].n_nt,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,n,n_nt[1],n_nt[2],n_nt[3],rho[1],rho[2],rho[3],time