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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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.199/2.199, allocations: 235 MB / 248.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.308e-05/2.316e-05, allocations: 0 / 309.7 MB, free: 1.305 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3136, allocations: 54.86 MB / 364.6 MB, free: 5.531 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1311/0.4447, allocations: 88.2 MB / 452.8 MB, free: 8.254 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003243/0.4451, allocations: 87.94 kB / 452.9 MB, free: 8.168 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05521/0.5003, allocations: 14.38 MB / 467.2 MB, free: 9.59 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.905e-06/0.5004, allocations: 0 / 467.2 MB, free: 9.59 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.77e-05/0.5004, allocations: 4 kB / 467.2 MB, free: 9.586 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.001035/0.5015, allocations: 0.6272 MB / 467.9 MB, free: 8.914 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.5015, allocations: 11.97 kB / 467.9 MB, free: 8.902 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001199/0.5016, allocations: 47.44 kB / 467.9 MB, free: 8.855 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004955/0.5021, allocations: 291.2 kB / 468.2 MB, free: 8.531 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.465e-05/0.5022, allocations: 33.31 kB / 468.2 MB, free: 8.5 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.5023, allocations: 48 kB / 468.3 MB, free: 8.453 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001262/0.5036, allocations: 0.6233 MB / 468.9 MB, free: 7.82 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.5036, allocations: 0 / 468.9 MB, free: 7.82 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.611e-05/0.5037, allocations: 20 kB / 468.9 MB, free: 7.801 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.503e-05/0.5038, allocations: 41.25 kB / 469 MB, free: 7.762 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001057/0.5049, allocations: 0.4969 MB / 469.5 MB, free: 7.266 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003275/0.5082, allocations: 1.438 MB / 470.9 MB, free: 5.77 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/0.5094, allocations: 460 kB / 471.4 MB, free: 5.312 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003443/0.5098, allocations: 136.8 kB / 471.5 MB, free: 5.176 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.816e-05/0.5098, allocations: 15.94 kB / 471.5 MB, free: 5.16 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.5099, allocations: 38.55 kB / 471.5 MB, free: 5.113 MB / 394.7 MB Notification: Performance of pre-optimization done (n=25): time 3.195e-06/0.5099, allocations: 0 / 471.5 MB, free: 5.113 MB / 394.7 MB Notification: Performance of matching and sorting (n=25): time 0.0009922/0.5109, allocations: 373.2 kB / 471.9 MB, free: 4.742 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.511, allocations: 59.41 kB / 472 MB, free: 4.672 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007886/0.5118, allocations: 495 kB / 472.4 MB, free: 4.184 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.638e-05/0.5118, allocations: 29.7 kB / 472.5 MB, free: 4.148 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002092/0.512, allocations: 258.6 kB / 472.7 MB, free: 3.895 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/0.5122, allocations: 86.75 kB / 472.8 MB, free: 3.809 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.428e-05/0.5122, allocations: 4 kB / 472.8 MB, free: 3.805 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.5124, allocations: 326.8 kB / 473.1 MB, free: 3.477 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003896/0.5128, allocations: 152.2 kB / 473.3 MB, free: 3.324 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004847/0.5133, allocations: 252.5 kB / 473.5 MB, free: 3.035 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004537/0.5138, allocations: 195 kB / 473.7 MB, free: 2.848 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-06/0.5138, allocations: 3.953 kB / 473.7 MB, free: 2.844 MB / 394.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001152/0.515, allocations: 483 kB / 474.2 MB, free: 2.367 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.515, allocations: 5.406 kB / 474.2 MB, free: 2.363 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000106/0.5151, allocations: 43.95 kB / 474.2 MB, free: 2.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/0.5151, allocations: 4 kB / 474.2 MB, free: 2.316 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002524/0.5154, allocations: 40.27 kB / 474.3 MB, free: 2.277 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.571e-05/0.5154, allocations: 8 kB / 474.3 MB, free: 2.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003666/0.5158, allocations: 59.36 kB / 474.4 MB, free: 2.211 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.028e-05/0.5159, allocations: 20 kB / 474.4 MB, free: 2.191 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.0002251/0.5161, allocations: 140.8 kB / 474.5 MB, free: 2.047 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.5163, allocations: 47.39 kB / 474.6 MB, free: 2 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001401/0.5177, allocations: 0.532 MB / 475.1 MB, free: 1.461 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.599e-05/0.5177, allocations: 7.984 kB / 475.1 MB, free: 1.453 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.737e-06/0.5177, allocations: 0 / 475.1 MB, free: 1.453 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.5177, allocations: 0 / 475.1 MB, free: 1.453 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008422/0.5186, allocations: 433.2 kB / 475.5 MB, free: 0.9805 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.341e-05/0.5187, allocations: 31.97 kB / 475.6 MB, free: 0.9492 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002285/0.5189, allocations: 35.88 kB / 475.6 MB, free: 0.9141 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.028e-06/0.519, allocations: 0 / 475.6 MB, free: 0.9141 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.627e-05/0.519, allocations: 12 kB / 475.6 MB, free: 0.9023 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.839e-06/0.519, allocations: 4 kB / 475.6 MB, free: 0.8984 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.001e-06/0.5191, allocations: 7.984 kB / 475.6 MB, free: 0.8906 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001484/0.5206, allocations: 0.6911 MB / 476.3 MB, free: 188 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001788/0.5207, allocations: 132.5 kB / 476.4 MB, free: 36 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.55e-05/0.5209, allocations: 11.95 kB / 476.4 MB, free: 24 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002826/0.5212, allocations: 8 kB / 476.4 MB, free: 16 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.164e-05/0.5213, allocations: 20.02 kB / 476.5 MB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-05/0.5213, allocations: 16 kB / 476.5 MB, free: 15.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006087/0.5219, allocations: 401 kB / 476.9 MB, free: 15.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.57e-07/0.522, allocations: 4 kB / 476.9 MB, free: 15.59 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007449/0.5227, allocations: 159.8 kB / 477 MB, free: 15.43 MB / 410.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.0004629/0.5232, allocations: 218.2 kB / 477.2 MB, free: 15.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001127/0.5243, allocations: 0.664 MB / 477.9 MB, free: 14.47 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.324e-06/0.5244, allocations: 0 / 477.9 MB, free: 14.47 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006311/0.525, allocations: 484.2 kB / 478.4 MB, free: 13.92 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005538/0.5256, allocations: 82.84 kB / 478.5 MB, free: 13.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002221/0.5278, allocations: 0.8287 MB / 479.3 MB, free: 12.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006246/0.5285, allocations: 0.886 MB / 480.2 MB, free: 12.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/0.5286, allocations: 39.38 kB / 480.2 MB, free: 12.04 MB / 410.7 MB Notification: Performance of SimCode: time 1.599e-06/0.5286, allocations: 0 / 480.2 MB, free: 12.04 MB / 410.7 MB Notification: Performance of Templates: time 0.0164/0.545, allocations: 8.619 MB / 488.8 MB, free: 3.441 MB / 410.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],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_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]