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_evenGapOverall.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_evenGapOverall,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.|m_flow.1.|m_flow.2.|m_flow.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.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|mflow_test|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall") Notification: Performance of loadModel(ModelicaTest): time 2.312/2.312, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.645e-05/2.667e-05, allocations: 4 kB / 309.7 MB, free: 1.305 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.3198, allocations: 54.86 MB / 364.6 MB, free: 5.543 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.139/0.4588, allocations: 93.1 MB / 457.7 MB, free: 3.348 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003208/0.4592, allocations: 99.92 kB / 457.8 MB, free: 3.25 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08604/0.5452, allocations: 21.23 MB / 479 MB, free: 13.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.11e-06/0.5453, allocations: 0 / 479 MB, free: 13.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.056e-05/0.5453, allocations: 8 kB / 479 MB, free: 13.84 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001301/0.5466, allocations: 0.7049 MB / 479.7 MB, free: 13.08 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.5467, allocations: 12.03 kB / 479.7 MB, free: 13.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001287/0.5468, allocations: 51.34 kB / 479.8 MB, free: 13.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005054/0.5473, allocations: 303.7 kB / 480.1 MB, free: 12.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.483e-05/0.5474, allocations: 40.94 kB / 480.1 MB, free: 12.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.596e-05/0.5475, allocations: 48 kB / 480.1 MB, free: 12.6 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001341/0.5489, allocations: 0.6533 MB / 480.8 MB, free: 11.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.5489, allocations: 0 / 480.8 MB, free: 11.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.878e-05/0.549, allocations: 27.95 kB / 480.8 MB, free: 11.9 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.016e-05/0.549, allocations: 25 kB / 480.9 MB, free: 11.87 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009472/0.55, allocations: 444 kB / 481.3 MB, free: 11.44 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003043/0.5531, allocations: 1.546 MB / 482.8 MB, free: 9.832 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00068/0.5538, allocations: 283.8 kB / 483.1 MB, free: 9.523 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003262/0.5541, allocations: 133.8 kB / 483.2 MB, free: 9.387 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.581e-05/0.5542, allocations: 7.953 kB / 483.2 MB, free: 9.379 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.015e-05/0.5542, allocations: 42.55 kB / 483.3 MB, free: 9.328 MB / 410.7 MB Notification: Performance of pre-optimization done (n=23): time 3.312e-06/0.5542, allocations: 4 kB / 483.3 MB, free: 9.324 MB / 410.7 MB Notification: Performance of matching and sorting (n=23): time 0.0009898/0.5552, allocations: 315.3 kB / 483.6 MB, free: 9.012 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.315e-05/0.5553, allocations: 106.8 kB / 483.7 MB, free: 8.883 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008295/0.5562, allocations: 0.5036 MB / 484.2 MB, free: 8.375 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.621e-05/0.5562, allocations: 29.7 kB / 484.2 MB, free: 8.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002215/0.5565, allocations: 267 kB / 484.5 MB, free: 8.078 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.5566, allocations: 82.77 kB / 484.6 MB, free: 7.996 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.912e-05/0.5566, allocations: 4 kB / 484.6 MB, free: 7.992 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.5568, allocations: 326.8 kB / 484.9 MB, free: 7.664 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003339/0.5572, allocations: 119.9 kB / 485 MB, free: 7.547 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004206/0.5576, allocations: 220.7 kB / 485.2 MB, free: 7.285 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003908/0.558, allocations: 158.6 kB / 485.4 MB, free: 7.133 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.797e-06/0.558, allocations: 0 / 485.4 MB, free: 7.133 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001052/0.5591, allocations: 401.4 kB / 485.8 MB, free: 6.734 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.5591, allocations: 4 kB / 485.8 MB, free: 6.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001451/0.5593, allocations: 39.97 kB / 485.8 MB, free: 6.691 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.5593, allocations: 4 kB / 485.8 MB, free: 6.688 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003072/0.5596, allocations: 44.39 kB / 485.9 MB, free: 6.645 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.539e-05/0.5596, allocations: 7.938 kB / 485.9 MB, free: 6.637 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004708/0.5601, allocations: 71.36 kB / 486 MB, free: 6.566 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.009e-05/0.5602, allocations: 23.98 kB / 486 MB, free: 6.543 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 18 * 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.000171/0.5604, allocations: 124.9 kB / 486.1 MB, free: 6.414 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001671/0.5606, allocations: 43.44 kB / 486.1 MB, free: 6.371 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001249/0.5618, allocations: 459.5 kB / 486.6 MB, free: 5.914 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/0.5619, allocations: 11.94 kB / 486.6 MB, free: 5.902 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.294e-06/0.5619, allocations: 0 / 486.6 MB, free: 5.902 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.293e-06/0.5619, allocations: 0 / 486.6 MB, free: 5.902 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009221/0.5628, allocations: 401.3 kB / 487 MB, free: 5.461 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000135/0.563, allocations: 39.92 kB / 487 MB, free: 5.422 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002431/0.5632, allocations: 35.97 kB / 487.1 MB, free: 5.387 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.366e-05/0.5633, allocations: 4 kB / 487.1 MB, free: 5.383 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.926e-05/0.5633, allocations: 11.98 kB / 487.1 MB, free: 5.371 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.005e-06/0.5633, allocations: 0 / 487.1 MB, free: 5.371 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.47e-06/0.5634, allocations: 0 / 487.1 MB, free: 5.371 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.5644, allocations: 0.5946 MB / 487.7 MB, free: 4.746 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001967/0.5647, allocations: 132.5 kB / 487.8 MB, free: 4.598 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.809e-05/0.5648, allocations: 4 kB / 487.8 MB, free: 4.594 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004426/0.5652, allocations: 23.98 kB / 487.8 MB, free: 4.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.5653, allocations: 27.95 kB / 487.9 MB, free: 4.543 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.487e-05/0.5654, allocations: 15.98 kB / 487.9 MB, free: 4.527 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000664/0.5661, allocations: 405.5 kB / 488.3 MB, free: 4.133 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.229e-06/0.5661, allocations: 0 / 488.3 MB, free: 4.133 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009784/0.5671, allocations: 179.8 kB / 488.4 MB, free: 3.957 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 5 * 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.0006681/0.5678, allocations: 303.2 kB / 488.7 MB, free: 3.652 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001096/0.5689, allocations: 0.6031 MB / 489.3 MB, free: 2.977 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.5689, allocations: 0 / 489.3 MB, free: 2.977 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006123/0.5695, allocations: 460.3 kB / 489.8 MB, free: 2.453 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000751/0.5703, allocations: 97.94 kB / 489.9 MB, free: 2.359 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001921/0.5722, allocations: 0.7022 MB / 490.6 MB, free: 1.621 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006738/0.5729, allocations: 0.886 MB / 491.5 MB, free: 0.7109 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.5731, allocations: 35.42 kB / 491.5 MB, free: 0.6758 MB / 410.7 MB Notification: Performance of SimCode: time 2.096e-06/0.5731, allocations: 0 / 491.5 MB, free: 0.6758 MB / 410.7 MB Notification: Performance of Templates: time 0.01765/0.5907, allocations: 9.096 MB / 0.4889 GB, free: 7.602 MB / 426.7 MB