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_turbulent.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_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.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003434/0.003434, allocations: 350.2 kB / 15.95 MB, free: 6.215 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.601/3.601, allocations: 341.5 MB / 358.2 MB, free: 12.64 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003467/0.003467, allocations: 221.1 kB / 397.9 MB, free: 4.984 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.551/0.551, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005/0.0005003, allocations: 16 kB / 0.5592 GB, free: 53.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08689/0.08742, allocations: 48.7 MB / 0.6068 GB, free: 4.625 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.002433/0.08992, allocations: 1.657 MB / 0.6084 GB, free: 2.953 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002128/0.0921, allocations: 1.006 MB / 0.6094 GB, free: 1.945 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001449/0.09229, allocations: 0 / 0.6094 GB, free: 1.945 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002839/0.09259, allocations: 43.75 kB / 0.6094 GB, free: 1.902 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002352/0.09284, allocations: 71.58 kB / 0.6095 GB, free: 1.832 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006282/0.09349, allocations: 131.6 kB / 0.6096 GB, free: 1.703 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004269/0.09393, allocations: 354.4 kB / 0.6099 GB, free: 1.355 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.296/0.3899, allocations: 31.95 kB / 0.61 GB, free: 88.67 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003725/0.3904, allocations: 101.7 kB / 0.6101 GB, free: 88.67 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002777/0.3907, allocations: 144.4 kB / 0.6102 GB, free: 88.67 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.627e-05/0.3907, allocations: 6.031 kB / 0.6102 GB, free: 88.67 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005833/0.3913, allocations: 183.3 kB / 0.6104 GB, free: 88.67 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.738e-05/0.3914, allocations: 69.61 kB / 0.6105 GB, free: 88.67 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.677e-05/0.3915, allocations: 71.7 kB / 0.6105 GB, free: 88.64 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004402/0.392, allocations: 242.7 kB / 0.6108 GB, free: 88.63 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.392, allocations: 1.281 kB / 0.6108 GB, free: 88.63 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.392, allocations: 0.7969 kB / 0.6108 GB, free: 88.63 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.351e-06/0.392, allocations: 0 / 0.6108 GB, free: 88.63 MB / 362.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.001411/0.3934, allocations: 0.596 MB / 0.6113 GB, free: 88.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.3935, allocations: 8.438 kB / 0.6113 GB, free: 88.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.773e-05/0.3936, allocations: 35.41 kB / 0.6114 GB, free: 88.16 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003425/0.394, allocations: 254.5 kB / 0.6116 GB, free: 87.94 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.836e-05/0.394, allocations: 21.66 kB / 0.6116 GB, free: 87.94 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.548e-05/0.3941, allocations: 23.88 kB / 0.6117 GB, free: 87.94 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/0.3952, allocations: 442.5 kB / 0.6121 GB, free: 87.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.3953, allocations: 0.5938 kB / 0.6121 GB, free: 87.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.534e-05/0.3953, allocations: 15.03 kB / 0.6121 GB, free: 87.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-05/0.3954, allocations: 20.92 kB / 0.6121 GB, free: 87.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001257/0.3966, allocations: 346.1 kB / 0.6125 GB, free: 87.87 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002069/0.3987, allocations: 1.091 MB / 0.6135 GB, free: 87.29 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008274/0.3996, allocations: 257.5 kB / 0.6138 GB, free: 87.22 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005476/0.4001, allocations: 130.1 kB / 0.6139 GB, free: 87.19 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.98e-05/0.4002, allocations: 6.656 kB / 0.6139 GB, free: 87.19 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.4002, allocations: 34.2 kB / 0.6139 GB, free: 87.15 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 3.577e-06/0.4003, allocations: 4.688 kB / 0.6139 GB, free: 87.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.002068/0.4023, allocations: 388.6 kB / 0.6143 GB, free: 87.11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/0.4024, allocations: 107 kB / 0.6144 GB, free: 86.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009457/0.4034, allocations: 404.4 kB / 0.6148 GB, free: 86.88 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.995e-05/0.4034, allocations: 29.86 kB / 0.6148 GB, free: 86.85 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002236/0.4036, allocations: 193.2 kB / 0.615 GB, free: 86.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.188e-05/0.4037, allocations: 49.17 kB / 0.615 GB, free: 86.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.573e-05/0.4038, allocations: 3.719 kB / 0.6151 GB, free: 86.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.4039, allocations: 346 kB / 0.6154 GB, free: 86.39 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007324/0.4047, allocations: 130.1 kB / 0.6155 GB, free: 86.39 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008012/0.4055, allocations: 249.3 kB / 0.6157 GB, free: 86.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008018/0.4063, allocations: 169.1 kB / 0.6159 GB, free: 86.24 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.4063, allocations: 2.438 kB / 0.6159 GB, free: 86.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001953/0.4083, allocations: 426.3 kB / 0.6163 GB, free: 86.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.841e-05/0.4083, allocations: 9.906 kB / 0.6163 GB, free: 86.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001017/0.4085, allocations: 20.56 kB / 0.6163 GB, free: 86.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.67e-05/0.4085, allocations: 7.953 kB / 0.6163 GB, free: 86.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005692/0.4091, allocations: 58.5 kB / 0.6164 GB, free: 86.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.002e-05/0.4091, allocations: 9.5 kB / 0.6164 GB, free: 86.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007157/0.4099, allocations: 66.52 kB / 0.6165 GB, free: 86.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.508e-05/0.41, allocations: 18.8 kB / 0.6165 GB, free: 86.15 MB / 362.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.0003657/0.4103, allocations: 182.5 kB / 0.6167 GB, free: 86.03 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000195/0.4105, allocations: 33.47 kB / 0.6167 GB, free: 86.01 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001472/0.412, allocations: 286.5 kB / 0.617 GB, free: 85.97 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.4121, allocations: 1.281 kB / 0.617 GB, free: 85.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-05/0.4122, allocations: 16.94 kB / 0.617 GB, free: 85.97 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002904/0.4125, allocations: 131.3 kB / 0.6171 GB, free: 85.86 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000141/0.4127, allocations: 5.922 kB / 0.6171 GB, free: 85.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007921/0.4135, allocations: 26.84 kB / 0.6171 GB, free: 85.86 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/0.4136, allocations: 18.44 kB / 0.6172 GB, free: 85.86 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002009/0.4157, allocations: 0.5148 MB / 0.6177 GB, free: 85.6 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001725/0.4174, allocations: 0.6025 MB / 0.6183 GB, free: 85.23 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007326/0.4182, allocations: 120.6 kB / 0.6184 GB, free: 85.22 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000652/0.4188, allocations: 287.9 kB / 0.6186 GB, free: 85.14 MB / 362.7 MB Notification: Performance of Backend: time 8.82e-07/0.4189, allocations: 1.094 kB / 0.6186 GB, free: 85.14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002475/0.4214, allocations: 474.5 kB / 0.6191 GB, free: 84.86 MB / 362.7 MB Notification: Performance of SimCode: time 0.002065/0.4234, allocations: 1.27 MB / 0.6203 GB, free: 83.91 MB / 362.7 MB Notification: Performance of Templates: time 0.02158/0.445, allocations: 5.607 MB / 0.6258 GB, free: 83.59 MB / 362.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