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_evenGapOverall_KC.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_evenGapOverall_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_evenGapOverall_KC") Notification: Performance of loadModel(ModelicaTest): time 1.938/1.938, allocations: 209.3 MB / 222.4 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.325e-05/3.341e-05, allocations: 8 kB / 277.9 MB, free: 15.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08744/0.08749, allocations: 48.7 MB / 326.6 MB, free: 14.48 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3504/0.4379, allocations: 86.13 MB / 412.7 MB, free: 5.465 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002717/0.4383, allocations: 101.7 kB / 412.8 MB, free: 5.406 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08055/0.5188, allocations: 20.25 MB / 433 MB, free: 3.973 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.282e-06/0.5189, allocations: 3.984 kB / 433 MB, free: 3.969 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.191e-05/0.5189, allocations: 7.938 kB / 433.1 MB, free: 3.961 MB / 330.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.001266/0.5202, allocations: 0.6676 MB / 433.7 MB, free: 3.281 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.5203, allocations: 8.031 kB / 433.7 MB, free: 3.273 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001581/0.5204, allocations: 51.34 kB / 433.8 MB, free: 3.223 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005408/0.521, allocations: 305.5 kB / 434.1 MB, free: 2.891 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.579e-05/0.5211, allocations: 41.33 kB / 434.1 MB, free: 2.863 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.65e-05/0.5212, allocations: 50.36 kB / 434.2 MB, free: 2.828 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/0.5225, allocations: 0.6661 MB / 434.8 MB, free: 2.324 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.5225, allocations: 0 / 434.8 MB, free: 2.324 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.343e-05/0.5226, allocations: 18 kB / 434.9 MB, free: 2.32 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.45e-05/0.5227, allocations: 48.72 kB / 434.9 MB, free: 2.273 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001349/0.524, allocations: 0.7086 MB / 435.6 MB, free: 1.734 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00299/0.527, allocations: 1.456 MB / 437.1 MB, free: 452 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009558/0.528, allocations: 427 kB / 437.5 MB, free: 56 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003368/0.5284, allocations: 144.5 kB / 437.6 MB, free: 15.93 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.845e-05/0.5284, allocations: 12.2 kB / 437.6 MB, free: 15.92 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/0.5285, allocations: 38.12 kB / 437.7 MB, free: 15.88 MB / 346.7 MB Notification: Performance of pre-optimization done (n=28): time 3.886e-06/0.5285, allocations: 8 kB / 437.7 MB, free: 15.87 MB / 346.7 MB Notification: Performance of matching and sorting (n=28): time 0.0009672/0.5295, allocations: 368.4 kB / 438 MB, free: 15.54 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/0.5296, allocations: 58.66 kB / 438.1 MB, free: 15.47 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007511/0.5303, allocations: 481.4 kB / 438.6 MB, free: 15.07 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.465e-05/0.5304, allocations: 32.89 kB / 438.6 MB, free: 15.04 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002054/0.5306, allocations: 272.1 kB / 438.9 MB, free: 14.83 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/0.5307, allocations: 104.4 kB / 439 MB, free: 14.74 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-05/0.5308, allocations: 3.5 kB / 439 MB, free: 14.74 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.5309, allocations: 329.9 kB / 439.3 MB, free: 14.42 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003447/0.5313, allocations: 150.5 kB / 439.4 MB, free: 14.29 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004582/0.5318, allocations: 274.8 kB / 439.7 MB, free: 13.99 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004278/0.5322, allocations: 193 kB / 439.9 MB, free: 13.82 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/0.5322, allocations: 4 kB / 439.9 MB, free: 13.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001122/0.5334, allocations: 485.2 kB / 440.4 MB, free: 13.39 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.756e-05/0.5334, allocations: 7.953 kB / 440.4 MB, free: 13.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.5334, allocations: 8.562 kB / 440.4 MB, free: 13.38 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.41e-05/0.5335, allocations: 8 kB / 440.4 MB, free: 13.37 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/0.5349, allocations: 219.6 kB / 440.6 MB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005794/0.5407, allocations: 7.304 MB / 447.9 MB, free: 5.652 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005566/0.5413, allocations: 74.11 kB / 448 MB, free: 5.586 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/0.5414, allocations: 27.23 kB / 448 MB, free: 5.562 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (46): * Single equations (assignments): 34 * 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.0002049/0.5416, allocations: 143.7 kB / 448.2 MB, free: 5.426 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.5418, allocations: 47.47 kB / 448.2 MB, free: 5.379 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001302/0.5431, allocations: 0.5105 MB / 448.7 MB, free: 4.922 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.268e-06/0.5431, allocations: 4 kB / 448.7 MB, free: 4.918 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.416e-06/0.5431, allocations: 0 / 448.7 MB, free: 4.918 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.441e-06/0.5431, allocations: 3.984 kB / 448.7 MB, free: 4.914 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007959/0.544, allocations: 424.1 kB / 449.1 MB, free: 4.504 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.774e-06/0.544, allocations: 0 / 449.1 MB, free: 4.504 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001291/0.5453, allocations: 199.3 kB / 449.3 MB, free: 4.312 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-05/0.5453, allocations: 3.953 kB / 449.3 MB, free: 4.309 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.298e-05/0.5454, allocations: 19.36 kB / 449.4 MB, free: 4.293 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005733/0.5511, allocations: 7.305 MB / 456.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.572e-06/0.5512, allocations: 0 / 456.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009515/0.5521, allocations: 480.3 kB / 457.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001962/0.5523, allocations: 132.4 kB / 457.3 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.375e-05/0.5524, allocations: 3.25 kB / 457.3 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003296/0.5528, allocations: 15.55 kB / 457.3 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.729e-05/0.5529, allocations: 23.28 kB / 457.3 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.336e-05/0.5529, allocations: 11.98 kB / 457.3 MB, free: 12.15 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005791/0.5535, allocations: 388.8 kB / 457.7 MB, free: 11.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.01e-07/0.5535, allocations: 0 / 457.7 MB, free: 11.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008815/0.5544, allocations: 177.2 kB / 457.9 MB, free: 11.68 MB / 362.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 (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.0005911/0.555, allocations: 272.1 kB / 458.1 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001863/0.5569, allocations: 489.4 kB / 458.6 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.111e-06/0.557, allocations: 0 / 458.6 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001303/0.5583, allocations: 281.5 kB / 458.9 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006153/0.5589, allocations: 99.45 kB / 459 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001624/0.5605, allocations: 0.7008 MB / 459.7 MB, free: 9.969 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006684/0.5612, allocations: 0.9019 MB / 460.6 MB, free: 9.055 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001433/0.5614, allocations: 42.41 kB / 460.6 MB, free: 9.016 MB / 362.7 MB Notification: Performance of SimCode: time 2.052e-06/0.5614, allocations: 0 / 460.6 MB, free: 9.016 MB / 362.7 MB Notification: Performance of Templates: time 0.04303/0.6044, allocations: 29.3 MB / 489.9 MB, free: 11.73 MB / 394.7 MB