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_laminar.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_laminar,tolerance=1e-07,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_laminar") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002881/0.002886, allocations: 371.3 kB / 15.97 MB, free: 6.195 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.983/3.983, allocations: 388.9 MB / 405.6 MB, free: 9.566 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.003677/0.003676, allocations: 223.6 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.6619/0.6619, allocations: 80.03 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004804/0.0004807, allocations: 19.98 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1006, allocations: 54.86 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.002654/0.1033, allocations: 1.833 MB / 0.6819 GB, free: 39.8 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002002/0.1053, allocations: 1.054 MB / 0.6829 GB, free: 38.74 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.1055, allocations: 4 kB / 0.6829 GB, free: 38.74 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003126/0.1058, allocations: 43.73 kB / 0.683 GB, free: 38.7 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002653/0.1061, allocations: 91.42 kB / 0.6831 GB, free: 38.61 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005859/0.1067, allocations: 147.6 kB / 0.6832 GB, free: 38.46 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005694/0.1073, allocations: 0.5094 MB / 0.6837 GB, free: 37.95 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.1074, allocations: 57.33 kB / 0.6838 GB, free: 37.89 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002289/0.1076, allocations: 159.2 kB / 0.6839 GB, free: 37.73 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002984/0.1079, allocations: 199.1 kB / 0.6841 GB, free: 37.54 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.704e-05/0.108, allocations: 12 kB / 0.6841 GB, free: 37.53 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006329/0.1087, allocations: 307.5 kB / 0.6844 GB, free: 37.23 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.1088, allocations: 99.56 kB / 0.6845 GB, free: 37.13 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.738e-05/0.1089, allocations: 93.45 kB / 0.6846 GB, free: 37.03 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004966/0.1094, allocations: 363 kB / 0.6849 GB, free: 36.68 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1094, allocations: 0 / 0.6849 GB, free: 36.68 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1094, allocations: 0 / 0.6849 GB, free: 36.68 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.1094, allocations: 0 / 0.6849 GB, free: 36.68 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001443/0.1109, allocations: 0.6977 MB / 0.6856 GB, free: 35.93 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.1109, allocations: 8.562 kB / 0.6856 GB, free: 35.92 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001099/0.1111, allocations: 51.44 kB / 0.6857 GB, free: 35.87 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004106/0.1115, allocations: 287.2 kB / 0.6859 GB, free: 35.55 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.584e-05/0.1115, allocations: 37 kB / 0.686 GB, free: 35.52 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.238e-05/0.1116, allocations: 44 kB / 0.686 GB, free: 35.47 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/0.1131, allocations: 0.6714 MB / 0.6867 GB, free: 34.79 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/0.1131, allocations: 0 / 0.6867 GB, free: 34.79 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.097e-05/0.1132, allocations: 16 kB / 0.6867 GB, free: 34.77 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.371e-05/0.1132, allocations: 32.88 kB / 0.6867 GB, free: 34.73 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001439/0.1147, allocations: 0.4956 MB / 0.6872 GB, free: 34.24 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002698/0.1174, allocations: 1.507 MB / 0.6887 GB, free: 32.67 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009031/0.1183, allocations: 315.5 kB / 0.689 GB, free: 32.33 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005564/0.1189, allocations: 158.5 kB / 0.6891 GB, free: 32.17 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.088e-05/0.119, allocations: 11.98 kB / 0.6891 GB, free: 32.16 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.1191, allocations: 34.56 kB / 0.6892 GB, free: 32.11 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 3.978e-06/0.1191, allocations: 4 kB / 0.6892 GB, free: 32.11 MB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.00202/0.1211, allocations: 0.5272 MB / 0.6897 GB, free: 31.58 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/0.1212, allocations: 110.9 kB / 0.6898 GB, free: 31.45 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008371/0.122, allocations: 0.5446 MB / 0.6903 GB, free: 30.9 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.907e-05/0.1221, allocations: 29.7 kB / 0.6904 GB, free: 30.86 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001841/0.1223, allocations: 231.9 kB / 0.6906 GB, free: 30.63 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.009e-05/0.1224, allocations: 67 kB / 0.6907 GB, free: 30.57 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.343e-05/0.1224, allocations: 4 kB / 0.6907 GB, free: 30.56 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.1225, allocations: 354.8 kB / 0.691 GB, free: 30.21 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006151/0.1232, allocations: 172.1 kB / 0.6912 GB, free: 30.04 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006529/0.1238, allocations: 286.9 kB / 0.6914 GB, free: 29.71 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006648/0.1245, allocations: 199.8 kB / 0.6916 GB, free: 29.51 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.1245, allocations: 4 kB / 0.6916 GB, free: 29.51 MB / 346.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001651/0.1262, allocations: 0.5164 MB / 0.6921 GB, free: 28.98 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.1262, allocations: 12.06 kB / 0.6921 GB, free: 28.97 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001111/0.1264, allocations: 39.98 kB / 0.6922 GB, free: 28.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.104e-05/0.1264, allocations: 15.88 kB / 0.6922 GB, free: 28.92 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003719/0.1268, allocations: 47.91 kB / 0.6922 GB, free: 28.87 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.426e-05/0.1268, allocations: 11.92 kB / 0.6923 GB, free: 28.86 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005567/0.1274, allocations: 83.25 kB / 0.6923 GB, free: 28.78 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.968e-05/0.1275, allocations: 20 kB / 0.6924 GB, free: 28.76 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: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,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 (33): * Single equations (assignments): 21 * 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.0003151/0.1278, allocations: 216.3 kB / 0.6926 GB, free: 28.54 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/0.1279, allocations: 39.44 kB / 0.6926 GB, free: 28.5 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001315/0.1292, allocations: 456.7 kB / 0.693 GB, free: 28.04 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.1293, allocations: 0 / 0.693 GB, free: 28.04 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.882e-05/0.1294, allocations: 39.98 kB / 0.6931 GB, free: 28 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001897/0.1296, allocations: 128.4 kB / 0.6932 GB, free: 27.86 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001292/0.1297, allocations: 8 kB / 0.6932 GB, free: 27.85 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005037/0.1302, allocations: 31.97 kB / 0.6932 GB, free: 27.82 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.1304, allocations: 19.98 kB / 0.6932 GB, free: 27.8 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001456/0.1318, allocations: 0.6007 MB / 0.6938 GB, free: 27.19 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001378/0.1332, allocations: 0.7075 MB / 0.6945 GB, free: 26.46 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006202/0.1339, allocations: 159.9 kB / 0.6947 GB, free: 26.31 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006082/0.1345, allocations: 395 kB / 0.6951 GB, free: 25.93 MB / 346.7 MB Notification: Performance of Backend: time 8.71e-07/0.1345, allocations: 4 kB / 0.6951 GB, free: 25.92 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001952/0.1365, allocations: 0.6634 MB / 0.6957 GB, free: 25.18 MB / 346.7 MB Notification: Performance of SimCode: time 0.002149/0.1387, allocations: 1.678 MB / 0.6973 GB, free: 23.38 MB / 346.7 MB Notification: Performance of Templates: time 0.02014/0.1589, allocations: 8.263 MB / 0.7054 GB, free: 15.19 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