Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC") Notification: Performance of loadModel(ModelicaTest): time 1.972/1.972, allocations: 209.3 MB / 225.4 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005912/0.0005914, allocations: 12 kB / 283.1 MB, free: 9.684 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.3635, allocations: 48.71 MB / 331.8 MB, free: 6.516 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1463/0.51, allocations: 82.02 MB / 413.8 MB, free: 12.42 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003971/0.5104, allocations: 99.92 kB / 413.9 MB, free: 12.32 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06273/0.5732, allocations: 14.03 MB / 428 MB, free: 14.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.5732, allocations: 0 / 428 MB, free: 14.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.196e-05/0.5732, allocations: 8 kB / 428 MB, free: 14.06 MB / 362.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.00154/0.5748, allocations: 0.6435 MB / 428.6 MB, free: 13.37 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.5749, allocations: 8.031 kB / 428.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001915/0.5751, allocations: 51.34 kB / 428.7 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006165/0.5757, allocations: 310.8 kB / 429 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.102e-05/0.5758, allocations: 45.27 kB / 429 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/0.5759, allocations: 44 kB / 429.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001862/0.5778, allocations: 0.6935 MB / 429.8 MB, free: 12.17 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.278e-05/0.5778, allocations: 0 / 429.8 MB, free: 12.17 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-05/0.5779, allocations: 23.98 kB / 429.8 MB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.139e-05/0.578, allocations: 41.28 kB / 429.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002069/0.5801, allocations: 0.7584 MB / 430.6 MB, free: 11.35 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003828/0.584, allocations: 1.457 MB / 432 MB, free: 9.836 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001443/0.5855, allocations: 448.5 kB / 432.5 MB, free: 9.391 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.618e-05/0.5855, allocations: 12.16 kB / 432.5 MB, free: 9.379 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.091e-05/0.5856, allocations: 42.73 kB / 432.5 MB, free: 9.328 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 3.106e-06/0.5856, allocations: 0 / 432.5 MB, free: 9.328 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.002039/0.5877, allocations: 0.5525 MB / 433.1 MB, free: 8.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.637e-05/0.5877, allocations: 59.39 kB / 433.2 MB, free: 8.699 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/0.5888, allocations: 0.529 MB / 433.7 MB, free: 8.164 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.995e-05/0.5889, allocations: 33.7 kB / 433.7 MB, free: 8.125 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002243/0.5891, allocations: 255.1 kB / 434 MB, free: 7.875 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/0.5893, allocations: 106.4 kB / 434.1 MB, free: 7.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.231e-05/0.5893, allocations: 4 kB / 434.1 MB, free: 7.766 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.5895, allocations: 326.8 kB / 434.4 MB, free: 7.438 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005767/0.5901, allocations: 160.5 kB / 434.5 MB, free: 7.277 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006368/0.5907, allocations: 260.2 kB / 434.8 MB, free: 6.984 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006355/0.5914, allocations: 187.8 kB / 435 MB, free: 6.801 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.5914, allocations: 0 / 435 MB, free: 6.801 MB / 362.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001523/0.5929, allocations: 473.8 kB / 435.4 MB, free: 6.332 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.723e-05/0.593, allocations: 8.375 kB / 435.5 MB, free: 6.324 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.593, allocations: 8 kB / 435.5 MB, free: 6.316 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.617e-05/0.593, allocations: 7.953 kB / 435.5 MB, free: 6.309 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001797/0.5948, allocations: 207.8 kB / 435.7 MB, free: 6.105 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005796/0.6007, allocations: 7.318 MB / 443 MB, free: 14.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006538/0.6014, allocations: 59.31 kB / 443 MB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.77e-05/0.6014, allocations: 27.98 kB / 443.1 MB, free: 14.42 MB / 378.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.0004625/0.6019, allocations: 225.7 kB / 443.3 MB, free: 14.19 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.602, allocations: 43.48 kB / 443.3 MB, free: 14.15 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001838/0.6039, allocations: 0.5526 MB / 443.9 MB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.296e-05/0.6039, allocations: 4 kB / 443.9 MB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.6039, allocations: 0 / 443.9 MB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/0.604, allocations: 3.984 kB / 443.9 MB, free: 13.58 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000932/0.6049, allocations: 433.2 kB / 444.3 MB, free: 13.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.6049, allocations: 0 / 444.3 MB, free: 13.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00168/0.6066, allocations: 199.8 kB / 444.5 MB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.094e-06/0.6066, allocations: 0 / 444.5 MB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.308e-05/0.6067, allocations: 15.94 kB / 444.5 MB, free: 12.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005543/0.6123, allocations: 7.31 MB / 451.8 MB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.6123, allocations: 0 / 451.8 MB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001486/0.6138, allocations: 0.5073 MB / 452.3 MB, free: 4.785 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002152/0.614, allocations: 128.5 kB / 452.5 MB, free: 4.641 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001247/0.6142, allocations: 7.953 kB / 452.5 MB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004217/0.6146, allocations: 15.98 kB / 452.5 MB, free: 4.617 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.974e-05/0.6147, allocations: 19.97 kB / 452.5 MB, free: 4.598 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.333e-05/0.6148, allocations: 23.98 kB / 452.5 MB, free: 4.574 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007067/0.6155, allocations: 387 kB / 452.9 MB, free: 4.199 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.705e-06/0.6155, allocations: 0 / 452.9 MB, free: 4.199 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007825/0.6163, allocations: 135.8 kB / 453.1 MB, free: 4.066 MB / 378.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.0004622/0.6168, allocations: 204.6 kB / 453.3 MB, free: 3.863 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002846/0.6197, allocations: 0.5318 MB / 453.8 MB, free: 3.332 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/0.6197, allocations: 0 / 453.8 MB, free: 3.332 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002167/0.6219, allocations: 360 kB / 454.1 MB, free: 2.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007023/0.6226, allocations: 81.84 kB / 454.2 MB, free: 2.902 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002576/0.6252, allocations: 1.078 MB / 455.3 MB, free: 1.789 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006145/0.6258, allocations: 0.8936 MB / 456.2 MB, free: 0.8672 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002036/0.6261, allocations: 43.42 kB / 456.2 MB, free: 0.8242 MB / 378.7 MB Notification: Performance of SimCode: time 9.62e-07/0.6261, allocations: 0 / 456.2 MB, free: 0.8242 MB / 378.7 MB Notification: Performance of Templates: time 0.3106/0.9367, allocations: 28.53 MB / 484.8 MB, free: 118.5 MB / 394.7 MB