Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.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.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.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00388/0.003879, 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.435/3.435, allocations: 341.5 MB / 358.2 MB, free: 28.65 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.003587/0.003587, allocations: 220.8 kB / 397.9 MB, free: 6.02 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.4833/0.4833, allocations: 76.1 MB / 0.5014 GB, free: 0.8008 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006357/0.000636, allocations: 8 kB / 0.5592 GB, free: 60.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1017, allocations: 48.71 MB / 0.6068 GB, free: 11.51 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.002651/0.1044, allocations: 1.872 MB / 0.6086 GB, free: 9.621 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003567/0.108, allocations: 1.871 MB / 0.6104 GB, free: 7.746 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002268/0.1083, allocations: 4 kB / 0.6104 GB, free: 7.742 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003058/0.1086, allocations: 55.66 kB / 0.6105 GB, free: 7.688 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002858/0.1089, allocations: 103.4 kB / 0.6106 GB, free: 7.586 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001462/0.1104, allocations: 350 kB / 0.6109 GB, free: 7.246 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006806/0.1111, allocations: 0.5326 MB / 0.6114 GB, free: 6.711 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.1112, allocations: 69.31 kB / 0.6115 GB, free: 6.641 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002575/0.1115, allocations: 171.1 kB / 0.6117 GB, free: 6.473 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003371/0.1119, allocations: 211 kB / 0.6119 GB, free: 6.266 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.243e-05/0.1119, allocations: 19.94 kB / 0.6119 GB, free: 6.246 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001535/0.1135, allocations: 0.6357 MB / 0.6125 GB, free: 5.609 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002143/0.1137, allocations: 103.4 kB / 0.6126 GB, free: 5.508 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001646/0.1139, allocations: 93.45 kB / 0.6127 GB, free: 5.41 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008909/0.1148, allocations: 0.4988 MB / 0.6132 GB, free: 4.91 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1148, allocations: 0 / 0.6132 GB, free: 4.91 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1148, allocations: 0 / 0.6132 GB, free: 4.91 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.1149, allocations: 0 / 0.6132 GB, free: 4.91 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001531/0.1164, allocations: 0.7681 MB / 0.6139 GB, free: 4.09 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.1165, allocations: 8.031 kB / 0.6139 GB, free: 4.082 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001187/0.1166, allocations: 59.34 kB / 0.614 GB, free: 4.023 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004392/0.117, allocations: 318.1 kB / 0.6143 GB, free: 3.672 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.808e-05/0.1171, allocations: 41.31 kB / 0.6143 GB, free: 3.633 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.837e-05/0.1172, allocations: 52 kB / 0.6144 GB, free: 3.582 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001641/0.1189, allocations: 0.7697 MB / 0.6151 GB, free: 2.797 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/0.1189, allocations: 3.938 kB / 0.6151 GB, free: 2.793 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.272e-05/0.119, allocations: 24 kB / 0.6152 GB, free: 2.77 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.007e-05/0.119, allocations: 25.31 kB / 0.6152 GB, free: 2.746 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001551/0.1206, allocations: 0.5749 MB / 0.6157 GB, free: 2.172 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003002/0.1236, allocations: 1.669 MB / 0.6174 GB, free: 448 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008929/0.1246, allocations: 319.5 kB / 0.6177 GB, free: 100 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000628/0.1252, allocations: 168.6 kB / 0.6178 GB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.86e-05/0.1253, allocations: 15.97 kB / 0.6179 GB, free: 15.91 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.975e-05/0.1254, allocations: 42.5 kB / 0.6179 GB, free: 15.86 MB / 298.7 MB Notification: Performance of pre-optimization done (n=20): time 3.587e-06/0.1254, allocations: 0 / 0.6179 GB, free: 15.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=20): time 0.002337/0.1277, allocations: 0.5283 MB / 0.6184 GB, free: 15.32 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.659e-05/0.1278, allocations: 106.8 kB / 0.6185 GB, free: 15.2 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001227/0.1291, allocations: 0.6353 MB / 0.6191 GB, free: 14.55 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.418e-05/0.1292, allocations: 29.7 kB / 0.6192 GB, free: 14.52 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000307/0.1295, allocations: 287.4 kB / 0.6194 GB, free: 14.23 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/0.1296, allocations: 71 kB / 0.6195 GB, free: 14.16 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.103e-05/0.1297, allocations: 12.03 kB / 0.6195 GB, free: 14.14 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002048/0.1299, allocations: 370.7 kB / 0.6199 GB, free: 13.77 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008086/0.1307, allocations: 204.9 kB / 0.6201 GB, free: 13.57 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001063/0.1318, allocations: 469.4 kB / 0.6205 GB, free: 12.98 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/0.1329, allocations: 287.2 kB / 0.6208 GB, free: 12.71 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-05/0.1329, allocations: 4 kB / 0.6208 GB, free: 12.7 MB / 298.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002492/0.1354, allocations: 0.707 MB / 0.6215 GB, free: 11.99 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.554e-05/0.1355, allocations: 16 kB / 0.6215 GB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001512/0.1356, allocations: 47.98 kB / 0.6215 GB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.796e-05/0.1357, allocations: 16 kB / 0.6216 GB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005332/0.1362, allocations: 79.77 kB / 0.6216 GB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.379e-05/0.1363, allocations: 19.92 kB / 0.6217 GB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000788/0.1371, allocations: 107 kB / 0.6218 GB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.1372, allocations: 39.98 kB / 0.6218 GB, free: 11.67 MB / 298.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.0005263/0.1378, allocations: 258.7 kB / 0.622 GB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001689/0.1379, allocations: 47.44 kB / 0.6221 GB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001719/0.1397, allocations: 493.5 kB / 0.6226 GB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.1397, allocations: 4 kB / 0.6226 GB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001263/0.1399, allocations: 39.98 kB / 0.6226 GB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003942/0.1403, allocations: 164.4 kB / 0.6228 GB, free: 10.65 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001477/0.1404, allocations: 4 kB / 0.6228 GB, free: 10.65 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005532/0.141, allocations: 23.94 kB / 0.6228 GB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/0.1411, allocations: 27.97 kB / 0.6228 GB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001804/0.1429, allocations: 0.6124 MB / 0.6234 GB, free: 9.977 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001823/0.1448, allocations: 0.7153 MB / 0.6241 GB, free: 9.242 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006866/0.1456, allocations: 155.9 kB / 0.6243 GB, free: 9.09 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0009257/0.1465, allocations: 446.7 kB / 0.6247 GB, free: 8.656 MB / 298.7 MB Notification: Performance of Backend: time 7.21e-07/0.1465, allocations: 4 kB / 0.6247 GB, free: 8.652 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003278/0.1498, allocations: 0.8285 MB / 0.6255 GB, free: 7.746 MB / 298.7 MB Notification: Performance of SimCode: time 0.003189/0.1531, allocations: 1.795 MB / 0.6272 GB, free: 5.824 MB / 298.7 MB Notification: Performance of Templates: time 0.03033/0.1835, allocations: 10.32 MB / 0.6373 GB, free: 11.57 MB / 314.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