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.966/1.966, allocations: 209.3 MB / 224.8 MB, free: 200 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004531/0.0004533, allocations: 15.98 kB / 282.5 MB, free: 9.609 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2831/0.2835, allocations: 48.7 MB / 331.2 MB, free: 6.496 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC): time 0.002475/0.2861, allocations: 1.73 MB / 332.9 MB, free: 5.539 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002871/0.289, allocations: 1.553 MB / 334.5 MB, free: 4.473 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001503/0.2891, allocations: 2.188 kB / 334.5 MB, free: 4.473 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002577/0.2894, allocations: 58.91 kB / 334.6 MB, free: 4.441 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003783/0.2898, allocations: 102.6 kB / 334.7 MB, free: 4.383 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008727/0.2907, allocations: 285.9 kB / 334.9 MB, free: 4.254 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003856/0.2911, allocations: 312.9 kB / 335.2 MB, free: 4.102 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.2912, allocations: 56.77 kB / 335.3 MB, free: 4.078 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002178/0.2915, allocations: 141.1 kB / 335.4 MB, free: 4.02 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002391/0.2917, allocations: 171.5 kB / 335.6 MB, free: 3.953 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.598e-05/0.2918, allocations: 9.844 kB / 335.6 MB, free: 3.953 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001124/0.2929, allocations: 0.5534 MB / 336.2 MB, free: 3.789 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001249/0.293, allocations: 103.2 kB / 336.3 MB, free: 3.746 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.563e-05/0.2932, allocations: 95.08 kB / 336.4 MB, free: 3.68 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006601/0.2938, allocations: 435.3 kB / 336.8 MB, free: 3.492 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.772e-06/0.2939, allocations: 0 / 336.8 MB, free: 3.492 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.139e-06/0.2939, allocations: 1.219 kB / 336.8 MB, free: 3.492 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.2939, allocations: 3.938 kB / 336.8 MB, free: 3.488 MB / 266.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.001037/0.2949, allocations: 0.7002 MB / 337.5 MB, free: 2.875 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.295, allocations: 9.906 kB / 337.5 MB, free: 2.875 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001151/0.2951, allocations: 50.22 kB / 337.5 MB, free: 2.848 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003857/0.2955, allocations: 301 kB / 337.8 MB, free: 2.574 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.143e-05/0.2956, allocations: 40.95 kB / 337.9 MB, free: 2.551 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.648e-05/0.2957, allocations: 42.81 kB / 337.9 MB, free: 2.539 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/0.2969, allocations: 0.7154 MB / 338.6 MB, free: 2.148 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.297, allocations: 3.984 kB / 338.6 MB, free: 2.145 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.929e-05/0.297, allocations: 15.81 kB / 338.7 MB, free: 2.133 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-05/0.2971, allocations: 61.86 kB / 338.7 MB, free: 2.109 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001793/0.2989, allocations: 0.7457 MB / 339.5 MB, free: 1.773 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004599/0.3036, allocations: 1.45 MB / 340.9 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001816/0.3054, allocations: 455.7 kB / 341.4 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.136e-05/0.3055, allocations: 11.86 kB / 341.4 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.3056, allocations: 37.42 kB / 341.4 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of pre-optimization done (n=28): time 5.209e-06/0.3056, allocations: 4 kB / 341.4 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of matching and sorting (n=28): time 0.002533/0.3081, allocations: 0.5482 MB / 342 MB, free: 332 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.3082, allocations: 55.47 kB / 342 MB, free: 268 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001348/0.3096, allocations: 0.5338 MB / 342.5 MB, free: 15.95 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.78e-05/0.3097, allocations: 26.8 kB / 342.6 MB, free: 15.92 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003407/0.31, allocations: 284.5 kB / 342.8 MB, free: 15.65 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001849/0.3102, allocations: 99.59 kB / 342.9 MB, free: 15.57 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-05/0.3103, allocations: 10.81 kB / 343 MB, free: 15.56 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002325/0.3106, allocations: 326.9 kB / 343.3 MB, free: 15.24 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007908/0.3114, allocations: 170.5 kB / 343.4 MB, free: 15.17 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009473/0.3124, allocations: 298.1 kB / 343.7 MB, free: 14.93 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00093/0.3133, allocations: 212.2 kB / 343.9 MB, free: 14.85 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.146e-05/0.3134, allocations: 2.141 kB / 343.9 MB, free: 14.85 MB / 282.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.002339/0.3157, allocations: 0.5233 MB / 344.5 MB, free: 14.6 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.295e-05/0.3158, allocations: 7.625 kB / 344.5 MB, free: 14.6 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.701e-05/0.3158, allocations: 4.469 kB / 344.5 MB, free: 14.6 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.201e-05/0.3159, allocations: 7.719 kB / 344.5 MB, free: 14.6 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002407/0.3183, allocations: 220.2 kB / 344.7 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008258/0.3266, allocations: 7.306 MB / 352 MB, free: 7.27 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000901/0.3275, allocations: 65.25 kB / 352.1 MB, free: 7.227 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/0.3277, allocations: 25.55 kB / 352.1 MB, free: 7.219 MB / 282.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.0006656/0.3284, allocations: 244.9 kB / 352.3 MB, free: 7.027 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001997/0.3286, allocations: 42.59 kB / 352.4 MB, free: 7.004 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002627/0.3312, allocations: 0.5611 MB / 352.9 MB, free: 6.719 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-06/0.3313, allocations: 2 kB / 352.9 MB, free: 6.719 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.062e-06/0.3313, allocations: 0 / 352.9 MB, free: 6.719 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.676e-05/0.3313, allocations: 5.797 kB / 352.9 MB, free: 6.715 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001412/0.3328, allocations: 427.6 kB / 353.4 MB, free: 6.379 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.639e-06/0.3328, allocations: 0 / 353.4 MB, free: 6.379 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002219/0.335, allocations: 202.8 kB / 353.6 MB, free: 6.324 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.144e-05/0.3351, allocations: 5.188 kB / 353.6 MB, free: 6.32 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.851e-05/0.3352, allocations: 18.64 kB / 353.6 MB, free: 6.309 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008199/0.3434, allocations: 7.304 MB / 360.9 MB, free: 15.03 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.934e-06/0.3434, allocations: 0.8438 kB / 360.9 MB, free: 15.03 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001987/0.3454, allocations: 0.5052 MB / 361.4 MB, free: 14.74 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003036/0.3458, allocations: 126 kB / 361.5 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001617/0.346, allocations: 5.219 kB / 361.5 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005866/0.3466, allocations: 15.45 kB / 361.5 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001456/0.3467, allocations: 23.84 kB / 361.6 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.147e-05/0.3468, allocations: 13.3 kB / 361.6 MB, free: 14.59 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001018/0.3479, allocations: 381.6 kB / 361.9 MB, free: 14.37 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.241e-06/0.3479, allocations: 0 / 361.9 MB, free: 14.37 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001418/0.3493, allocations: 174.4 kB / 362.1 MB, free: 14.33 MB / 298.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.0007225/0.3501, allocations: 225.5 kB / 362.3 MB, free: 14.16 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00365/0.3538, allocations: 0.562 MB / 362.9 MB, free: 13.88 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.746e-06/0.3538, allocations: 0 / 362.9 MB, free: 13.88 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002743/0.3566, allocations: 360.1 kB / 363.3 MB, free: 13.53 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001058/0.3577, allocations: 85.8 kB / 363.3 MB, free: 13.45 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003778/0.3615, allocations: 1.088 MB / 364.4 MB, free: 12.32 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009735/0.3625, allocations: 0.8936 MB / 365.3 MB, free: 11.4 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002954/0.3628, allocations: 47.41 kB / 365.4 MB, free: 11.36 MB / 298.7 MB Notification: Performance of SimCode: time 2.106e-06/0.3628, allocations: 0 / 365.4 MB, free: 11.36 MB / 298.7 MB Notification: Performance of Templates: time 0.05631/0.4192, allocations: 29.07 MB / 394.4 MB, free: 14.26 MB / 330.7 MB