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 2.001/2.001, allocations: 209.3 MB / 224.9 MB, free: 276 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004584/0.0004586, allocations: 12 kB / 282.6 MB, free: 9.574 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2858, allocations: 48.7 MB / 331.3 MB, free: 6.512 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.121/0.4069, allocations: 82.02 MB / 413.3 MB, free: 12.4 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003193/0.4073, allocations: 95.94 kB / 413.4 MB, free: 12.3 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08277/0.49, allocations: 14.03 MB / 427.4 MB, free: 14.05 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.794e-06/0.4901, allocations: 4 kB / 427.4 MB, free: 14.05 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.286e-05/0.4902, allocations: 8 kB / 427.5 MB, free: 14.04 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.002113/0.4923, allocations: 0.6435 MB / 428.1 MB, free: 13.35 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.138e-05/0.4924, allocations: 8.031 kB / 428.1 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000275/0.4927, allocations: 55.34 kB / 428.2 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009387/0.4937, allocations: 310.8 kB / 428.5 MB, free: 12.94 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.722e-05/0.4938, allocations: 41.27 kB / 428.5 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001927/0.494, allocations: 48 kB / 428.6 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002847/0.4969, allocations: 0.6935 MB / 429.2 MB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.859e-05/0.4969, allocations: 0 / 429.2 MB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000112/0.4971, allocations: 20 kB / 429.3 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001241/0.4972, allocations: 45.28 kB / 429.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001726/0.4989, allocations: 0.7505 MB / 430.1 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003062/0.502, allocations: 1.461 MB / 431.5 MB, free: 9.816 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001241/0.5033, allocations: 448.5 kB / 432 MB, free: 9.371 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.05e-05/0.5034, allocations: 12.2 kB / 432 MB, free: 9.359 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.938e-05/0.5034, allocations: 38.8 kB / 432 MB, free: 9.312 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 5.233e-06/0.5035, allocations: 0 / 432 MB, free: 9.312 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.001578/0.5051, allocations: 0.5529 MB / 432.6 MB, free: 8.754 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/0.5051, allocations: 55.41 kB / 432.6 MB, free: 8.688 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007965/0.5059, allocations: 484.9 kB / 433.1 MB, free: 8.207 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.58e-05/0.506, allocations: 37.64 kB / 433.1 MB, free: 8.164 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002185/0.5062, allocations: 262.9 kB / 433.4 MB, free: 7.906 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000124/0.5064, allocations: 102.5 kB / 433.5 MB, free: 7.805 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.786e-05/0.5064, allocations: 4 kB / 433.5 MB, free: 7.801 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.5066, allocations: 330.9 kB / 433.8 MB, free: 7.469 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004371/0.507, allocations: 164.4 kB / 434 MB, free: 7.305 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005045/0.5076, allocations: 256.2 kB / 434.2 MB, free: 7.016 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000492/0.5081, allocations: 191.8 kB / 434.4 MB, free: 6.828 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.928e-06/0.5081, allocations: 4 kB / 434.4 MB, free: 6.824 MB / 362.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001259/0.5094, allocations: 469.9 kB / 434.9 MB, free: 6.359 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.5094, allocations: 8.938 kB / 434.9 MB, free: 6.352 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.5094, allocations: 0 / 434.9 MB, free: 6.352 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.873e-05/0.5095, allocations: 11.95 kB / 434.9 MB, free: 6.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0013/0.5108, allocations: 212.1 kB / 435.1 MB, free: 6.133 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005743/0.5165, allocations: 7.31 MB / 442.4 MB, free: 14.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004981/0.5171, allocations: 75.48 kB / 442.5 MB, free: 14.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.668e-05/0.5171, allocations: 19.98 kB / 442.5 MB, free: 14.45 MB / 378.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 () * Number of clocked 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.0004075/0.5176, allocations: 225.6 kB / 442.7 MB, free: 14.22 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.5177, allocations: 39.53 kB / 442.8 MB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001472/0.5192, allocations: 0.5564 MB / 443.3 MB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.763e-06/0.5192, allocations: 4 kB / 443.3 MB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.046e-06/0.5192, allocations: 0 / 443.3 MB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.303e-06/0.5192, allocations: 0 / 443.3 MB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000764/0.52, allocations: 425.2 kB / 443.7 MB, free: 13.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.329e-06/0.52, allocations: 3.938 kB / 443.7 MB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001166/0.5212, allocations: 199.8 kB / 443.9 MB, free: 12.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/0.5212, allocations: 4 kB / 443.9 MB, free: 12.95 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.416e-05/0.5213, allocations: 11.98 kB / 443.9 MB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005745/0.527, allocations: 7.317 MB / 451.3 MB, free: 5.336 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.5271, allocations: 0 / 451.3 MB, free: 5.336 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/0.5282, allocations: 0.4995 MB / 451.8 MB, free: 4.82 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002091/0.5285, allocations: 132.5 kB / 451.9 MB, free: 4.672 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.228e-05/0.5286, allocations: 7.953 kB / 451.9 MB, free: 4.664 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000307/0.5289, allocations: 12 kB / 451.9 MB, free: 4.652 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.096e-05/0.529, allocations: 27.95 kB / 451.9 MB, free: 4.625 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.751e-05/0.5291, allocations: 15.98 kB / 452 MB, free: 4.609 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006239/0.5297, allocations: 395 kB / 452.3 MB, free: 4.227 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.83e-07/0.5297, allocations: 0 / 452.3 MB, free: 4.227 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007043/0.5304, allocations: 135.8 kB / 452.5 MB, free: 4.094 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 () * 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.0003796/0.5308, allocations: 195.1 kB / 452.7 MB, free: 3.898 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001966/0.5328, allocations: 0.4927 MB / 453.2 MB, free: 3.406 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.054e-06/0.5328, allocations: 7.938 kB / 453.2 MB, free: 3.398 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001348/0.5342, allocations: 300.1 kB / 453.5 MB, free: 3.105 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006126/0.5348, allocations: 89.84 kB / 453.5 MB, free: 3.016 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002143/0.537, allocations: 1.068 MB / 454.6 MB, free: 1.918 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007008/0.5377, allocations: 0.9014 MB / 455.5 MB, free: 0.9922 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/0.5379, allocations: 39.41 kB / 455.6 MB, free: 0.9531 MB / 378.7 MB Notification: Performance of SimCode: time 1.53e-06/0.5379, allocations: 0 / 455.6 MB, free: 0.9531 MB / 378.7 MB Notification: Performance of Templates: time 0.2567/0.7946, allocations: 28.54 MB / 484.1 MB, free: 118.7 MB / 394.7 MB