Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002623/0.002628, allocations: 364 kB / 15.96 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.907/3.907, allocations: 388.9 MB / 405.6 MB, free: 9.668 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003565/0.003565, allocations: 233.1 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.488/0.488, allocations: 80.02 MB / 0.5627 GB, free: 19.78 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004626/0.0004628, allocations: 18.75 kB / 0.6265 GB, free: 96.5 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09696/0.09745, allocations: 54.87 MB / 0.6801 GB, free: 41.63 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent): time 0.002381/0.09989, allocations: 1.743 MB / 0.6818 GB, free: 39.87 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001888/0.1018, allocations: 1.081 MB / 0.6829 GB, free: 38.78 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.102, allocations: 4 kB / 0.6829 GB, free: 38.77 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000284/0.1023, allocations: 55.66 kB / 0.6829 GB, free: 38.72 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002501/0.1025, allocations: 79.5 kB / 0.683 GB, free: 38.64 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005505/0.1031, allocations: 139.6 kB / 0.6831 GB, free: 38.5 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000491/0.1036, allocations: 457.9 kB / 0.6836 GB, free: 38.05 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.1037, allocations: 44.72 kB / 0.6836 GB, free: 38.01 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002065/0.1039, allocations: 147.2 kB / 0.6838 GB, free: 37.87 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002701/0.1042, allocations: 183.2 kB / 0.6839 GB, free: 37.69 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.16e-05/0.1043, allocations: 12 kB / 0.684 GB, free: 37.68 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004919/0.1048, allocations: 195.7 kB / 0.6841 GB, free: 37.48 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.773e-05/0.1049, allocations: 91.52 kB / 0.6842 GB, free: 37.39 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.658e-05/0.105, allocations: 85.52 kB / 0.6843 GB, free: 37.3 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004194/0.1054, allocations: 311.4 kB / 0.6846 GB, free: 37 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1055, allocations: 0 / 0.6846 GB, free: 37 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.1055, allocations: 0 / 0.6846 GB, free: 37 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.565e-06/0.1055, allocations: 0 / 0.6846 GB, free: 37 MB / 346.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.001299/0.1068, allocations: 0.6614 MB / 0.6853 GB, free: 36.29 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.1068, allocations: 8.031 kB / 0.6853 GB, free: 36.29 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001028/0.107, allocations: 39.53 kB / 0.6853 GB, free: 36.25 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003955/0.1074, allocations: 290.9 kB / 0.6856 GB, free: 35.92 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.199e-05/0.1074, allocations: 28.94 kB / 0.6856 GB, free: 35.89 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.384e-05/0.1075, allocations: 40 kB / 0.6856 GB, free: 35.86 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001268/0.1088, allocations: 0.5855 MB / 0.6862 GB, free: 35.25 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.1088, allocations: 4 kB / 0.6862 GB, free: 35.25 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.024e-05/0.1089, allocations: 16 kB / 0.6862 GB, free: 35.23 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.115e-05/0.1089, allocations: 28.94 kB / 0.6863 GB, free: 35.2 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00127/0.1102, allocations: 447.6 kB / 0.6867 GB, free: 34.77 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00228/0.1125, allocations: 1.371 MB / 0.688 GB, free: 33.33 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007988/0.1133, allocations: 283.6 kB / 0.6883 GB, free: 33.03 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005292/0.1139, allocations: 150.5 kB / 0.6884 GB, free: 32.87 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.185e-05/0.1139, allocations: 11.94 kB / 0.6884 GB, free: 32.86 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.114, allocations: 42.48 kB / 0.6885 GB, free: 32.81 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 3.496e-06/0.114, allocations: 4 kB / 0.6885 GB, free: 32.8 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.001831/0.1158, allocations: 493 kB / 0.689 GB, free: 32.32 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/0.1159, allocations: 114.8 kB / 0.6891 GB, free: 32.18 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007109/0.1166, allocations: 0.4901 MB / 0.6896 GB, free: 31.69 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.131e-05/0.1167, allocations: 29.7 kB / 0.6896 GB, free: 31.65 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001546/0.1168, allocations: 204.2 kB / 0.6898 GB, free: 31.45 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.529e-05/0.1169, allocations: 55.11 kB / 0.6898 GB, free: 31.39 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.818e-05/0.1169, allocations: 4 kB / 0.6898 GB, free: 31.39 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.301e-05/0.117, allocations: 350.8 kB / 0.6902 GB, free: 31.04 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005621/0.1176, allocations: 144 kB / 0.6903 GB, free: 30.9 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005549/0.1182, allocations: 181.3 kB / 0.6905 GB, free: 30.7 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005623/0.1188, allocations: 151.9 kB / 0.6906 GB, free: 30.55 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.1188, allocations: 0 / 0.6906 GB, free: 30.55 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001304/0.1201, allocations: 396.8 kB / 0.691 GB, free: 30.16 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.1201, allocations: 8.109 kB / 0.691 GB, free: 30.15 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.959e-05/0.1202, allocations: 39.98 kB / 0.691 GB, free: 30.11 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.1203, allocations: 0 / 0.691 GB, free: 30.11 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003412/0.1206, allocations: 35.97 kB / 0.6911 GB, free: 30.08 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.1206, allocations: 11.92 kB / 0.6911 GB, free: 30.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004346/0.1211, allocations: 67.36 kB / 0.6912 GB, free: 30 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.191e-05/0.1211, allocations: 12 kB / 0.6912 GB, free: 29.99 MB / 346.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.000241/0.1214, allocations: 186.5 kB / 0.6913 GB, free: 29.8 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001338/0.1215, allocations: 39.53 kB / 0.6914 GB, free: 29.76 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001131/0.1227, allocations: 400.5 kB / 0.6918 GB, free: 29.36 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.1227, allocations: 0 / 0.6918 GB, free: 29.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.441e-05/0.1228, allocations: 39.92 kB / 0.6918 GB, free: 29.32 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001467/0.123, allocations: 120.6 kB / 0.6919 GB, free: 29.18 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.1231, allocations: 0 / 0.6919 GB, free: 29.18 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004707/0.1236, allocations: 35.97 kB / 0.692 GB, free: 29.14 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.1237, allocations: 19.98 kB / 0.692 GB, free: 29.12 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001385/0.1251, allocations: 0.5734 MB / 0.6925 GB, free: 28.54 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001324/0.1264, allocations: 0.6756 MB / 0.6932 GB, free: 27.85 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005469/0.127, allocations: 143.9 kB / 0.6933 GB, free: 27.71 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005611/0.1276, allocations: 371 kB / 0.6937 GB, free: 27.35 MB / 346.7 MB Notification: Performance of Backend: time 1.042e-06/0.1276, allocations: 0 / 0.6937 GB, free: 27.35 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001711/0.1293, allocations: 0.5404 MB / 0.6942 GB, free: 26.75 MB / 346.7 MB Notification: Performance of SimCode: time 0.001899/0.1312, allocations: 1.505 MB / 0.6957 GB, free: 25.14 MB / 346.7 MB Notification: Performance of Templates: time 0.01705/0.1483, allocations: 6.945 MB / 0.7025 GB, free: 18.27 MB / 346.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