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.385/2.385, allocations: 234.9 MB / 250.5 MB, free: 9.461 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004374/0.0004375, allocations: 15.98 kB / 314.4 MB, free: 9.441 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2766, allocations: 54.86 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1324/0.409, allocations: 88.28 MB / 457.6 MB, free: 2.297 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003256/0.4094, allocations: 103.9 kB / 457.7 MB, free: 2.195 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05308/0.4625, allocations: 14.33 MB / 472 MB, free: 3.633 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.98e-06/0.4625, allocations: 0 / 472 MB, free: 3.633 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.358e-05/0.4626, allocations: 7.938 kB / 472 MB, free: 3.625 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.001048/0.4636, allocations: 0.6279 MB / 472.6 MB, free: 2.945 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.4637, allocations: 16.03 kB / 472.7 MB, free: 2.93 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001268/0.4638, allocations: 47.39 kB / 472.7 MB, free: 2.883 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004745/0.4643, allocations: 298.3 kB / 473 MB, free: 2.551 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.466e-05/0.4644, allocations: 37.31 kB / 473 MB, free: 2.516 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.4645, allocations: 48 kB / 473.1 MB, free: 2.469 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001295/0.4658, allocations: 0.631 MB / 473.7 MB, free: 1.832 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.4658, allocations: 0 / 473.7 MB, free: 1.832 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.705e-05/0.4659, allocations: 16 kB / 473.7 MB, free: 1.816 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.208e-05/0.466, allocations: 45.25 kB / 473.8 MB, free: 1.773 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001063/0.4671, allocations: 0.5008 MB / 474.3 MB, free: 1.27 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2439/0.711, allocations: 1.434 MB / 475.7 MB, free: 95.47 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/0.7125, allocations: 463 kB / 476.2 MB, free: 95.44 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.001e-05/0.7125, allocations: 13.45 kB / 476.2 MB, free: 95.44 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.7126, allocations: 36.78 kB / 476.2 MB, free: 95.4 MB / 394.7 MB Notification: Performance of pre-optimization done (n=25): time 3.422e-06/0.7126, allocations: 3.531 kB / 476.2 MB, free: 95.4 MB / 394.7 MB Notification: Performance of matching and sorting (n=25): time 0.00136/0.714, allocations: 0.498 MB / 476.7 MB, free: 95.34 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.91e-05/0.714, allocations: 58.61 kB / 476.8 MB, free: 95.28 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008747/0.7149, allocations: 0.4946 MB / 477.3 MB, free: 95.17 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.621e-05/0.715, allocations: 30.55 kB / 477.3 MB, free: 95.14 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.7151, allocations: 249.4 kB / 477.5 MB, free: 94.96 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.924e-05/0.7152, allocations: 91.92 kB / 477.6 MB, free: 94.92 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.222e-05/0.7152, allocations: 7.438 kB / 477.6 MB, free: 94.92 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.338e-05/0.7153, allocations: 328.1 kB / 478 MB, free: 94.61 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003746/0.7157, allocations: 154.4 kB / 478.1 MB, free: 94.6 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004256/0.7161, allocations: 252.9 kB / 478.4 MB, free: 94.49 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004328/0.7166, allocations: 194.9 kB / 478.5 MB, free: 94.48 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.568e-06/0.7166, allocations: 1.625 kB / 478.5 MB, free: 94.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001111/0.7177, allocations: 482.6 kB / 479 MB, free: 94.44 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.7178, allocations: 6.359 kB / 479 MB, free: 94.44 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001064/0.7179, allocations: 46.61 kB / 479.1 MB, free: 94.44 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.7179, allocations: 5.594 kB / 479.1 MB, free: 94.44 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000246/0.7182, allocations: 45.41 kB / 479.1 MB, free: 94.44 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/0.7182, allocations: 9.453 kB / 479.1 MB, free: 94.44 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003844/0.7186, allocations: 56.8 kB / 479.2 MB, free: 94.42 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.185e-05/0.7187, allocations: 24.55 kB / 479.2 MB, free: 94.42 MB / 394.7 MB Warning: Assuming fixed start value for the following 1 variables: dimlesslength:VARIABLE(start = 0.01 unit = "m" fixed = true ) 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 () * Number of clocked 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.0003602/0.7191, allocations: 216.6 kB / 479.4 MB, free: 94.3 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.7192, allocations: 43.03 kB / 479.5 MB, free: 94.29 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001305/0.7205, allocations: 0.5406 MB / 480 MB, free: 94.22 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/0.7205, allocations: 8.828 kB / 480 MB, free: 94.21 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.147e-06/0.7205, allocations: 1.375 kB / 480 MB, free: 94.21 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.62e-06/0.7206, allocations: 1.641 kB / 480 MB, free: 94.21 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007976/0.7214, allocations: 422.6 kB / 480.4 MB, free: 94.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.519e-05/0.7215, allocations: 45.61 kB / 480.5 MB, free: 94.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002148/0.7217, allocations: 27.47 kB / 480.5 MB, free: 94.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.615e-06/0.7217, allocations: 1.312 kB / 480.5 MB, free: 94.02 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.371e-05/0.7218, allocations: 18.39 kB / 480.5 MB, free: 94.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.68e-06/0.7218, allocations: 1.609 kB / 480.5 MB, free: 94.02 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.079e-06/0.7218, allocations: 3.953 kB / 480.5 MB, free: 94.02 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001456/0.7233, allocations: 0.7009 MB / 481.2 MB, free: 93.86 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001517/0.7234, allocations: 129.6 kB / 481.4 MB, free: 93.74 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.682e-05/0.7236, allocations: 6.891 kB / 481.4 MB, free: 93.74 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002664/0.7238, allocations: 12.7 kB / 481.4 MB, free: 93.74 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.039e-05/0.7239, allocations: 24.78 kB / 481.4 MB, free: 93.74 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.615e-05/0.724, allocations: 16.78 kB / 481.4 MB, free: 93.74 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000551/0.7245, allocations: 402.5 kB / 481.8 MB, free: 93.66 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.11e-07/0.7246, allocations: 0 / 481.8 MB, free: 93.66 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007764/0.7253, allocations: 158.2 kB / 482 MB, free: 93.65 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 () * Number of clocked 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.0004205/0.7258, allocations: 229.8 kB / 482.2 MB, free: 93.57 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009553/0.7267, allocations: 0.6654 MB / 482.8 MB, free: 93.19 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/0.7268, allocations: 0.875 kB / 482.8 MB, free: 93.19 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004245/0.7272, allocations: 491.2 kB / 483.3 MB, free: 92.81 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005084/0.7277, allocations: 81.48 kB / 483.4 MB, free: 92.81 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002117/0.7299, allocations: 1.142 MB / 484.5 MB, free: 92.34 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.7302, allocations: 0.8852 MB / 485.4 MB, free: 91.64 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/0.7304, allocations: 30.5 kB / 485.5 MB, free: 91.64 MB / 394.7 MB Notification: Performance of SimCode: time 1.744e-06/0.7304, allocations: 0 / 485.5 MB, free: 91.64 MB / 394.7 MB Notification: Performance of Templates: time 0.01261/0.743, allocations: 8.643 MB / 494.1 MB, free: 88.87 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],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]