Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall,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.|m_flow.1.|m_flow.2.|m_flow.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Nu_4.1.|Nu_4.2.|Nu_4.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|mflow_test|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall") Notification: Performance of loadModel(ModelicaTest): time 2.257/2.257, allocations: 234.9 MB / 250.5 MB, free: 9.543 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004299/0.00043, allocations: 12 kB / 314.3 MB, free: 9.57 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.2727, allocations: 54.87 MB / 369.2 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall): time 0.002864/0.2756, allocations: 1.778 MB / 371 MB, free: 8.918 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003428/0.2791, allocations: 1.798 MB / 372.8 MB, free: 7.113 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001322/0.2792, allocations: 4 kB / 372.8 MB, free: 7.109 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002533/0.2795, allocations: 47.72 kB / 372.8 MB, free: 7.062 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001959/0.2797, allocations: 75.72 kB / 372.9 MB, free: 6.988 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00119/0.2809, allocations: 359 kB / 373.3 MB, free: 6.637 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005108/0.2814, allocations: 347.2 kB / 373.6 MB, free: 6.297 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.2816, allocations: 61.05 kB / 373.7 MB, free: 6.234 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000251/0.2819, allocations: 151.3 kB / 373.8 MB, free: 6.086 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002594/0.2821, allocations: 179.2 kB / 374 MB, free: 5.91 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.998e-05/0.2822, allocations: 12 kB / 374 MB, free: 5.898 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001273/0.2835, allocations: 0.6358 MB / 374.6 MB, free: 5.262 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.2836, allocations: 87.64 kB / 374.7 MB, free: 5.176 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.2837, allocations: 93.45 kB / 374.8 MB, free: 5.078 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007993/0.2846, allocations: 491.5 kB / 375.3 MB, free: 4.598 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.431e-06/0.2846, allocations: 0 / 375.3 MB, free: 4.598 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.607e-06/0.2846, allocations: 0 / 375.3 MB, free: 4.598 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.067e-06/0.2846, allocations: 0 / 375.3 MB, free: 4.598 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001324/0.2859, allocations: 0.7405 MB / 376 MB, free: 3.809 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.286, allocations: 12.03 kB / 376 MB, free: 3.797 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001178/0.2861, allocations: 51.42 kB / 376.1 MB, free: 3.746 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004713/0.2866, allocations: 298.3 kB / 376.4 MB, free: 3.414 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.542e-05/0.2867, allocations: 41 kB / 376.4 MB, free: 3.375 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.2868, allocations: 48 kB / 376.5 MB, free: 3.328 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001464/0.2883, allocations: 0.7001 MB / 377.2 MB, free: 2.605 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.2883, allocations: 4 kB / 377.2 MB, free: 2.602 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.892e-05/0.2884, allocations: 20 kB / 377.2 MB, free: 2.582 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.319e-05/0.2884, allocations: 24.95 kB / 377.2 MB, free: 2.559 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001299/0.2897, allocations: 0.5233 MB / 377.7 MB, free: 2.039 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002855/0.2926, allocations: 1.519 MB / 379.3 MB, free: 468 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008734/0.2935, allocations: 328.6 kB / 379.6 MB, free: 112 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.148e-05/0.2936, allocations: 15.94 kB / 379.6 MB, free: 96 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.2936, allocations: 42.5 kB / 379.6 MB, free: 44 kB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 3.842e-06/0.2937, allocations: 3.938 kB / 379.6 MB, free: 40 kB / 298.7 MB Notification: Performance of matching and sorting (n=23): time 0.002104/0.2958, allocations: 1.011 MB / 380.7 MB, free: 14.92 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.668e-05/0.2959, allocations: 106.8 kB / 380.8 MB, free: 14.79 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008851/0.2968, allocations: 0.5642 MB / 381.3 MB, free: 14.21 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.196e-05/0.2968, allocations: 29.7 kB / 381.3 MB, free: 14.18 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002419/0.2971, allocations: 262.8 kB / 381.6 MB, free: 13.92 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.911e-05/0.2972, allocations: 78.86 kB / 381.7 MB, free: 13.84 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.658e-05/0.2972, allocations: 0 / 381.7 MB, free: 13.84 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.2974, allocations: 330.8 kB / 382 MB, free: 13.51 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005167/0.298, allocations: 155.8 kB / 382.2 MB, free: 13.36 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005935/0.2986, allocations: 264.7 kB / 382.4 MB, free: 13.05 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005647/0.2991, allocations: 199.8 kB / 382.6 MB, free: 12.86 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.26e-06/0.2992, allocations: 0 / 382.6 MB, free: 12.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00137/0.3005, allocations: 476.8 kB / 383.1 MB, free: 12.38 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.3006, allocations: 8 kB / 383.1 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001037/0.3007, allocations: 35.97 kB / 383.1 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.644e-05/0.3007, allocations: 11.94 kB / 383.1 MB, free: 12.33 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002661/0.301, allocations: 48.3 kB / 383.2 MB, free: 12.28 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.301, allocations: 4 kB / 383.2 MB, free: 12.28 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000432/0.3015, allocations: 71.36 kB / 383.3 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-05/0.3016, allocations: 19.98 kB / 383.3 MB, free: 12.19 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (30): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000349/0.3019, allocations: 221.7 kB / 383.5 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00016/0.3021, allocations: 47.39 kB / 383.5 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001292/0.3034, allocations: 492 kB / 384 MB, free: 11.43 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/0.3034, allocations: 7.938 kB / 384 MB, free: 11.42 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.3035, allocations: 0 / 384 MB, free: 11.42 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.3035, allocations: 7.984 kB / 384 MB, free: 11.41 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008241/0.3043, allocations: 397.2 kB / 384.4 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.66e-05/0.3044, allocations: 43.95 kB / 384.5 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002023/0.3046, allocations: 31.97 kB / 384.5 MB, free: 10.9 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.548e-06/0.3047, allocations: 7.953 kB / 384.5 MB, free: 10.89 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.49e-05/0.3047, allocations: 8 kB / 384.5 MB, free: 10.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.764e-06/0.3047, allocations: 4 kB / 384.5 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/0.3047, allocations: 3.984 kB / 384.5 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00132/0.3061, allocations: 0.6421 MB / 385.2 MB, free: 10.22 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001677/0.3063, allocations: 132.5 kB / 385.3 MB, free: 10.07 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.834e-05/0.3064, allocations: 3.953 kB / 385.3 MB, free: 10.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004133/0.3068, allocations: 27.97 kB / 385.3 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.322e-05/0.3069, allocations: 23.97 kB / 385.3 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-05/0.3069, allocations: 12 kB / 385.4 MB, free: 10 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006449/0.3076, allocations: 410.8 kB / 385.8 MB, free: 9.605 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.62e-07/0.3076, allocations: 4 kB / 385.8 MB, free: 9.602 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008727/0.3085, allocations: 171.8 kB / 385.9 MB, free: 9.434 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005094/0.309, allocations: 238.7 kB / 386.2 MB, free: 9.191 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001441/0.3105, allocations: 0.6844 MB / 386.8 MB, free: 8.434 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.546e-06/0.3105, allocations: 0 / 386.8 MB, free: 8.434 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007842/0.3113, allocations: 0.4923 MB / 387.3 MB, free: 7.867 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006644/0.312, allocations: 86.08 kB / 387.4 MB, free: 7.785 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002198/0.3142, allocations: 1.037 MB / 388.5 MB, free: 6.711 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000667/0.3149, allocations: 0.8898 MB / 389.3 MB, free: 5.793 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.315, allocations: 31.44 kB / 389.4 MB, free: 5.762 MB / 314.7 MB Notification: Performance of SimCode: time 5.273e-06/0.315, allocations: 0 / 389.4 MB, free: 5.762 MB / 314.7 MB Notification: Performance of Templates: time 0.01613/0.3312, allocations: 8.663 MB / 398 MB, free: 13.11 MB / 330.7 MB