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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.928/1.928, allocations: 209.4 MB / 217.3 MB, free: 4.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.774e-05/1.775e-05, allocations: 4 kB / 271.3 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.2681, allocations: 48.69 MB / 320 MB, free: 14.4 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1607/0.4288, allocations: 81.27 MB / 401.3 MB, free: 15.16 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003105/0.4292, allocations: 91.94 kB / 401.4 MB, free: 15.07 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0549/0.4841, allocations: 13.9 MB / 415.3 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.082e-06/0.4841, allocations: 0 / 415.3 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.703e-05/0.4842, allocations: 4 kB / 415.3 MB, free: 0.9414 MB / 346.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.001073/0.4853, allocations: 0.6195 MB / 415.9 MB, free: 284 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.4853, allocations: 15.97 kB / 415.9 MB, free: 268 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001257/0.4855, allocations: 59.33 kB / 416 MB, free: 208 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005371/0.486, allocations: 303 kB / 416.3 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.11e-05/0.4861, allocations: 19.78 kB / 416.3 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.832e-05/0.4862, allocations: 32 kB / 416.3 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001182/0.4873, allocations: 0.6233 MB / 417 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001196/0.4886, allocations: 0.5895 MB / 417.5 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.4886, allocations: 0 / 417.5 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.641e-05/0.4887, allocations: 0 / 417.5 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.003e-05/0.4888, allocations: 45.28 kB / 417.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002807/0.4916, allocations: 1.292 MB / 418.9 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/0.4927, allocations: 0.5236 MB / 419.4 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003463/0.4931, allocations: 164.7 kB / 419.6 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.94e-05/0.4931, allocations: 15.97 kB / 419.6 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.4932, allocations: 30.56 kB / 419.6 MB, free: 12.46 MB / 362.7 MB Notification: Performance of pre-optimization done (n=37): time 3.635e-06/0.4932, allocations: 4 kB / 419.6 MB, free: 12.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=37): time 0.0009933/0.4942, allocations: 401.2 kB / 420 MB, free: 12.06 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.4942, allocations: 59.41 kB / 420.1 MB, free: 11.99 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002255/0.4945, allocations: 174.5 kB / 420.2 MB, free: 11.81 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.444e-05/0.4945, allocations: 29.7 kB / 420.3 MB, free: 11.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002052/0.4948, allocations: 302.7 kB / 420.6 MB, free: 11.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001443/0.4949, allocations: 122.1 kB / 420.7 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.96e-05/0.495, allocations: 0 / 420.7 MB, free: 11.36 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001919/0.4952, allocations: 334.8 kB / 421 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003491/0.4955, allocations: 156.7 kB / 421.2 MB, free: 10.87 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004475/0.496, allocations: 250.5 kB / 421.4 MB, free: 10.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004399/0.4964, allocations: 203.5 kB / 421.6 MB, free: 10.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.941e-06/0.4964, allocations: 0 / 421.6 MB, free: 10.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001074/0.4975, allocations: 473.1 kB / 422.1 MB, free: 9.918 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.4976, allocations: 16.8 kB / 422.1 MB, free: 9.902 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.4976, allocations: 4 kB / 422.1 MB, free: 9.898 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.4976, allocations: 7.938 kB / 422.1 MB, free: 9.891 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001364/0.499, allocations: 215.7 kB / 422.3 MB, free: 9.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005725/0.5047, allocations: 7.345 MB / 429.7 MB, free: 2.055 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003741/0.5052, allocations: 35.7 kB / 429.7 MB, free: 2.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.074e-05/0.5052, allocations: 19.98 kB / 429.7 MB, free: 2 MB / 362.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.0001972/0.5054, allocations: 120.9 kB / 429.8 MB, free: 1.875 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.092e-05/0.5055, allocations: 27.67 kB / 429.9 MB, free: 1.848 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001336/0.5069, allocations: 0.547 MB / 430.4 MB, free: 1.293 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.136e-06/0.5069, allocations: 4 kB / 430.4 MB, free: 1.289 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.874e-06/0.5069, allocations: 7.984 kB / 430.4 MB, free: 1.281 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.507, allocations: 0 / 430.4 MB, free: 1.281 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000767/0.5077, allocations: 385.8 kB / 430.8 MB, free: 0.8672 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.096e-06/0.5078, allocations: 0 / 430.8 MB, free: 0.8672 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001268/0.509, allocations: 207.8 kB / 431 MB, free: 0.6641 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.113e-06/0.5091, allocations: 0 / 431 MB, free: 0.6641 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.547e-05/0.5091, allocations: 15.94 kB / 431 MB, free: 0.6484 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005693/0.5148, allocations: 7.345 MB / 438.3 MB, free: 9.023 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.297e-06/0.5149, allocations: 0 / 438.3 MB, free: 9.023 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.5159, allocations: 0.5039 MB / 438.9 MB, free: 8.504 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.516, allocations: 104.8 kB / 439 MB, free: 8.383 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.028e-05/0.5161, allocations: 4 kB / 439 MB, free: 8.379 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002884/0.5164, allocations: 11.98 kB / 439 MB, free: 8.367 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.673e-05/0.5165, allocations: 23.97 kB / 439 MB, free: 8.344 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.464e-05/0.5166, allocations: 19.98 kB / 439 MB, free: 8.324 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001452/0.5167, allocations: 129.2 kB / 439.1 MB, free: 8.199 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.33e-07/0.5168, allocations: 4 kB / 439.1 MB, free: 8.195 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007634/0.5175, allocations: 167.4 kB / 439.3 MB, free: 8.031 MB / 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 () * 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.0003784/0.5179, allocations: 186.3 kB / 439.5 MB, free: 7.844 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001773/0.5197, allocations: 0.4917 MB / 440 MB, free: 7.352 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.5197, allocations: 0 / 440 MB, free: 7.352 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001293/0.521, allocations: 308 kB / 440.3 MB, free: 7.051 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003045/0.5214, allocations: 23.92 kB / 440.3 MB, free: 7.031 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001613/0.523, allocations: 0.6887 MB / 441 MB, free: 6.309 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007059/0.5237, allocations: 0.9008 MB / 441.9 MB, free: 5.383 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/0.5239, allocations: 31.42 kB / 441.9 MB, free: 5.352 MB / 378.7 MB Notification: Performance of SimCode: time 1.4e-06/0.5239, allocations: 0 / 441.9 MB, free: 5.352 MB / 378.7 MB Notification: Performance of Templates: time 0.2423/0.7662, allocations: 27.3 MB / 469.2 MB, free: 101.3 MB / 378.7 MB