Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dimlesslength|abscissa.1.|abscissa.2.|abscissa.3.|length|dimlesslength|Pr.1.|Pr.2.|Pr.3.|Re.1.|Re.2.|Re.3.|velocity.1.|velocity.2.|velocity.3.|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.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.|m_flow.1.|m_flow.2.|m_flow.3.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar") Notification: Performance of loadModel(ModelicaTest): time 2.267/2.267, allocations: 235.1 MB / 243 MB, free: 9.496 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.473e-05/3.508e-05, allocations: 4 kB / 303.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2764, allocations: 54.85 MB / 358.1 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1362/0.4126, allocations: 87.53 MB / 445.6 MB, free: 7.277 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003007/0.4129, allocations: 87.94 kB / 445.7 MB, free: 7.191 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05449/0.4674, allocations: 14.2 MB / 459.9 MB, free: 8.762 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.401e-06/0.4675, allocations: 0 / 459.9 MB, free: 8.762 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.973e-05/0.4675, allocations: 8 kB / 459.9 MB, free: 8.754 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001026/0.4685, allocations: 0.6171 MB / 460.5 MB, free: 8.094 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.4686, allocations: 8.031 kB / 460.5 MB, free: 8.086 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001289/0.4687, allocations: 59.3 kB / 460.6 MB, free: 8.027 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004919/0.4692, allocations: 290.4 kB / 460.9 MB, free: 7.703 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.318e-05/0.4693, allocations: 16 kB / 460.9 MB, free: 7.688 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/0.4694, allocations: 35.91 kB / 460.9 MB, free: 7.652 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009184/0.4703, allocations: 426.3 kB / 461.3 MB, free: 7.234 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001642/0.472, allocations: 0.5465 MB / 461.9 MB, free: 6.68 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.952e-05/0.4721, allocations: 0 / 461.9 MB, free: 6.68 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.064e-05/0.4722, allocations: 3.953 kB / 461.9 MB, free: 6.676 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001076/0.4723, allocations: 37.3 kB / 461.9 MB, free: 6.641 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005229/0.4776, allocations: 1.242 MB / 463.2 MB, free: 5.355 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001942/0.4796, allocations: 450.5 kB / 463.6 MB, free: 4.906 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00054/0.4801, allocations: 141.2 kB / 463.7 MB, free: 4.766 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.503e-05/0.4802, allocations: 15.88 kB / 463.7 MB, free: 4.75 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.862e-05/0.4803, allocations: 38.56 kB / 463.8 MB, free: 4.703 MB / 394.7 MB Notification: Performance of pre-optimization done (n=25): time 5.346e-06/0.4803, allocations: 0 / 463.8 MB, free: 4.703 MB / 394.7 MB Notification: Performance of matching and sorting (n=25): time 0.001563/0.4819, allocations: 333.1 kB / 464.1 MB, free: 4.371 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.456e-05/0.482, allocations: 55.41 kB / 464.2 MB, free: 4.305 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004204/0.4824, allocations: 193.7 kB / 464.3 MB, free: 4.105 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.589e-05/0.4825, allocations: 25.7 kB / 464.4 MB, free: 4.074 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000316/0.4829, allocations: 309.9 kB / 464.7 MB, free: 3.77 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001741/0.4831, allocations: 86.75 kB / 464.8 MB, free: 3.684 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.908e-05/0.4831, allocations: 0 / 464.8 MB, free: 3.684 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002291/0.4834, allocations: 322.8 kB / 465.1 MB, free: 3.359 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006002/0.484, allocations: 144.2 kB / 465.2 MB, free: 3.219 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007512/0.4848, allocations: 248.2 kB / 465.5 MB, free: 2.934 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007465/0.4855, allocations: 185.2 kB / 465.6 MB, free: 2.754 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.912e-06/0.4856, allocations: 3.938 kB / 465.6 MB, free: 2.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001886/0.4875, allocations: 451.4 kB / 466.1 MB, free: 2.305 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.975e-05/0.4875, allocations: 6.812 kB / 466.1 MB, free: 2.301 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001856/0.4877, allocations: 39.97 kB / 466.1 MB, free: 2.262 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.006e-05/0.4878, allocations: 4 kB / 466.1 MB, free: 2.258 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004378/0.4882, allocations: 43.91 kB / 466.2 MB, free: 2.215 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.899e-05/0.4883, allocations: 7.938 kB / 466.2 MB, free: 2.207 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000441/0.4887, allocations: 19.83 kB / 466.2 MB, free: 2.188 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/0.4889, allocations: 16 kB / 466.2 MB, free: 2.172 MB / 394.7 MB Warning: Assuming fixed start value for the following 1 variables: dimlesslength:VARIABLE(start = 0.01 unit = "m" ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 29 * 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.0003163/0.4892, allocations: 132.9 kB / 466.4 MB, free: 2.035 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001602/0.4894, allocations: 19.77 kB / 466.4 MB, free: 2.016 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002156/0.4916, allocations: 499.1 kB / 466.9 MB, free: 1.527 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.956e-05/0.4916, allocations: 11.88 kB / 466.9 MB, free: 1.516 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.95e-06/0.4916, allocations: 0 / 466.9 MB, free: 1.516 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.456e-05/0.4917, allocations: 3.984 kB / 466.9 MB, free: 1.512 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001308/0.493, allocations: 377.8 kB / 467.2 MB, free: 1.105 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000167/0.4932, allocations: 39.95 kB / 467.3 MB, free: 1.066 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003983/0.4936, allocations: 23.98 kB / 467.3 MB, free: 1.043 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.657e-06/0.4937, allocations: 4 kB / 467.3 MB, free: 1.039 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.582e-05/0.4937, allocations: 12 kB / 467.3 MB, free: 1.027 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.184e-05/0.4938, allocations: 3.953 kB / 467.3 MB, free: 1.023 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.332e-06/0.4938, allocations: 3.938 kB / 467.3 MB, free: 1.02 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002353/0.4962, allocations: 0.6639 MB / 468 MB, free: 348 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001472/0.4963, allocations: 96.95 kB / 468.1 MB, free: 232 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.918e-05/0.4965, allocations: 7.984 kB / 468.1 MB, free: 224 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003493/0.4968, allocations: 0 / 468.1 MB, free: 224 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.497, allocations: 31.92 kB / 468.1 MB, free: 192 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.313e-05/0.4971, allocations: 12 kB / 468.1 MB, free: 180 kB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002734/0.4974, allocations: 140.3 kB / 468.3 MB, free: 40 kB / 394.7 MB Notification: Performance of sort global known variables: time 1.165e-06/0.4974, allocations: 0 / 468.3 MB, free: 40 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.2761/0.7735, allocations: 170.8 kB / 468.4 MB, free: 99.32 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (dimlesslength) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 16 * 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 Backend phase and start with SimCode phase: time 0.0004742/0.7741, allocations: 212.5 kB / 468.6 MB, free: 99.23 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001066/0.7751, allocations: 0.6477 MB / 469.3 MB, free: 98.86 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.279e-06/0.7752, allocations: 2.938 kB / 469.3 MB, free: 98.86 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005145/0.7757, allocations: 479 kB / 469.8 MB, free: 98.48 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.776, allocations: 17.88 kB / 469.8 MB, free: 98.48 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002142/0.7782, allocations: 0.7588 MB / 470.5 MB, free: 98.29 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004708/0.7787, allocations: 0.885 MB / 471.4 MB, free: 97.59 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.7788, allocations: 22.33 kB / 471.5 MB, free: 97.58 MB / 394.7 MB Notification: Performance of SimCode: time 1.856e-06/0.7788, allocations: 0 / 471.5 MB, free: 97.58 MB / 394.7 MB Notification: Performance of Templates: time 0.01177/0.7906, allocations: 7.019 MB / 478.5 MB, free: 97.05 MB / 394.7 MB "" Variables in the reference:time,dimlesslength,abscissa[1],abscissa[2],abscissa[3],length,dimlesslength,Pr[1],Pr[2],Pr[3],Re[1],Re[2],Re[3],velocity[1],velocity[2],velocity[3],cp[1],cp[2],cp[3],eta[1],eta[2],eta[3],lambda[1],lambda[2],lambda[3],rho[1],rho[2],rho[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],m_flow[1],m_flow[2],m_flow[3] 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[1],Re[2],Re[3],_D_cse1,_D_cse2,_D_cse3,abscissa[1],abscissa[2],abscissa[3],cp[1],cp[2],cp[3],d_hyd,der(dimlesslength),dimlesslength,eta[1],eta[2],eta[3],h,lambda[1],lambda[2],lambda[3],length,m_flow[1],m_flow[2],m_flow[3],m_flow_IN_con_1[1].L,m_flow_IN_con_1[1].h,m_flow_IN_con_1[1].s,m_flow_IN_con_1[1].target,m_flow_IN_con_1[2].L,m_flow_IN_con_1[2].h,m_flow_IN_con_1[2].s,m_flow_IN_con_1[2].target,m_flow_IN_con_1[3].L,m_flow_IN_con_1[3].h,m_flow_IN_con_1[3].s,m_flow_IN_con_1[3].target,m_flow_IN_con_2[1].L,m_flow_IN_con_2[1].h,m_flow_IN_con_2[1].s,m_flow_IN_con_2[1].target,m_flow_IN_con_2[2].L,m_flow_IN_con_2[2].h,m_flow_IN_con_2[2].s,m_flow_IN_con_2[2].target,m_flow_IN_con_2[3].L,m_flow_IN_con_2[3].h,m_flow_IN_con_2[3].s,m_flow_IN_con_2[3].target,m_flow_IN_con_3[1].L,m_flow_IN_con_3[1].h,m_flow_IN_con_3[1].s,m_flow_IN_con_3[1].target,m_flow_IN_con_3[2].L,m_flow_IN_con_3[2].h,m_flow_IN_con_3[2].s,m_flow_IN_con_3[2].target,m_flow_IN_con_3[3].L,m_flow_IN_con_3[3].h,m_flow_IN_con_3[3].s,m_flow_IN_con_3[3].target,m_flow_IN_con_4[1].L,m_flow_IN_con_4[1].h,m_flow_IN_con_4[1].s,m_flow_IN_con_4[1].target,m_flow_IN_con_4[2].L,m_flow_IN_con_4[2].h,m_flow_IN_con_4[2].s,m_flow_IN_con_4[2].target,m_flow_IN_con_4[3].L,m_flow_IN_con_4[3].h,m_flow_IN_con_4[3].s,m_flow_IN_con_4[3].target,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].m_flow,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].m_flow,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].m_flow,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].m_flow,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].m_flow,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].m_flow,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].m_flow,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].m_flow,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].m_flow,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].m_flow,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].m_flow,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].m_flow,m_flow_IN_var_4[3].rho,n,rho[1],rho[2],rho[3],s,time,velocity[1],velocity[2],velocity[3]