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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.415/2.415, allocations: 235.1 MB / 243 MB, free: 9.492 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.849e-05/1.867e-05, allocations: 4 kB / 303.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2726, allocations: 54.86 MB / 358.1 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1316/0.4042, allocations: 87.61 MB / 445.7 MB, free: 7.172 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003079/0.4046, allocations: 95.92 kB / 445.8 MB, free: 7.078 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05419/0.4588, allocations: 13.89 MB / 459.7 MB, free: 8.965 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.547e-06/0.4588, allocations: 0 / 459.7 MB, free: 8.965 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.984e-05/0.4589, allocations: 8 kB / 459.7 MB, free: 8.957 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.001102/0.46, allocations: 0.6209 MB / 460.3 MB, free: 8.293 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.4601, allocations: 15.97 kB / 460.3 MB, free: 8.277 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001478/0.4602, allocations: 59.3 kB / 460.4 MB, free: 8.219 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005019/0.4607, allocations: 307.6 kB / 460.7 MB, free: 7.875 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.385e-05/0.4608, allocations: 16 kB / 460.7 MB, free: 7.859 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.936e-05/0.4609, allocations: 32 kB / 460.7 MB, free: 7.828 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001202/0.4621, allocations: 0.6233 MB / 461.3 MB, free: 7.203 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001192/0.4633, allocations: 0.5933 MB / 461.9 MB, free: 6.605 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.4634, allocations: 0 / 461.9 MB, free: 6.605 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.06e-05/0.4634, allocations: 4 kB / 461.9 MB, free: 6.602 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.818e-05/0.4635, allocations: 45.23 kB / 462 MB, free: 6.559 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00285/0.4664, allocations: 1.292 MB / 463.3 MB, free: 5.223 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/0.4675, allocations: 0.506 MB / 463.8 MB, free: 4.707 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003601/0.4679, allocations: 164.7 kB / 463.9 MB, free: 4.543 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.21e-05/0.468, allocations: 11.98 kB / 463.9 MB, free: 4.531 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.054e-05/0.468, allocations: 38.5 kB / 464 MB, free: 4.484 MB / 394.7 MB Notification: Performance of pre-optimization done (n=37): time 3.628e-06/0.468, allocations: 0 / 464 MB, free: 4.484 MB / 394.7 MB Notification: Performance of matching and sorting (n=37): time 0.001027/0.4691, allocations: 393.5 kB / 464.4 MB, free: 4.094 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.4691, allocations: 63.16 kB / 464.4 MB, free: 4.02 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002465/0.4694, allocations: 174.5 kB / 464.6 MB, free: 3.836 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.404e-05/0.4695, allocations: 25.7 kB / 464.6 MB, free: 3.805 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002028/0.4697, allocations: 306.6 kB / 464.9 MB, free: 3.504 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001452/0.4698, allocations: 122.2 kB / 465 MB, free: 3.383 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.712e-05/0.4699, allocations: 0 / 465 MB, free: 3.383 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.47, allocations: 330.8 kB / 465.4 MB, free: 3.051 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003642/0.4704, allocations: 160.7 kB / 465.5 MB, free: 2.895 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004513/0.4709, allocations: 258.5 kB / 465.8 MB, free: 2.602 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004412/0.4713, allocations: 203.8 kB / 466 MB, free: 2.402 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.457e-06/0.4714, allocations: 0 / 466 MB, free: 2.402 MB / 394.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001099/0.4725, allocations: 480.6 kB / 466.4 MB, free: 1.926 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.4725, allocations: 7.938 kB / 466.4 MB, free: 1.918 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.4725, allocations: 4 kB / 466.5 MB, free: 1.914 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/0.4726, allocations: 4 kB / 466.5 MB, free: 1.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001389/0.474, allocations: 215.8 kB / 466.7 MB, free: 1.699 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2453/0.7193, allocations: 7.341 MB / 474 MB, free: 94.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004331/0.7198, allocations: 29.5 kB / 474 MB, free: 94.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.667e-05/0.7199, allocations: 24.3 kB / 474.1 MB, free: 94.2 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 37 * 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.0001731/0.7201, allocations: 125.8 kB / 474.2 MB, free: 94.09 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.316e-05/0.7202, allocations: 26.44 kB / 474.2 MB, free: 94.09 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001384/0.7216, allocations: 0.5454 MB / 474.8 MB, free: 94.04 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.973e-06/0.7216, allocations: 2.75 kB / 474.8 MB, free: 94.04 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.028e-06/0.7216, allocations: 1.375 kB / 474.8 MB, free: 94.04 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.487e-06/0.7216, allocations: 1.875 kB / 474.8 MB, free: 94.04 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007587/0.7224, allocations: 396.6 kB / 475.1 MB, free: 93.88 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.7224, allocations: 3.875 kB / 475.2 MB, free: 93.88 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001557/0.724, allocations: 206.8 kB / 475.4 MB, free: 93.88 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.159e-05/0.724, allocations: 1.531 kB / 475.4 MB, free: 93.88 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.186e-05/0.7241, allocations: 9.312 kB / 475.4 MB, free: 93.88 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003325/0.7274, allocations: 7.34 MB / 482.7 MB, free: 86.85 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.125e-06/0.7275, allocations: 1.906 kB / 482.7 MB, free: 86.85 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009699/0.7285, allocations: 0.5055 MB / 483.2 MB, free: 86.7 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.394e-05/0.7285, allocations: 99.52 kB / 483.3 MB, free: 86.6 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.966e-05/0.7286, allocations: 5.5 kB / 483.3 MB, free: 86.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000302/0.7289, allocations: 20.02 kB / 483.3 MB, free: 86.6 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.729, allocations: 25.81 kB / 483.4 MB, free: 86.6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.301e-05/0.7291, allocations: 17.83 kB / 483.4 MB, free: 86.6 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001195/0.7292, allocations: 128.8 kB / 483.5 MB, free: 86.52 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.64e-07/0.7293, allocations: 1.781 kB / 483.5 MB, free: 86.52 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007439/0.73, allocations: 152.1 kB / 483.7 MB, free: 86.51 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 25 * 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.0003583/0.7304, allocations: 190.9 kB / 483.8 MB, free: 86.42 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001795/0.7322, allocations: 0.4898 MB / 484.3 MB, free: 86.41 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.55e-06/0.7322, allocations: 0 / 484.3 MB, free: 86.41 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001337/0.7336, allocations: 317.8 kB / 484.6 MB, free: 86.41 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003444/0.7339, allocations: 28.72 kB / 484.7 MB, free: 86.41 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001584/0.7355, allocations: 0.6814 MB / 485.3 MB, free: 86.18 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004272/0.736, allocations: 0.9048 MB / 486.3 MB, free: 85.49 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/0.7361, allocations: 30.88 kB / 486.3 MB, free: 85.48 MB / 394.7 MB Notification: Performance of SimCode: time 1.714e-06/0.7362, allocations: 2.812 kB / 486.3 MB, free: 85.48 MB / 394.7 MB Notification: Performance of Templates: time 0.0288/0.765, allocations: 27.28 MB / 0.5015 GB, free: 64.37 MB / 394.7 MB