Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.35/2.35, allocations: 234.9 MB / 251.1 MB, free: 10.52 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004531/0.0004532, allocations: 12 kB / 315 MB, free: 10.55 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3712/0.3717, allocations: 54.88 MB / 369.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1597/0.5314, allocations: 88.27 MB / 458.1 MB, free: 2.434 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003808/0.5318, allocations: 99.94 kB / 458.2 MB, free: 2.336 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06119/0.5931, allocations: 14.34 MB / 472.5 MB, free: 3.762 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.5931, allocations: 4 kB / 472.5 MB, free: 3.758 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.724e-05/0.5931, allocations: 4 kB / 472.6 MB, free: 3.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.001291/0.5944, allocations: 0.6357 MB / 473.2 MB, free: 3.07 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.5945, allocations: 8.031 kB / 473.2 MB, free: 3.062 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001581/0.5947, allocations: 51.39 kB / 473.2 MB, free: 3.012 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005491/0.5952, allocations: 286.4 kB / 473.5 MB, free: 2.691 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.39e-05/0.5953, allocations: 37.31 kB / 473.6 MB, free: 2.652 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001195/0.5954, allocations: 51.92 kB / 473.6 MB, free: 2.602 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001585/0.597, allocations: 0.6349 MB / 474.2 MB, free: 1.961 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.5971, allocations: 0 / 474.2 MB, free: 1.961 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.365e-05/0.5972, allocations: 20 kB / 474.3 MB, free: 1.941 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.522e-05/0.5973, allocations: 41.23 kB / 474.3 MB, free: 1.898 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001308/0.5986, allocations: 0.5008 MB / 474.8 MB, free: 1.398 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2927/0.8913, allocations: 1.434 MB / 476.2 MB, free: 95.55 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001632/0.893, allocations: 439.5 kB / 476.7 MB, free: 95.52 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.152e-05/0.8931, allocations: 17.38 kB / 476.7 MB, free: 95.52 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.8931, allocations: 34.06 kB / 476.7 MB, free: 95.48 MB / 394.7 MB Notification: Performance of pre-optimization done (n=25): time 3.055e-06/0.8931, allocations: 0 / 476.7 MB, free: 95.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=25): time 0.001741/0.8949, allocations: 0.4957 MB / 477.2 MB, free: 95.44 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/0.895, allocations: 58.98 kB / 477.3 MB, free: 95.38 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001251/0.8962, allocations: 0.543 MB / 477.8 MB, free: 95.27 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.406e-05/0.8964, allocations: 28.14 kB / 477.8 MB, free: 95.23 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.8965, allocations: 261.9 kB / 478.1 MB, free: 95.07 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001217/0.8967, allocations: 88.12 kB / 478.2 MB, free: 95.02 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.958e-05/0.8967, allocations: 7.031 kB / 478.2 MB, free: 95.02 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.128e-05/0.8968, allocations: 323.9 kB / 478.5 MB, free: 94.71 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004955/0.8973, allocations: 158.3 kB / 478.7 MB, free: 94.7 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005441/0.8979, allocations: 257.1 kB / 478.9 MB, free: 94.59 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005764/0.8985, allocations: 195.5 kB / 479.1 MB, free: 94.58 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.8985, allocations: 2.438 kB / 479.1 MB, free: 94.58 MB / 394.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001367/0.8998, allocations: 475.9 kB / 479.6 MB, free: 94.54 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/0.8999, allocations: 6.688 kB / 479.6 MB, free: 94.54 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001353/0.9, allocations: 39.86 kB / 479.6 MB, free: 94.54 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.992e-05/0.9001, allocations: 8.828 kB / 479.6 MB, free: 94.54 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003881/0.9005, allocations: 40.69 kB / 479.7 MB, free: 94.54 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.603e-05/0.9005, allocations: 9.266 kB / 479.7 MB, free: 94.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005275/0.901, allocations: 58.08 kB / 479.7 MB, free: 94.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.268e-05/0.9011, allocations: 24.47 kB / 479.8 MB, free: 94.52 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.0004824/0.9016, allocations: 224.1 kB / 480 MB, free: 94.41 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000134/0.9018, allocations: 42.97 kB / 480 MB, free: 94.38 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001772/0.9036, allocations: 0.5453 MB / 480.6 MB, free: 94.32 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-05/0.9036, allocations: 8.906 kB / 480.6 MB, free: 94.31 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.9036, allocations: 1.344 kB / 480.6 MB, free: 94.31 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.9036, allocations: 1.172 kB / 480.6 MB, free: 94.31 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/0.9047, allocations: 425.6 kB / 481 MB, free: 94.12 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001238/0.9049, allocations: 36.73 kB / 481 MB, free: 94.12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000314/0.9052, allocations: 29.8 kB / 481.1 MB, free: 94.12 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.237e-06/0.9052, allocations: 1.375 kB / 481.1 MB, free: 94.12 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.766e-05/0.9053, allocations: 17.78 kB / 481.1 MB, free: 94.12 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/0.9053, allocations: 2.172 kB / 481.1 MB, free: 94.12 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.9053, allocations: 7.672 kB / 481.1 MB, free: 94.12 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00185/0.9072, allocations: 0.7036 MB / 481.8 MB, free: 93.96 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002199/0.9074, allocations: 130.3 kB / 481.9 MB, free: 93.84 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000138/0.9076, allocations: 4.781 kB / 481.9 MB, free: 93.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003579/0.908, allocations: 6.75 kB / 481.9 MB, free: 93.84 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.272e-05/0.9081, allocations: 32.28 kB / 482 MB, free: 93.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.773e-05/0.9081, allocations: 20.14 kB / 482 MB, free: 93.84 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00074/0.9089, allocations: 397.2 kB / 482.4 MB, free: 93.75 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.9089, allocations: 0.9375 kB / 482.4 MB, free: 93.75 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009164/0.9098, allocations: 153 kB / 482.5 MB, free: 93.75 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.0005573/0.9104, allocations: 224 kB / 482.7 MB, free: 93.66 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001265/0.9117, allocations: 0.6686 MB / 483.4 MB, free: 93.29 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.9117, allocations: 0 / 483.4 MB, free: 93.29 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005685/0.9123, allocations: 481.1 kB / 483.9 MB, free: 92.91 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007099/0.913, allocations: 90.78 kB / 484 MB, free: 92.91 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002888/0.9159, allocations: 1.151 MB / 485.1 MB, free: 92.44 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004136/0.9164, allocations: 0.8821 MB / 486 MB, free: 91.73 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001888/0.9166, allocations: 37.67 kB / 486 MB, free: 91.73 MB / 394.7 MB Notification: Performance of SimCode: time 1.172e-06/0.9166, allocations: 0 / 486 MB, free: 91.73 MB / 394.7 MB Notification: Performance of Templates: time 0.01759/0.9342, allocations: 8.637 MB / 494.7 MB, free: 88.83 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]