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.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.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.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.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 2.311/2.311, allocations: 234.9 MB / 250.5 MB, free: 9.484 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004308/0.0004311, allocations: 12 kB / 314.3 MB, free: 9.504 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2925, allocations: 54.87 MB / 369.2 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW): time 0.002907/0.2955, allocations: 1.766 MB / 371 MB, free: 8.93 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005862/0.3014, allocations: 2.891 MB / 373.9 MB, free: 6.031 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002016/0.3016, allocations: 0 / 373.9 MB, free: 6.031 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000381/0.302, allocations: 87.59 kB / 374 MB, free: 5.945 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004149/0.3025, allocations: 123.6 kB / 374.1 MB, free: 5.824 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002462/0.305, allocations: 0.7676 MB / 374.8 MB, free: 5.055 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006444/0.3056, allocations: 419 kB / 375.2 MB, free: 4.645 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.3058, allocations: 73.75 kB / 375.3 MB, free: 4.57 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003213/0.3061, allocations: 195 kB / 375.5 MB, free: 4.379 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000356/0.3065, allocations: 238.8 kB / 375.7 MB, free: 4.145 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.129e-05/0.3066, allocations: 16 kB / 375.8 MB, free: 4.129 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003592/0.3102, allocations: 1.934 MB / 377.7 MB, free: 2.191 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001964/0.3104, allocations: 123.5 kB / 377.8 MB, free: 2.07 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001854/0.3106, allocations: 117.4 kB / 377.9 MB, free: 1.949 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002041/0.3127, allocations: 0.9949 MB / 378.9 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.255e-06/0.3127, allocations: 3.938 kB / 378.9 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.3127, allocations: 4 kB / 378.9 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.314e-06/0.3127, allocations: 0 / 378.9 MB, free: 0.9453 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.001788/0.3145, allocations: 0.9207 MB / 379.9 MB, free: 15.97 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.3146, allocations: 8.031 kB / 379.9 MB, free: 15.96 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001902/0.3148, allocations: 71.16 kB / 379.9 MB, free: 15.89 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006351/0.3154, allocations: 350 kB / 380.3 MB, free: 15.51 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.512e-05/0.3155, allocations: 69.91 kB / 380.3 MB, free: 15.45 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001586/0.3157, allocations: 72 kB / 380.4 MB, free: 15.38 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002515/0.3182, allocations: 1.221 MB / 381.6 MB, free: 14.14 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.57e-05/0.3183, allocations: 3.953 kB / 381.6 MB, free: 14.14 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/0.3184, allocations: 31.98 kB / 381.7 MB, free: 14.11 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001326/0.3185, allocations: 81.95 kB / 381.7 MB, free: 14.03 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003718/0.3223, allocations: 1.726 MB / 383.5 MB, free: 12.3 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006151/0.3284, allocations: 2.957 MB / 386.4 MB, free: 9.199 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001181/0.3297, allocations: 423.8 kB / 386.8 MB, free: 8.777 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.179e-05/0.3298, allocations: 12.22 kB / 386.9 MB, free: 8.766 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.766e-05/0.3298, allocations: 38.84 kB / 386.9 MB, free: 8.719 MB / 314.7 MB Notification: Performance of pre-optimization done (n=34): time 3.514e-06/0.3298, allocations: 0 / 386.9 MB, free: 8.719 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.001358/0.3312, allocations: 0.4911 MB / 387.4 MB, free: 8.223 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.368e-05/0.3313, allocations: 59.34 kB / 387.4 MB, free: 8.152 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002854/0.3316, allocations: 210.3 kB / 387.6 MB, free: 7.934 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.097e-05/0.3316, allocations: 33.7 kB / 387.7 MB, free: 7.895 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003445/0.332, allocations: 452.6 kB / 388.1 MB, free: 7.445 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001374/0.3321, allocations: 122.3 kB / 388.2 MB, free: 7.324 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.048e-05/0.3322, allocations: 11.94 kB / 388.3 MB, free: 7.312 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001855/0.3324, allocations: 334.8 kB / 388.6 MB, free: 6.977 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004023/0.3328, allocations: 149 kB / 388.7 MB, free: 6.832 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005716/0.3334, allocations: 346.3 kB / 389.1 MB, free: 6.402 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000501/0.3339, allocations: 208.9 kB / 389.3 MB, free: 6.199 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.326e-06/0.3339, allocations: 4 kB / 389.3 MB, free: 6.195 MB / 314.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.00135/0.3353, allocations: 0.5435 MB / 389.8 MB, free: 5.641 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/0.3353, allocations: 11.95 kB / 389.8 MB, free: 5.629 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/0.3353, allocations: 8.844 kB / 389.8 MB, free: 5.621 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.665e-05/0.3354, allocations: 8 kB / 389.8 MB, free: 5.613 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009937/0.3364, allocations: 215.7 kB / 390.1 MB, free: 5.402 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002389/0.3388, allocations: 2.997 MB / 393.1 MB, free: 2.289 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004567/0.3393, allocations: 67.48 kB / 393.1 MB, free: 2.223 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-05/0.3394, allocations: 31.97 kB / 393.1 MB, free: 2.191 MB / 314.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.0005329/0.3399, allocations: 277.5 kB / 393.4 MB, free: 1.91 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.533e-05/0.34, allocations: 15.81 kB / 393.4 MB, free: 1.895 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00184/0.3418, allocations: 0.5736 MB / 394 MB, free: 1.312 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.176e-06/0.3419, allocations: 4 kB / 394 MB, free: 1.309 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.668e-06/0.3419, allocations: 0 / 394 MB, free: 1.309 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.349e-06/0.3419, allocations: 3.953 kB / 394 MB, free: 1.305 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002525/0.3444, allocations: 1.184 MB / 395.2 MB, free: 40 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.95e-06/0.3445, allocations: 4 kB / 395.2 MB, free: 36 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008661/0.3454, allocations: 176.1 kB / 395.4 MB, free: 15.86 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.29e-05/0.3454, allocations: 4 kB / 395.4 MB, free: 15.86 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.736e-05/0.3455, allocations: 19.98 kB / 395.4 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002266/0.3477, allocations: 2.969 MB / 398.4 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.738e-06/0.3478, allocations: 0 / 398.4 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.3488, allocations: 0.5058 MB / 398.9 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.349, allocations: 104.7 kB / 399 MB, free: 12.09 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.9e-05/0.349, allocations: 11.98 kB / 399 MB, free: 12.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002562/0.3493, allocations: 19.95 kB / 399 MB, free: 12.05 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.3494, allocations: 39.89 kB / 399 MB, free: 12.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.836e-05/0.3495, allocations: 23.98 kB / 399.1 MB, free: 11.99 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001554/0.3497, allocations: 132.5 kB / 399.2 MB, free: 11.86 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.28e-07/0.3497, allocations: 0 / 399.2 MB, free: 11.86 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001234/0.3509, allocations: 350.8 kB / 399.5 MB, free: 11.52 MB / 330.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.0008927/0.3518, allocations: 367.3 kB / 399.9 MB, free: 11.15 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001575/0.3534, allocations: 484.9 kB / 400.4 MB, free: 10.68 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.193e-06/0.3534, allocations: 0 / 400.4 MB, free: 10.68 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000884/0.3543, allocations: 267.7 kB / 400.6 MB, free: 10.42 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003391/0.3547, allocations: 28.12 kB / 400.7 MB, free: 10.39 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002647/0.3574, allocations: 1.458 MB / 402.1 MB, free: 8.879 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008261/0.3582, allocations: 0.9877 MB / 403.1 MB, free: 7.867 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001694/0.3584, allocations: 47.41 kB / 403.2 MB, free: 7.824 MB / 330.7 MB Notification: Performance of SimCode: time 1.634e-06/0.3584, allocations: 4 kB / 403.2 MB, free: 7.82 MB / 330.7 MB Notification: Performance of Templates: time 0.03263/0.3911, allocations: 21.23 MB / 424.4 MB, free: 2.555 MB / 346.7 MB