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.939/1.939, allocations: 209.3 MB / 224.9 MB, free: 1.195 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004306/0.0004307, allocations: 8 kB / 282.6 MB, free: 9.68 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08657/0.08702, allocations: 48.71 MB / 331.3 MB, free: 8.883 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3386/0.4257, allocations: 86.22 MB / 417.5 MB, free: 14.9 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003004/0.4261, allocations: 103 kB / 417.6 MB, free: 14.8 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.084/0.5101, allocations: 20.22 MB / 437.8 MB, free: 10.38 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.002e-06/0.5101, allocations: 4 kB / 437.8 MB, free: 10.37 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.663e-05/0.5102, allocations: 4 kB / 437.9 MB, free: 10.37 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.00124/0.5114, allocations: 0.6824 MB / 438.5 MB, free: 9.637 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.5115, allocations: 8.031 kB / 438.5 MB, free: 9.629 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001326/0.5116, allocations: 51.34 kB / 438.6 MB, free: 9.578 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005433/0.5122, allocations: 310.8 kB / 438.9 MB, free: 9.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.181e-05/0.5122, allocations: 45.3 kB / 438.9 MB, free: 9.188 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.5123, allocations: 48 kB / 439 MB, free: 9.141 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/0.5138, allocations: 0.6857 MB / 439.7 MB, free: 8.445 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.5138, allocations: 0 / 439.7 MB, free: 8.445 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.744e-05/0.5139, allocations: 20 kB / 439.7 MB, free: 8.426 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.568e-05/0.514, allocations: 41.28 kB / 439.7 MB, free: 8.387 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001583/0.5156, allocations: 0.7545 MB / 440.5 MB, free: 7.633 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002989/0.5186, allocations: 1.453 MB / 441.9 MB, free: 6.121 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/0.5197, allocations: 456.4 kB / 442.4 MB, free: 5.668 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.445e-05/0.5198, allocations: 12.2 kB / 442.4 MB, free: 5.656 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/0.5198, allocations: 42.75 kB / 442.4 MB, free: 5.605 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 3.464e-06/0.5198, allocations: 0 / 442.4 MB, free: 5.605 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.001479/0.5213, allocations: 0.5413 MB / 443 MB, free: 5.059 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.906e-05/0.5214, allocations: 59.41 kB / 443 MB, free: 4.988 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007694/0.5222, allocations: 484.9 kB / 443.5 MB, free: 4.508 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.442e-05/0.5222, allocations: 29.7 kB / 443.5 MB, free: 4.473 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002253/0.5225, allocations: 286.5 kB / 443.8 MB, free: 4.191 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000115/0.5226, allocations: 94.59 kB / 443.9 MB, free: 4.098 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.083e-05/0.5226, allocations: 8 kB / 443.9 MB, free: 4.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.5228, allocations: 330.8 kB / 444.2 MB, free: 3.758 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004452/0.5233, allocations: 172.5 kB / 444.4 MB, free: 3.586 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005546/0.5238, allocations: 293.6 kB / 444.7 MB, free: 3.242 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005325/0.5244, allocations: 215.8 kB / 444.9 MB, free: 3.031 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.874e-06/0.5244, allocations: 0 / 444.9 MB, free: 3.031 MB / 362.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001324/0.5258, allocations: 0.5133 MB / 445.4 MB, free: 2.512 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.5258, allocations: 8.109 kB / 445.4 MB, free: 2.504 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.5258, allocations: 8.5 kB / 445.4 MB, free: 2.496 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.395e-05/0.5259, allocations: 8 kB / 445.4 MB, free: 2.488 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001343/0.5272, allocations: 227.7 kB / 445.7 MB, free: 2.266 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005843/0.5331, allocations: 7.31 MB / 453 MB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005292/0.5336, allocations: 63.36 kB / 453 MB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.908e-05/0.5337, allocations: 27.98 kB / 453.1 MB, free: 10.59 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.0004156/0.5341, allocations: 237 kB / 453.3 MB, free: 10.35 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.5343, allocations: 47.39 kB / 453.3 MB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001461/0.5357, allocations: 0.5488 MB / 453.9 MB, free: 9.742 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.869e-06/0.5358, allocations: 4 kB / 453.9 MB, free: 9.738 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.215e-06/0.5358, allocations: 4 kB / 453.9 MB, free: 9.734 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.324e-06/0.5358, allocations: 0 / 453.9 MB, free: 9.734 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007933/0.5366, allocations: 425.2 kB / 454.3 MB, free: 9.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.3e-06/0.5366, allocations: 3.984 kB / 454.3 MB, free: 9.266 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001273/0.5379, allocations: 203.7 kB / 454.5 MB, free: 9.066 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.168e-06/0.5379, allocations: 0 / 454.5 MB, free: 9.066 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.97e-05/0.538, allocations: 7.984 kB / 454.5 MB, free: 9.059 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005777/0.5438, allocations: 7.306 MB / 461.8 MB, free: 1.473 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.156e-06/0.5438, allocations: 3.938 kB / 461.8 MB, free: 1.469 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/0.545, allocations: 0.5035 MB / 462.3 MB, free: 0.9492 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001975/0.5452, allocations: 128.5 kB / 462.5 MB, free: 0.8047 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.586e-05/0.5453, allocations: 4 kB / 462.5 MB, free: 0.8008 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003287/0.5456, allocations: 15.98 kB / 462.5 MB, free: 0.7852 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.279e-05/0.5457, allocations: 27.97 kB / 462.5 MB, free: 0.7578 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.502e-05/0.5458, allocations: 11.98 kB / 462.5 MB, free: 0.7461 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006169/0.5464, allocations: 383 kB / 462.9 MB, free: 384 kB / 378.7 MB Notification: Performance of sort global known variables: time 8.16e-07/0.5464, allocations: 0 / 462.9 MB, free: 384 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008496/0.5473, allocations: 179.8 kB / 463.1 MB, free: 204 kB / 378.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.0005884/0.5479, allocations: 280.6 kB / 463.4 MB, free: 15.92 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002039/0.55, allocations: 0.5126 MB / 463.9 MB, free: 15.41 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.662e-06/0.55, allocations: 3.938 kB / 463.9 MB, free: 15.41 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001388/0.5514, allocations: 308.1 kB / 464.2 MB, free: 15.11 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00062/0.552, allocations: 85.86 kB / 464.3 MB, free: 15.02 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002175/0.5542, allocations: 1.08 MB / 465.3 MB, free: 13.91 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006772/0.5549, allocations: 0.8936 MB / 466.2 MB, free: 12.99 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/0.5551, allocations: 39.42 kB / 466.3 MB, free: 12.95 MB / 394.7 MB Notification: Performance of SimCode: time 1.763e-06/0.5551, allocations: 4 kB / 466.3 MB, free: 12.95 MB / 394.7 MB Notification: Performance of Templates: time 0.322/0.8771, allocations: 29.31 MB / 495.6 MB, free: 128.3 MB / 410.7 MB