Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar") Notification: Performance of loadModel(ModelicaTest): time 2.014/2.014, allocations: 209.2 MB / 224.8 MB, free: 344 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006687/0.0006688, allocations: 12 kB / 282.6 MB, free: 9.586 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3757/0.3765, allocations: 48.7 MB / 331.3 MB, free: 6.512 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1196/0.4961, allocations: 81.95 MB / 413.3 MB, free: 12.47 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000296/0.4964, allocations: 91.94 kB / 413.3 MB, free: 12.38 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05598/0.5524, allocations: 14.35 MB / 427.7 MB, free: 13.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.524e-06/0.5525, allocations: 0 / 427.7 MB, free: 13.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.932e-05/0.5525, allocations: 8 kB / 427.7 MB, free: 13.8 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001078/0.5536, allocations: 0.628 MB / 428.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.5536, allocations: 8.031 kB / 428.3 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000128/0.5538, allocations: 51.44 kB / 428.4 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000482/0.5543, allocations: 298.3 kB / 428.7 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.905e-05/0.5543, allocations: 37.31 kB / 428.7 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.5544, allocations: 44 kB / 428.8 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/0.5557, allocations: 0.631 MB / 429.4 MB, free: 12.01 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.5558, allocations: 3.984 kB / 429.4 MB, free: 12.01 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.685e-05/0.5559, allocations: 20 kB / 429.4 MB, free: 11.99 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.198e-05/0.5559, allocations: 33.3 kB / 429.4 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.557, allocations: 0.5008 MB / 429.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003296/0.5603, allocations: 1.449 MB / 431.4 MB, free: 9.953 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001213/0.5616, allocations: 462 kB / 431.8 MB, free: 9.492 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.615e-05/0.5617, allocations: 7.938 kB / 431.8 MB, free: 9.484 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.929e-05/0.5617, allocations: 42.56 kB / 431.9 MB, free: 9.434 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 3.879e-06/0.5617, allocations: 0 / 431.9 MB, free: 9.434 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.001414/0.5632, allocations: 0.4932 MB / 432.4 MB, free: 8.934 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.929e-05/0.5632, allocations: 55.34 kB / 432.4 MB, free: 8.867 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008414/0.5641, allocations: 0.4969 MB / 432.9 MB, free: 8.359 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.14e-05/0.5642, allocations: 29.7 kB / 433 MB, free: 8.324 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000222/0.5644, allocations: 258.7 kB / 433.2 MB, free: 8.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.5645, allocations: 86.75 kB / 433.3 MB, free: 7.984 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.383e-05/0.5646, allocations: 4 kB / 433.3 MB, free: 7.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.5647, allocations: 326.8 kB / 433.6 MB, free: 7.652 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003941/0.5651, allocations: 152.2 kB / 433.8 MB, free: 7.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004726/0.5656, allocations: 260.5 kB / 434 MB, free: 7.203 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004624/0.5661, allocations: 189.2 kB / 434.2 MB, free: 7.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.802e-06/0.5661, allocations: 0 / 434.2 MB, free: 7.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001161/0.5673, allocations: 487.3 kB / 434.7 MB, free: 6.539 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.5673, allocations: 4 kB / 434.7 MB, free: 6.535 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001097/0.5675, allocations: 43.95 kB / 434.7 MB, free: 6.492 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.5675, allocations: 4 kB / 434.7 MB, free: 6.488 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002759/0.5678, allocations: 35.92 kB / 434.8 MB, free: 6.453 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.976e-05/0.5678, allocations: 15.88 kB / 434.8 MB, free: 6.438 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000409/0.5682, allocations: 63.28 kB / 434.9 MB, free: 6.375 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-05/0.5683, allocations: 23.98 kB / 434.9 MB, free: 6.352 MB / 362.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.0004185/0.5688, allocations: 222 kB / 435.1 MB, free: 6.125 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.5689, allocations: 43.44 kB / 435.1 MB, free: 6.082 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001422/0.5703, allocations: 0.5361 MB / 435.7 MB, free: 5.543 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/0.5703, allocations: 7.938 kB / 435.7 MB, free: 5.535 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.318e-06/0.5704, allocations: 0 / 435.7 MB, free: 5.535 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.5704, allocations: 7.938 kB / 435.7 MB, free: 5.527 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008695/0.5713, allocations: 429.2 kB / 436.1 MB, free: 5.059 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001015/0.5714, allocations: 39.95 kB / 436.1 MB, free: 5.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002142/0.5716, allocations: 27.98 kB / 436.2 MB, free: 4.992 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.748e-06/0.5716, allocations: 0 / 436.2 MB, free: 4.992 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.555e-05/0.5717, allocations: 15.98 kB / 436.2 MB, free: 4.977 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.384e-06/0.5717, allocations: 4 kB / 436.2 MB, free: 4.973 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.59e-06/0.5717, allocations: 0 / 436.2 MB, free: 4.973 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001542/0.5733, allocations: 0.7143 MB / 436.9 MB, free: 4.242 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001901/0.5735, allocations: 128.6 kB / 437 MB, free: 4.098 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.638e-05/0.5736, allocations: 8 kB / 437 MB, free: 4.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002656/0.5739, allocations: 4 kB / 437 MB, free: 4.086 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.136e-05/0.5739, allocations: 27.97 kB / 437.1 MB, free: 4.059 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-05/0.574, allocations: 15.98 kB / 437.1 MB, free: 4.043 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006455/0.5747, allocations: 395 kB / 437.5 MB, free: 3.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.36e-07/0.5747, allocations: 0 / 437.5 MB, free: 3.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007559/0.5754, allocations: 159.9 kB / 437.6 MB, free: 3.504 MB / 362.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.0004723/0.5759, allocations: 229.9 kB / 437.9 MB, free: 3.27 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00116/0.5771, allocations: 0.6688 MB / 438.5 MB, free: 2.527 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.422e-06/0.5771, allocations: 4 kB / 438.5 MB, free: 2.523 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006182/0.5778, allocations: 492.2 kB / 439 MB, free: 1.969 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005923/0.5784, allocations: 81.84 kB / 439.1 MB, free: 1.891 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002641/0.581, allocations: 1.142 MB / 440.2 MB, free: 0.7109 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006682/0.5817, allocations: 0.886 MB / 441.1 MB, free: 15.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001512/0.5819, allocations: 35.44 kB / 441.1 MB, free: 15.77 MB / 378.7 MB Notification: Performance of SimCode: time 1.617e-06/0.5819, allocations: 0 / 441.1 MB, free: 15.77 MB / 378.7 MB Notification: Performance of Templates: time 0.01682/0.5987, allocations: 8.624 MB / 449.8 MB, free: 7.164 MB / 378.7 MB