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.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.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.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|roughness|K|L|geometry.1.|geometry.2.|geometry.3.|geometry.4.|geometry.5.|d_ann|D_ann|d_cir|a_ell|b_ell|a_rec|b_rec|a_tri|h_tri|beta|eta|rho|input_mdot_1.1.|input_mdot_1.2.|input_mdot_1.3.|input_mdot_1.4.|input_mdot_1.5.|input_dp_1.1.|input_dp_1.2.|input_dp_1.3.|input_dp_1.4.|input_dp_1.5.|M_FLOW_1.1.|M_FLOW_1.2.|M_FLOW_1.3.|M_FLOW_1.4.|M_FLOW_1.5.|DP_1.1.|DP_1.2.|DP_1.3.|DP_1.4.|DP_1.5.|MIN|A_crossT.1.|A_crossT.2.|A_crossT.3.|A_crossT.4.|A_crossT.5.|perimeterT.1.|perimeterT.2.|perimeterT.3.|perimeterT.4.|perimeterT.5.|d_hydT.1.|d_hydT.2.|d_hydT.3.|d_hydT.4.|d_hydT.5.|A_cross|d_hyd|perimeter|velocity_1.1.|velocity_1.2.|velocity_1.3.|velocity_1.4.|velocity_1.5.|Re_1.1.|Re_1.2.|Re_1.3.|Re_1.4.|Re_1.5.|DP_plot_1.1.|DP_plot_1.2.|DP_plot_1.3.|DP_plot_1.4.|DP_plot_1.5.|zeta_TOT_1.1.|zeta_TOT_1.2.|zeta_TOT_1.3.|zeta_TOT_1.4.|zeta_TOT_1.5.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 1.966/1.966, allocations: 209.3 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004302/0.0004303, allocations: 12 kB / 282.5 MB, free: 9.691 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2788, allocations: 48.72 MB / 331.2 MB, free: 6.52 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW): time 0.00261/0.2815, allocations: 1.758 MB / 333 MB, free: 5.543 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004977/0.2865, allocations: 2.894 MB / 335.9 MB, free: 3.539 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002718/0.2868, allocations: 1.25 kB / 335.9 MB, free: 3.539 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003697/0.2872, allocations: 86.98 kB / 336 MB, free: 3.492 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004108/0.2876, allocations: 117.6 kB / 336.1 MB, free: 3.422 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002558/0.2902, allocations: 0.7585 MB / 336.8 MB, free: 3.145 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006/0.2908, allocations: 420.6 kB / 337.2 MB, free: 2.93 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001465/0.291, allocations: 80.39 kB / 337.3 MB, free: 2.898 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003014/0.2913, allocations: 199 kB / 337.5 MB, free: 2.809 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003223/0.2916, allocations: 238.8 kB / 337.7 MB, free: 2.703 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.586e-05/0.2917, allocations: 16.69 kB / 337.8 MB, free: 2.703 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003328/0.2951, allocations: 1.928 MB / 339.7 MB, free: 1.551 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001908/0.2953, allocations: 125.9 kB / 339.8 MB, free: 1.465 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001943/0.2955, allocations: 120.4 kB / 339.9 MB, free: 1.387 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002019/0.2975, allocations: 0.9967 MB / 340.9 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.306e-06/0.2975, allocations: 0 / 340.9 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.992e-06/0.2976, allocations: 5.094 kB / 340.9 MB, free: 0.875 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.113e-05/0.2976, allocations: 0 / 340.9 MB, free: 0.875 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.00151/0.2991, allocations: 0.9147 MB / 341.8 MB, free: 112 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.2992, allocations: 9.25 kB / 341.9 MB, free: 112 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001588/0.2993, allocations: 72.03 kB / 341.9 MB, free: 72 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006344/0.3, allocations: 354.8 kB / 342.3 MB, free: 15.76 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.232e-05/0.3, allocations: 60.23 kB / 342.3 MB, free: 15.73 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000156/0.3002, allocations: 72.62 kB / 342.4 MB, free: 15.71 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002554/0.3028, allocations: 1.232 MB / 343.6 MB, free: 15 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.319e-05/0.3028, allocations: 0 / 343.6 MB, free: 15 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/0.303, allocations: 26.84 kB / 343.7 MB, free: 14.98 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001278/0.3031, allocations: 80.95 kB / 343.7 MB, free: 14.96 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003914/0.307, allocations: 1.732 MB / 345.5 MB, free: 14.16 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006378/0.3134, allocations: 2.965 MB / 348.4 MB, free: 12.02 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/0.3147, allocations: 420.6 kB / 348.8 MB, free: 11.83 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.091e-05/0.3148, allocations: 9.828 kB / 348.9 MB, free: 11.83 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.962e-05/0.3148, allocations: 41.12 kB / 348.9 MB, free: 11.78 MB / 282.7 MB Notification: Performance of pre-optimization done (n=34): time 3.62e-06/0.3148, allocations: 3.938 kB / 348.9 MB, free: 11.78 MB / 282.7 MB Notification: Performance of matching and sorting (n=34): time 0.001414/0.3163, allocations: 497.1 kB / 349.4 MB, free: 11.56 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.524e-05/0.3163, allocations: 55.31 kB / 349.4 MB, free: 11.5 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002961/0.3167, allocations: 209.3 kB / 349.6 MB, free: 11.33 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.551e-05/0.3167, allocations: 30.95 kB / 349.7 MB, free: 11.29 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003415/0.3171, allocations: 451.2 kB / 350.1 MB, free: 10.89 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001452/0.3172, allocations: 126.8 kB / 350.2 MB, free: 10.78 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.395e-05/0.3173, allocations: 9.375 kB / 350.2 MB, free: 10.77 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.3175, allocations: 329.7 kB / 350.6 MB, free: 10.45 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004264/0.3179, allocations: 149 kB / 350.7 MB, free: 10.38 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005772/0.3185, allocations: 347 kB / 351.1 MB, free: 10.06 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005244/0.319, allocations: 218.1 kB / 351.3 MB, free: 9.965 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.486e-06/0.3191, allocations: 1.219 kB / 351.3 MB, free: 9.965 MB / 282.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001362/0.3204, allocations: 0.5429 MB / 351.8 MB, free: 9.516 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/0.3205, allocations: 8 kB / 351.8 MB, free: 9.508 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/0.3205, allocations: 8 kB / 351.8 MB, free: 9.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.753e-05/0.3205, allocations: 8 kB / 351.8 MB, free: 9.492 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/0.3216, allocations: 212.3 kB / 352 MB, free: 9.285 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002319/0.3239, allocations: 2.996 MB / 355 MB, free: 6.172 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004746/0.3244, allocations: 67.7 kB / 355.1 MB, free: 6.105 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.864e-05/0.3245, allocations: 31.98 kB / 355.1 MB, free: 6.074 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 6 (geometry[5],roughness,geometry[4],geometry[3],geometry[2],geometry[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005342/0.3251, allocations: 269.5 kB / 355.4 MB, free: 5.801 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.663e-05/0.3252, allocations: 19.81 kB / 355.4 MB, free: 5.781 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001824/0.327, allocations: 0.589 MB / 356 MB, free: 5.188 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.108e-06/0.327, allocations: 4 kB / 356 MB, free: 5.184 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.036e-06/0.327, allocations: 4 kB / 356 MB, free: 5.18 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.231e-06/0.3271, allocations: 3.984 kB / 356 MB, free: 5.176 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00259/0.3297, allocations: 1.181 MB / 357.2 MB, free: 3.914 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.114e-06/0.3297, allocations: 4 kB / 357.2 MB, free: 3.91 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008863/0.3306, allocations: 171.8 kB / 357.4 MB, free: 3.742 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.517e-05/0.3306, allocations: 8.234 kB / 357.4 MB, free: 3.734 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.555e-05/0.3307, allocations: 24 kB / 357.4 MB, free: 3.711 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002262/0.333, allocations: 2.965 MB / 360.4 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.072e-06/0.333, allocations: 0 / 360.4 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.3341, allocations: 0.4981 MB / 360.9 MB, free: 92 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001412/0.3342, allocations: 108.7 kB / 361 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.796e-05/0.3343, allocations: 11.94 kB / 361 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002562/0.3346, allocations: 15.98 kB / 361 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.3347, allocations: 39.92 kB / 361 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.316e-05/0.3348, allocations: 23.98 kB / 361.1 MB, free: 15.88 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001535/0.3349, allocations: 127.2 kB / 361.2 MB, free: 15.75 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.1e-07/0.3349, allocations: 0 / 361.2 MB, free: 15.75 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001317/0.3363, allocations: 350.8 kB / 361.5 MB, free: 15.41 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (39): * 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): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009634/0.3372, allocations: 354.7 kB / 361.9 MB, free: 15.05 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001584/0.3389, allocations: 480.7 kB / 362.3 MB, free: 14.58 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.005e-06/0.3389, allocations: 4 kB / 362.3 MB, free: 14.58 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008963/0.3398, allocations: 265.6 kB / 362.6 MB, free: 14.32 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.3402, allocations: 27.92 kB / 362.6 MB, free: 14.29 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002646/0.3428, allocations: 1.472 MB / 364.1 MB, free: 12.76 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008107/0.3437, allocations: 0.9916 MB / 365.1 MB, free: 11.74 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001727/0.3438, allocations: 43.42 kB / 365.1 MB, free: 11.7 MB / 298.7 MB Notification: Performance of SimCode: time 1.675e-06/0.3439, allocations: 0 / 365.1 MB, free: 11.7 MB / 298.7 MB Notification: Performance of Templates: time 0.0321/0.376, allocations: 21.24 MB / 386.4 MB, free: 6.426 MB / 314.7 MB