Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.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.StraightPipe.kc_overall,tolerance=1e-05,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.|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.|Nu_4.1.|Nu_4.2.|Nu_4.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004775/0.004782, allocations: 368.8 kB / 15.96 MB, free: 6.199 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 4.136/4.136, allocations: 388.9 MB / 405.6 MB, free: 9.641 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.005787/0.005787, allocations: 216.2 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.5197/0.5197, allocations: 80.02 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004948/0.000495, allocations: 18.41 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1022, allocations: 54.88 MB / 0.6801 GB, free: 41.63 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.002781/0.105, allocations: 1.872 MB / 0.682 GB, free: 39.74 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003651/0.1087, allocations: 1.872 MB / 0.6838 GB, free: 37.86 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002281/0.109, allocations: 7.938 kB / 0.6838 GB, free: 37.85 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003157/0.1093, allocations: 55.66 kB / 0.6839 GB, free: 37.8 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003564/0.1097, allocations: 99.42 kB / 0.6839 GB, free: 37.7 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001606/0.1113, allocations: 352.8 kB / 0.6843 GB, free: 37.36 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006963/0.1121, allocations: 0.5287 MB / 0.6848 GB, free: 36.82 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.1122, allocations: 65.33 kB / 0.6849 GB, free: 36.76 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002544/0.1125, allocations: 171.1 kB / 0.685 GB, free: 36.59 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003166/0.1128, allocations: 207 kB / 0.6852 GB, free: 36.39 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.288e-05/0.1129, allocations: 15.94 kB / 0.6852 GB, free: 36.37 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001552/0.1145, allocations: 0.6395 MB / 0.6859 GB, free: 35.73 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001552/0.1146, allocations: 95.53 kB / 0.686 GB, free: 35.64 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001582/0.1148, allocations: 101.4 kB / 0.6861 GB, free: 35.53 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008403/0.1157, allocations: 0.491 MB / 0.6865 GB, free: 35.04 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.1157, allocations: 0 / 0.6865 GB, free: 35.04 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1157, allocations: 0 / 0.6865 GB, free: 35.04 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.275e-06/0.1157, allocations: 0 / 0.6865 GB, free: 35.04 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001542/0.1173, allocations: 0.7681 MB / 0.6873 GB, free: 34.22 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.1173, allocations: 12.02 kB / 0.6873 GB, free: 34.21 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000157/0.1175, allocations: 59.28 kB / 0.6873 GB, free: 34.15 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004522/0.118, allocations: 316.3 kB / 0.6877 GB, free: 33.8 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.459e-05/0.118, allocations: 41.31 kB / 0.6877 GB, free: 33.76 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.612e-05/0.1181, allocations: 52 kB / 0.6877 GB, free: 33.71 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001614/0.1198, allocations: 0.7697 MB / 0.6885 GB, free: 32.93 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.266e-05/0.1198, allocations: 0 / 0.6885 GB, free: 32.93 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.7e-05/0.1199, allocations: 31.92 kB / 0.6885 GB, free: 32.9 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.207e-05/0.1199, allocations: 33.25 kB / 0.6886 GB, free: 32.87 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001577/0.1215, allocations: 0.571 MB / 0.6891 GB, free: 32.29 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002919/0.1245, allocations: 1.657 MB / 0.6907 GB, free: 30.57 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008654/0.1254, allocations: 323.6 kB / 0.691 GB, free: 30.23 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000563/0.126, allocations: 158.5 kB / 0.6912 GB, free: 30.06 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.372e-05/0.126, allocations: 19.92 kB / 0.6912 GB, free: 30.04 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.1261, allocations: 42.5 kB / 0.6912 GB, free: 29.99 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 3.416e-06/0.1261, allocations: 0 / 0.6912 GB, free: 29.99 MB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.002029/0.1281, allocations: 0.5399 MB / 0.6918 GB, free: 29.45 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.1282, allocations: 102.8 kB / 0.6919 GB, free: 29.32 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009385/0.1291, allocations: 0.6315 MB / 0.6925 GB, free: 28.68 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.657e-05/0.1292, allocations: 25.7 kB / 0.6925 GB, free: 28.65 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002665/0.1295, allocations: 295.3 kB / 0.6928 GB, free: 28.36 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.528e-05/0.1296, allocations: 71.09 kB / 0.6929 GB, free: 28.29 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.002e-05/0.1296, allocations: 8 kB / 0.6929 GB, free: 28.28 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.1297, allocations: 366.8 kB / 0.6932 GB, free: 27.91 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006616/0.1304, allocations: 196.9 kB / 0.6934 GB, free: 27.72 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007973/0.1312, allocations: 477.2 kB / 0.6939 GB, free: 27.13 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007946/0.132, allocations: 286.5 kB / 0.6941 GB, free: 26.85 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.1321, allocations: 4 kB / 0.6941 GB, free: 26.85 MB / 346.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001976/0.134, allocations: 0.708 MB / 0.6948 GB, free: 26.13 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/0.1341, allocations: 11.95 kB / 0.6948 GB, free: 26.12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001219/0.1342, allocations: 52.02 kB / 0.6949 GB, free: 26.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.33e-05/0.1343, allocations: 16 kB / 0.6949 GB, free: 26.05 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004797/0.1348, allocations: 83.7 kB / 0.695 GB, free: 25.97 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.925e-05/0.1348, allocations: 19.92 kB / 0.695 GB, free: 25.95 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006654/0.1355, allocations: 114.9 kB / 0.6951 GB, free: 25.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.024e-05/0.1356, allocations: 32 kB / 0.6951 GB, free: 25.81 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].roughness,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 (57): * Single equations (assignments): 45 * 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.0003638/0.1359, allocations: 257.5 kB / 0.6954 GB, free: 25.55 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/0.1361, allocations: 47.42 kB / 0.6954 GB, free: 25.5 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001432/0.1375, allocations: 485.5 kB / 0.6959 GB, free: 25.02 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.1375, allocations: 0 / 0.6959 GB, free: 25.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001085/0.1377, allocations: 43.98 kB / 0.6959 GB, free: 24.98 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001645/0.1378, allocations: 128.5 kB / 0.6961 GB, free: 24.83 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001384/0.138, allocations: 4 kB / 0.6961 GB, free: 24.83 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005026/0.1385, allocations: 27.97 kB / 0.6961 GB, free: 24.8 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.81e-05/0.1386, allocations: 19.98 kB / 0.6961 GB, free: 24.78 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001466/0.1401, allocations: 0.6195 MB / 0.6967 GB, free: 24.16 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001385/0.1415, allocations: 0.7152 MB / 0.6974 GB, free: 23.42 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005824/0.1421, allocations: 167.8 kB / 0.6976 GB, free: 23.26 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000672/0.1428, allocations: 446.7 kB / 0.698 GB, free: 22.82 MB / 346.7 MB Notification: Performance of Backend: time 4.81e-07/0.1428, allocations: 0 / 0.698 GB, free: 22.82 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002249/0.145, allocations: 0.8286 MB / 0.6988 GB, free: 21.92 MB / 346.7 MB Notification: Performance of SimCode: time 0.00223/0.1473, allocations: 1.783 MB / 0.7006 GB, free: 20 MB / 346.7 MB Notification: Performance of Templates: time 0.02398/0.1713, allocations: 10.33 MB / 0.7106 GB, free: 9.75 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,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],Nu_4[1],Nu_4[2],Nu_4[3],Re,Pr[1],Pr[2],Pr[3],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],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,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[2].L,m_flow_IN_con_1[2].d_hyd,m_flow_IN_con_1[3].L,m_flow_IN_con_1[3].d_hyd,m_flow_IN_con_2[1].L,m_flow_IN_con_2[1].d_hyd,m_flow_IN_con_2[2].L,m_flow_IN_con_2[2].d_hyd,m_flow_IN_con_2[3].L,m_flow_IN_con_2[3].d_hyd,m_flow_IN_con_3[1].L,m_flow_IN_con_3[1].d_hyd,m_flow_IN_con_3[2].L,m_flow_IN_con_3[2].d_hyd,m_flow_IN_con_3[3].L,m_flow_IN_con_3[3].d_hyd,m_flow_IN_con_4[1].L,m_flow_IN_con_4[1].d_hyd,m_flow_IN_con_4[2].L,m_flow_IN_con_4[2].d_hyd,m_flow_IN_con_4[3].L,m_flow_IN_con_4[3].d_hyd,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,n,rho[1],rho[2],rho[3],time