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_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.StraightPipe.kc_turbulent,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.|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_turbulent") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002794/0.002794, allocations: 364.4 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.107/4.107, allocations: 388.9 MB / 405.6 MB, free: 10.26 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.003674/0.003674, allocations: 227.5 kB / 451 MB, free: 145.1 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.5398/0.5398, allocations: 80.02 MB / 0.5627 GB, free: 19.85 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006866/0.0006869, allocations: 8 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1101, 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_turbulent): time 0.002304/0.1125, allocations: 1.654 MB / 0.6817 GB, free: 39.96 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001931/0.1145, allocations: 1.011 MB / 0.6827 GB, free: 38.94 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.1146, allocations: 0 / 0.6827 GB, free: 38.94 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002619/0.1149, allocations: 43.75 kB / 0.6828 GB, free: 38.9 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002145/0.1151, allocations: 79.56 kB / 0.6829 GB, free: 38.82 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005814/0.1157, allocations: 115.7 kB / 0.683 GB, free: 38.71 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003946/0.1161, allocations: 362.3 kB / 0.6833 GB, free: 38.35 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.341e-05/0.1162, allocations: 33.02 kB / 0.6833 GB, free: 38.32 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000181/0.1164, allocations: 107.5 kB / 0.6834 GB, free: 38.21 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000237/0.1167, allocations: 139.4 kB / 0.6836 GB, free: 38.08 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.272e-05/0.1167, allocations: 8 kB / 0.6836 GB, free: 38.07 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004911/0.1172, allocations: 179.7 kB / 0.6838 GB, free: 37.89 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.347e-05/0.1173, allocations: 71.73 kB / 0.6838 GB, free: 37.82 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.27e-05/0.1174, allocations: 65.52 kB / 0.6839 GB, free: 37.75 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003583/0.1178, allocations: 251.3 kB / 0.6841 GB, free: 37.51 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1178, allocations: 3.938 kB / 0.6841 GB, free: 37.5 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1178, allocations: 0 / 0.6841 GB, free: 37.5 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.18e-05/0.1178, allocations: 0 / 0.6841 GB, free: 37.5 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001239/0.1191, allocations: 0.5885 MB / 0.6847 GB, free: 36.87 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.1191, allocations: 8.562 kB / 0.6847 GB, free: 36.86 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.994e-05/0.1192, allocations: 31.61 kB / 0.6847 GB, free: 36.83 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000302/0.1195, allocations: 255.2 kB / 0.685 GB, free: 36.54 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.1196, allocations: 20.56 kB / 0.685 GB, free: 36.52 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.301e-05/0.1197, allocations: 31.94 kB / 0.685 GB, free: 36.49 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009888/0.1206, allocations: 437.9 kB / 0.6855 GB, free: 36.04 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.1207, allocations: 3.938 kB / 0.6855 GB, free: 36.04 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.937e-05/0.1207, allocations: 12 kB / 0.6855 GB, free: 36.03 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-05/0.1208, allocations: 20.5 kB / 0.6855 GB, free: 36.01 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001113/0.1219, allocations: 349.9 kB / 0.6858 GB, free: 35.66 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001847/0.1238, allocations: 1.096 MB / 0.6869 GB, free: 34.51 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000727/0.1245, allocations: 251.7 kB / 0.6871 GB, free: 34.23 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004542/0.125, allocations: 122.5 kB / 0.6872 GB, free: 34.11 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.161e-05/0.1251, allocations: 7.984 kB / 0.6873 GB, free: 34.1 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.1251, allocations: 38.5 kB / 0.6873 GB, free: 34.05 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 3.376e-06/0.1252, allocations: 4 kB / 0.6873 GB, free: 34.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.001598/0.1268, allocations: 393.1 kB / 0.6877 GB, free: 33.66 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.1268, allocations: 106.9 kB / 0.6878 GB, free: 33.53 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005462/0.1274, allocations: 409.5 kB / 0.6882 GB, free: 33.12 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/0.1274, allocations: 25.7 kB / 0.6882 GB, free: 33.09 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.1276, allocations: 187.8 kB / 0.6884 GB, free: 32.9 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.331e-05/0.1276, allocations: 47.34 kB / 0.6884 GB, free: 32.86 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-05/0.1277, allocations: 7.938 kB / 0.6884 GB, free: 32.85 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.619e-05/0.1278, allocations: 342.8 kB / 0.6887 GB, free: 32.5 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004938/0.1283, allocations: 136.1 kB / 0.6889 GB, free: 32.37 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005413/0.1288, allocations: 246.6 kB / 0.6891 GB, free: 32.08 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005821/0.1294, allocations: 159.8 kB / 0.6893 GB, free: 31.92 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.1294, allocations: 8 kB / 0.6893 GB, free: 31.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001339/0.1308, allocations: 421.1 kB / 0.6897 GB, free: 31.5 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.1308, allocations: 8.062 kB / 0.6897 GB, free: 31.49 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.619e-05/0.1309, allocations: 24 kB / 0.6897 GB, free: 31.46 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.872e-05/0.1309, allocations: 4 kB / 0.6897 GB, free: 31.46 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004052/0.1314, allocations: 55.89 kB / 0.6898 GB, free: 31.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/0.1314, allocations: 11.89 kB / 0.6898 GB, free: 31.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004599/0.1319, allocations: 67.5 kB / 0.6898 GB, free: 31.33 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.359e-05/0.1319, allocations: 16 kB / 0.6899 GB, free: 31.31 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0002366/0.1322, allocations: 182.6 kB / 0.69 GB, free: 31.13 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.1323, allocations: 31.62 kB / 0.6901 GB, free: 31.1 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009128/0.1332, allocations: 292.2 kB / 0.6903 GB, free: 30.8 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.1332, allocations: 96 / 0.6903 GB, free: 30.8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.504e-05/0.1333, allocations: 27.92 kB / 0.6904 GB, free: 30.78 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.1334, allocations: 116.6 kB / 0.6905 GB, free: 30.64 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.045e-05/0.1335, allocations: 7.984 kB / 0.6905 GB, free: 30.64 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004289/0.1339, allocations: 23.98 kB / 0.6905 GB, free: 30.61 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.674e-05/0.134, allocations: 15.98 kB / 0.6905 GB, free: 30.6 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001213/0.1353, allocations: 0.5113 MB / 0.691 GB, free: 30.08 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001118/0.1364, allocations: 0.6212 MB / 0.6916 GB, free: 29.44 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004705/0.1369, allocations: 111.9 kB / 0.6917 GB, free: 29.33 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004325/0.1374, allocations: 287.1 kB / 0.692 GB, free: 29.05 MB / 346.7 MB Notification: Performance of Backend: time 6.92e-07/0.1374, allocations: 4 kB / 0.692 GB, free: 29.05 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001633/0.139, allocations: 473.2 kB / 0.6925 GB, free: 28.55 MB / 346.7 MB Notification: Performance of SimCode: time 0.001514/0.1406, allocations: 1.265 MB / 0.6937 GB, free: 27.2 MB / 346.7 MB Notification: Performance of Templates: time 0.01434/0.1549, allocations: 5.599 MB / 0.6992 GB, free: 21.66 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],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],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_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,n,rho[1],rho[2],rho[3],time