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_KC.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_KC,tolerance=1e-06,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.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|m_flow_3.1.|m_flow_3.2.|m_flow_3.3.|m_flow_4.1.|m_flow_4.2.|m_flow_4.3.|kc_OUT_1.1.|kc_OUT_1.2.|kc_OUT_1.3.|kc_OUT_2.1.|kc_OUT_2.2.|kc_OUT_2.3.|kc_OUT_3.1.|kc_OUT_3.2.|kc_OUT_3.3.|kc_OUT_4.1.|kc_OUT_4.2.|kc_OUT_4.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|Re_3.1.|Re_3.2.|Re_3.3.|Re_4.1.|Re_4.2.|Re_4.3.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC") Notification: Performance of loadModel(ModelicaTest): time 2.11/2.11, allocations: 234.9 MB / 250.5 MB, free: 9.461 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004416/0.0004418, allocations: 15.94 kB / 314.4 MB, free: 9.434 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2716/0.2721, allocations: 54.85 MB / 369.3 MB, free: 10.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1304/0.4025, allocations: 88.36 MB / 457.7 MB, free: 2.199 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003304/0.4029, allocations: 107.9 kB / 457.8 MB, free: 2.094 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05496/0.4579, allocations: 14.02 MB / 471.8 MB, free: 3.84 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.403e-06/0.4579, allocations: 0 / 471.8 MB, free: 3.84 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.887e-05/0.458, allocations: 8 kB / 471.8 MB, free: 3.832 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001122/0.4591, allocations: 0.6566 MB / 472.4 MB, free: 3.125 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.4592, allocations: 8.031 kB / 472.5 MB, free: 3.117 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001308/0.4593, allocations: 55.3 kB / 472.5 MB, free: 3.062 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005002/0.4598, allocations: 300.4 kB / 472.8 MB, free: 2.727 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.44e-05/0.4599, allocations: 37.31 kB / 472.8 MB, free: 2.691 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.756e-05/0.46, allocations: 51.98 kB / 472.9 MB, free: 2.641 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/0.4614, allocations: 0.6857 MB / 473.6 MB, free: 1.949 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.4615, allocations: 0 / 473.6 MB, free: 1.949 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.532e-05/0.4615, allocations: 24 kB / 473.6 MB, free: 1.926 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.485e-05/0.4616, allocations: 41.28 kB / 473.6 MB, free: 1.887 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001565/0.4632, allocations: 0.7506 MB / 474.4 MB, free: 1.133 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2432/0.7065, allocations: 1.461 MB / 475.8 MB, free: 96.04 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00125/0.7078, allocations: 465.2 kB / 476.3 MB, free: 96.01 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.811e-05/0.7079, allocations: 10.05 kB / 476.3 MB, free: 96.01 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.7079, allocations: 37.27 kB / 476.3 MB, free: 95.97 MB / 394.7 MB Notification: Performance of pre-optimization done (n=28): time 3.723e-06/0.7079, allocations: 1.438 kB / 476.3 MB, free: 95.97 MB / 394.7 MB Notification: Performance of matching and sorting (n=28): time 0.001614/0.7095, allocations: 0.5438 MB / 476.9 MB, free: 95.91 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.792e-05/0.7096, allocations: 54.66 kB / 476.9 MB, free: 95.85 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007807/0.7104, allocations: 489.5 kB / 477.4 MB, free: 95.74 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.291e-05/0.7104, allocations: 31.17 kB / 477.5 MB, free: 95.71 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.7106, allocations: 274.8 kB / 477.7 MB, free: 95.54 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.273e-05/0.7107, allocations: 96.38 kB / 477.8 MB, free: 95.49 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.676e-05/0.7107, allocations: 5.281 kB / 477.8 MB, free: 95.49 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.408e-05/0.7108, allocations: 326.7 kB / 478.1 MB, free: 95.18 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00041/0.7112, allocations: 155.3 kB / 478.3 MB, free: 95.18 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004489/0.7117, allocations: 255.1 kB / 478.5 MB, free: 95.07 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000479/0.7122, allocations: 199.2 kB / 478.7 MB, free: 95.07 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.326e-06/0.7122, allocations: 0 / 478.7 MB, free: 95.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001146/0.7133, allocations: 484.1 kB / 479.2 MB, free: 95.02 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.7134, allocations: 5.844 kB / 479.2 MB, free: 95.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.7134, allocations: 4.688 kB / 479.2 MB, free: 95.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.199e-05/0.7134, allocations: 4.281 kB / 479.2 MB, free: 95.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001284/0.7147, allocations: 209.5 kB / 479.4 MB, free: 95.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003247/0.718, allocations: 7.317 MB / 486.7 MB, free: 88 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004951/0.7185, allocations: 62.95 kB / 486.8 MB, free: 87.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.685e-05/0.7186, allocations: 21.58 kB / 486.8 MB, free: 87.98 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (40): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003599/0.719, allocations: 228.6 kB / 487.1 MB, free: 87.86 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.7191, allocations: 47.38 kB / 487.1 MB, free: 87.84 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00139/0.7205, allocations: 0.5538 MB / 487.7 MB, free: 87.76 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.498e-06/0.7205, allocations: 2.75 kB / 487.7 MB, free: 87.76 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.373e-06/0.7205, allocations: 3.375 kB / 487.7 MB, free: 87.76 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.415e-06/0.7205, allocations: 3.656 kB / 487.7 MB, free: 87.76 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006503/0.7212, allocations: 424 kB / 488.1 MB, free: 87.57 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.7212, allocations: 0 / 488.1 MB, free: 87.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001127/0.7224, allocations: 206.5 kB / 488.3 MB, free: 87.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.379e-06/0.7224, allocations: 1.062 kB / 488.3 MB, free: 87.57 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.768e-05/0.7224, allocations: 9.859 kB / 488.3 MB, free: 87.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003137/0.7256, allocations: 7.31 MB / 495.6 MB, free: 80.55 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.615e-06/0.7256, allocations: 0 / 495.6 MB, free: 80.55 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.7266, allocations: 0.5095 MB / 496.1 MB, free: 80.39 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001492/0.7268, allocations: 130.5 kB / 496.2 MB, free: 80.27 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.591e-05/0.7269, allocations: 3.812 kB / 496.2 MB, free: 80.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000338/0.7273, allocations: 14.44 kB / 496.3 MB, free: 80.27 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.605e-05/0.7274, allocations: 28.64 kB / 496.3 MB, free: 80.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-05/0.7274, allocations: 13.84 kB / 496.3 MB, free: 80.27 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004783/0.7279, allocations: 384.8 kB / 496.7 MB, free: 80.19 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.37e-07/0.7279, allocations: 0 / 496.7 MB, free: 80.19 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006606/0.7286, allocations: 138.8 kB / 496.8 MB, free: 80.18 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003175/0.7289, allocations: 193.1 kB / 497 MB, free: 80.08 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00171/0.7307, allocations: 0.4949 MB / 497.5 MB, free: 80.07 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.155e-06/0.7307, allocations: 4 kB / 497.5 MB, free: 80.07 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001208/0.7319, allocations: 307 kB / 497.8 MB, free: 80.07 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005418/0.7325, allocations: 87.3 kB / 497.9 MB, free: 80.05 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001658/0.7341, allocations: 1.075 MB / 499 MB, free: 79.59 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.7345, allocations: 0.8956 MB / 499.8 MB, free: 78.89 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/0.7346, allocations: 40.45 kB / 499.9 MB, free: 78.88 MB / 394.7 MB Notification: Performance of SimCode: time 1.603e-06/0.7346, allocations: 0 / 499.9 MB, free: 78.88 MB / 394.7 MB Notification: Performance of Templates: time 0.02968/0.7643, allocations: 28.53 MB / 0.516 GB, free: 54.27 MB / 394.7 MB