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_evenGapOverall_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_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 2.217/2.217, allocations: 209.3 MB / 225.4 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004197/0.0004198, allocations: 16 kB / 283.1 MB, free: 9.664 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3911/0.3916, allocations: 48.69 MB / 331.8 MB, free: 6.52 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.151/0.5426, allocations: 86.22 MB / 418 MB, free: 8.203 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003946/0.5431, allocations: 103.9 kB / 418.1 MB, free: 8.102 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09109/0.6342, allocations: 20.23 MB / 438.4 MB, free: 3.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.6342, allocations: 0 / 438.4 MB, free: 3.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.474e-05/0.6343, allocations: 8 kB / 438.4 MB, free: 3.652 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.001531/0.6358, allocations: 0.6785 MB / 439.1 MB, free: 2.922 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.6359, allocations: 8.031 kB / 439.1 MB, free: 2.914 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001316/0.636, allocations: 51.34 kB / 439.1 MB, free: 2.863 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005338/0.6366, allocations: 306.9 kB / 439.4 MB, free: 2.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.854e-05/0.6366, allocations: 45.27 kB / 439.5 MB, free: 2.477 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.6367, allocations: 48 kB / 439.5 MB, free: 2.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001699/0.6385, allocations: 0.6934 MB / 440.2 MB, free: 1.727 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/0.6385, allocations: 0 / 440.2 MB, free: 1.727 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.469e-05/0.6386, allocations: 27.97 kB / 440.2 MB, free: 1.699 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-05/0.6387, allocations: 41.23 kB / 440.3 MB, free: 1.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00191/0.6406, allocations: 0.7545 MB / 441 MB, free: 0.9062 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00344/0.644, allocations: 1.461 MB / 442.5 MB, free: 15.38 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001285/0.6454, allocations: 448.4 kB / 442.9 MB, free: 14.94 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.782e-05/0.6454, allocations: 12.2 kB / 442.9 MB, free: 14.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.748e-05/0.6455, allocations: 34.8 kB / 443 MB, free: 14.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 2.604e-06/0.6455, allocations: 0 / 443 MB, free: 14.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.001841/0.6473, allocations: 0.5486 MB / 443.5 MB, free: 14.33 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/0.6474, allocations: 67.33 kB / 443.6 MB, free: 14.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009043/0.6483, allocations: 0.5212 MB / 444.1 MB, free: 13.72 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.027e-05/0.6484, allocations: 29.7 kB / 444.1 MB, free: 13.69 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002181/0.6486, allocations: 278.6 kB / 444.4 MB, free: 13.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/0.6487, allocations: 106.5 kB / 444.5 MB, free: 13.31 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.743e-05/0.6488, allocations: 12 kB / 444.5 MB, free: 13.3 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.6489, allocations: 330.8 kB / 444.8 MB, free: 12.96 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005624/0.6495, allocations: 160.6 kB / 445 MB, free: 12.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006527/0.6502, allocations: 289.6 kB / 445.3 MB, free: 12.46 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006511/0.6508, allocations: 215.8 kB / 445.5 MB, free: 12.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.909e-06/0.6509, allocations: 8.094 kB / 445.5 MB, free: 12.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001542/0.6524, allocations: 0.5094 MB / 446 MB, free: 11.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.6525, allocations: 16.45 kB / 446 MB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.6525, allocations: 4 kB / 446 MB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/0.6525, allocations: 8 kB / 446 MB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001783/0.6543, allocations: 215.8 kB / 446.2 MB, free: 11.49 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004952/0.6593, allocations: 7.314 MB / 453.6 MB, free: 3.898 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006448/0.66, allocations: 59.36 kB / 453.6 MB, free: 3.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-05/0.66, allocations: 23.98 kB / 453.6 MB, free: 3.816 MB / 378.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 () * Number of clocked 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.0004393/0.6605, allocations: 233.5 kB / 453.9 MB, free: 3.578 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.6606, allocations: 51.39 kB / 453.9 MB, free: 3.527 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001842/0.6625, allocations: 0.5565 MB / 454.5 MB, free: 2.961 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.6625, allocations: 4 kB / 454.5 MB, free: 2.957 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.6625, allocations: 0 / 454.5 MB, free: 2.957 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.6625, allocations: 4 kB / 454.5 MB, free: 2.953 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008277/0.6634, allocations: 417.2 kB / 454.9 MB, free: 2.496 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.6634, allocations: 0 / 454.9 MB, free: 2.496 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00166/0.665, allocations: 199.8 kB / 455.1 MB, free: 2.301 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.074e-05/0.6651, allocations: 7.938 kB / 455.1 MB, free: 2.293 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.319e-05/0.6651, allocations: 15.98 kB / 455.1 MB, free: 2.277 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005044/0.6702, allocations: 7.302 MB / 462.4 MB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.6702, allocations: 0 / 462.4 MB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001413/0.6717, allocations: 0.5036 MB / 462.9 MB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002092/0.6719, allocations: 128.4 kB / 463 MB, free: 10.03 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.672, allocations: 0 / 463 MB, free: 10.03 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004182/0.6724, allocations: 19.98 kB / 463.1 MB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.6726, allocations: 23.97 kB / 463.1 MB, free: 9.988 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.259e-05/0.6726, allocations: 15.98 kB / 463.1 MB, free: 9.973 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007095/0.6734, allocations: 383 kB / 463.5 MB, free: 9.602 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6734, allocations: 3.938 kB / 463.5 MB, free: 9.598 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009832/0.6744, allocations: 179.8 kB / 463.7 MB, free: 9.422 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 () * 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.0006643/0.675, allocations: 272.2 kB / 463.9 MB, free: 9.152 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002886/0.6779, allocations: 0.5593 MB / 464.5 MB, free: 8.594 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.678, allocations: 0 / 464.5 MB, free: 8.594 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002064/0.6801, allocations: 356.1 kB / 464.8 MB, free: 8.246 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007265/0.6808, allocations: 88.84 kB / 464.9 MB, free: 8.164 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002613/0.6835, allocations: 1.086 MB / 466 MB, free: 7.043 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006129/0.6841, allocations: 0.8975 MB / 466.9 MB, free: 6.117 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001914/0.6843, allocations: 43.42 kB / 466.9 MB, free: 6.074 MB / 394.7 MB Notification: Performance of SimCode: time 1.092e-06/0.6843, allocations: 0 / 466.9 MB, free: 6.074 MB / 394.7 MB Notification: Performance of Templates: time 0.3073/0.9916, allocations: 29.31 MB / 496.2 MB, free: 109.3 MB / 394.7 MB