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_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_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.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC") Notification: Performance of loadModel(ModelicaTest): time 1.929/1.929, allocations: 209.3 MB / 222.4 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.279e-05/5.294e-05, allocations: 8 kB / 277.9 MB, free: 15.28 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0936/0.0937, allocations: 48.69 MB / 326.6 MB, free: 14.5 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3769/0.4706, allocations: 81.94 MB / 408.5 MB, free: 8.172 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002868/0.4709, allocations: 96.84 kB / 408.6 MB, free: 8.156 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05217/0.5231, allocations: 14.06 MB / 422.7 MB, free: 13.43 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.969e-06/0.5232, allocations: 0 / 422.7 MB, free: 13.43 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.199e-05/0.5232, allocations: 12 kB / 422.7 MB, free: 13.42 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.001086/0.5243, allocations: 0.6243 MB / 423.3 MB, free: 12.78 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.5244, allocations: 8.031 kB / 423.3 MB, free: 12.77 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001241/0.5245, allocations: 55.28 kB / 423.4 MB, free: 12.71 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000508/0.525, allocations: 301.3 kB / 423.6 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.242e-05/0.5251, allocations: 47.61 kB / 423.7 MB, free: 12.36 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.32e-05/0.5252, allocations: 50.31 kB / 423.7 MB, free: 12.32 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00128/0.5265, allocations: 0.6589 MB / 424.4 MB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.5265, allocations: 0 / 424.4 MB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.979e-05/0.5266, allocations: 22.5 kB / 424.4 MB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.108e-05/0.5267, allocations: 45.28 kB / 424.5 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001351/0.528, allocations: 0.7132 MB / 425.2 MB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002985/0.531, allocations: 1.464 MB / 426.6 MB, free: 9.926 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009506/0.532, allocations: 434 kB / 427.1 MB, free: 9.535 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003185/0.5324, allocations: 134.4 kB / 427.2 MB, free: 9.418 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.615e-05/0.5324, allocations: 15.66 kB / 427.2 MB, free: 9.406 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/0.5325, allocations: 42.73 kB / 427.3 MB, free: 9.355 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 5.631e-06/0.5325, allocations: 112 / 427.3 MB, free: 9.355 MB / 330.7 MB Notification: Performance of matching and sorting (n=28): time 0.0009557/0.5335, allocations: 382 kB / 427.6 MB, free: 9.012 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.293e-05/0.5335, allocations: 59.34 kB / 427.7 MB, free: 8.941 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007443/0.5343, allocations: 475.8 kB / 428.1 MB, free: 8.551 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.281e-05/0.5343, allocations: 33.08 kB / 428.2 MB, free: 8.516 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001903/0.5345, allocations: 268.8 kB / 428.4 MB, free: 8.316 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/0.5347, allocations: 90.91 kB / 428.5 MB, free: 8.238 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-05/0.5347, allocations: 11.38 kB / 428.5 MB, free: 8.23 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.5349, allocations: 333.9 kB / 428.9 MB, free: 7.902 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003241/0.5352, allocations: 133.2 kB / 429 MB, free: 7.785 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004139/0.5357, allocations: 235.5 kB / 429.2 MB, free: 7.539 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003914/0.5361, allocations: 185.7 kB / 429.4 MB, free: 7.375 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.5361, allocations: 4 kB / 429.4 MB, free: 7.371 MB / 330.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00102/0.5371, allocations: 433.7 kB / 429.8 MB, free: 6.988 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.5372, allocations: 4 kB / 429.8 MB, free: 6.984 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.5372, allocations: 4.375 kB / 429.8 MB, free: 6.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/0.5372, allocations: 11.95 kB / 429.9 MB, free: 6.969 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001365/0.5386, allocations: 207.3 kB / 430.1 MB, free: 6.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00579/0.5444, allocations: 7.304 MB / 437.4 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005217/0.545, allocations: 69.83 kB / 437.4 MB, free: 15.21 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.557e-05/0.5451, allocations: 19.98 kB / 437.5 MB, free: 15.19 MB / 346.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 (40): * Single equations (assignments): 28 * 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.0001967/0.5453, allocations: 135.1 kB / 437.6 MB, free: 15.06 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/0.5454, allocations: 47.39 kB / 437.6 MB, free: 15.01 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001293/0.5467, allocations: 0.5136 MB / 438.1 MB, free: 14.56 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.087e-06/0.5468, allocations: 4 kB / 438.1 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.786e-06/0.5468, allocations: 0 / 438.1 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.538e-06/0.5468, allocations: 4 kB / 438.2 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007719/0.5476, allocations: 424.6 kB / 438.6 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.093e-06/0.5476, allocations: 3.984 kB / 438.6 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001186/0.5488, allocations: 195.8 kB / 438.8 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.189e-05/0.5488, allocations: 3.984 kB / 438.8 MB, free: 13.94 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.936e-05/0.5489, allocations: 15.64 kB / 438.8 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005683/0.5546, allocations: 7.314 MB / 446.1 MB, free: 6.422 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.219e-06/0.5546, allocations: 0 / 446.1 MB, free: 6.422 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009584/0.5556, allocations: 473.8 kB / 446.6 MB, free: 5.98 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002041/0.5558, allocations: 128.5 kB / 446.7 MB, free: 5.836 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.099e-05/0.5559, allocations: 11.33 kB / 446.7 MB, free: 5.828 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003214/0.5562, allocations: 19.8 kB / 446.7 MB, free: 5.812 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.638e-05/0.5564, allocations: 19.97 kB / 446.7 MB, free: 5.793 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.412e-05/0.5564, allocations: 15.36 kB / 446.7 MB, free: 5.781 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000584/0.557, allocations: 379.8 kB / 447.1 MB, free: 5.484 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.78e-07/0.557, allocations: 4 kB / 447.1 MB, free: 5.48 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007137/0.5577, allocations: 129.4 kB / 447.3 MB, free: 5.363 MB / 346.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.0003885/0.5582, allocations: 207.7 kB / 447.5 MB, free: 5.156 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001748/0.5599, allocations: 468.3 kB / 447.9 MB, free: 4.738 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.554e-06/0.5599, allocations: 0 / 447.9 MB, free: 4.738 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001282/0.5612, allocations: 291.2 kB / 448.2 MB, free: 4.469 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005671/0.5618, allocations: 77.78 kB / 448.3 MB, free: 4.418 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001568/0.5634, allocations: 0.7009 MB / 449 MB, free: 3.738 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000693/0.5641, allocations: 0.9014 MB / 449.9 MB, free: 2.824 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001392/0.5643, allocations: 42.8 kB / 449.9 MB, free: 2.785 MB / 346.7 MB Notification: Performance of SimCode: time 1.547e-06/0.5643, allocations: 0 / 449.9 MB, free: 2.785 MB / 346.7 MB Notification: Performance of Templates: time 0.04091/0.6052, allocations: 28.53 MB / 478.4 MB, free: 6.266 MB / 378.7 MB