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.235/2.235, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.657e-05/2.686e-05, allocations: 0 / 309.7 MB, free: 1.301 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3644/0.3645, allocations: 54.86 MB / 364.6 MB, free: 5.566 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1515/0.516, allocations: 105.2 MB / 469.7 MB, free: 7.238 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003126/0.5164, allocations: 103.9 kB / 469.9 MB, free: 7.137 MB / 394.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:4955:11-4956:126:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:4977:11-4978:120:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:4937:11-4953:48:writable] Error: Type mismatch in binding K = K, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:4959:11-4975:59:writable] Error: Type mismatch in binding K = K, expected subtype of Real[5], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.1259/0.6423, allocations: 27.84 MB / 497.7 MB, free: 11 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.073e-06/0.6424, allocations: 0 / 497.7 MB, free: 11 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.698e-05/0.6424, allocations: 11.94 kB / 497.7 MB, free: 10.99 MB / 426.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.001926/0.6443, allocations: 0.8963 MB / 498.6 MB, free: 10.04 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.6444, allocations: 8.031 kB / 498.6 MB, free: 10.04 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001953/0.6446, allocations: 79.06 kB / 498.7 MB, free: 9.957 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006406/0.6453, allocations: 350 kB / 499 MB, free: 9.574 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.643e-05/0.6454, allocations: 61.98 kB / 499.1 MB, free: 9.516 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001641/0.6455, allocations: 76 kB / 499.2 MB, free: 9.441 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002264/0.6478, allocations: 1.155 MB / 0.4886 GB, free: 8.281 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/0.6479, allocations: 0 / 0.4886 GB, free: 8.281 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001125/0.648, allocations: 32 kB / 0.4886 GB, free: 8.25 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001186/0.6481, allocations: 69.95 kB / 0.4887 GB, free: 8.18 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003224/0.6513, allocations: 1.667 MB / 0.4903 GB, free: 6.512 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00612/0.6575, allocations: 2.976 MB / 0.4932 GB, free: 3.387 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/0.6586, allocations: 407.7 kB / 0.4936 GB, free: 2.977 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002833/0.6589, allocations: 133.4 kB / 0.4937 GB, free: 2.844 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.196e-05/0.659, allocations: 8.281 kB / 0.4937 GB, free: 2.836 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/0.659, allocations: 38.84 kB / 0.4938 GB, free: 2.789 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 3.495e-06/0.659, allocations: 0 / 0.4938 GB, free: 2.789 MB / 426.7 MB Notification: Performance of matching and sorting (n=34): time 0.0008096/0.6599, allocations: 327.4 kB / 0.4941 GB, free: 2.465 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/0.6599, allocations: 63.33 kB / 0.4942 GB, free: 2.391 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002474/0.6602, allocations: 185.6 kB / 0.4943 GB, free: 2.199 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.761e-05/0.6602, allocations: 29.7 kB / 0.4944 GB, free: 2.164 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003178/0.6606, allocations: 456.6 kB / 0.4948 GB, free: 1.711 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001281/0.6607, allocations: 118.3 kB / 0.4949 GB, free: 1.594 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-05/0.6608, allocations: 11.94 kB / 0.4949 GB, free: 1.582 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.6609, allocations: 334.8 kB / 0.4952 GB, free: 1.246 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002976/0.6613, allocations: 129.1 kB / 0.4954 GB, free: 1.121 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004675/0.6617, allocations: 326.4 kB / 0.4957 GB, free: 0.7109 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004132/0.6622, allocations: 196.4 kB / 0.4959 GB, free: 0.5195 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.29e-06/0.6622, allocations: 4 kB / 0.4959 GB, free: 0.5156 MB / 426.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001117/0.6633, allocations: 0.5044 MB / 0.4964 GB, free: 4 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.253e-05/0.6634, allocations: 8.047 kB / 0.4964 GB, free: 15.99 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/0.6634, allocations: 8.875 kB / 0.4964 GB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.735e-05/0.6634, allocations: 12 kB / 0.4964 GB, free: 15.97 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/0.6645, allocations: 211.6 kB / 0.4966 GB, free: 15.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002273/0.6668, allocations: 2.996 MB / 0.4995 GB, free: 12.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004489/0.6673, allocations: 55.86 kB / 0.4996 GB, free: 12.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-05/0.6674, allocations: 35.98 kB / 0.4996 GB, free: 12.57 MB / 442.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 (roughness,geometry[5],geometry[4],geometry[3],geometry[2],geometry[1]) * Number of discrete 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.0001926/0.6676, allocations: 140.7 kB / 0.4997 GB, free: 12.42 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.266e-05/0.6677, allocations: 19.81 kB / 0.4998 GB, free: 12.4 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001612/0.6693, allocations: 0.5424 MB / 0.5003 GB, free: 11.86 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.347e-06/0.6693, allocations: 4 kB / 0.5003 GB, free: 11.85 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.399e-06/0.6694, allocations: 3.953 kB / 0.5003 GB, free: 11.85 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.629e-06/0.6694, allocations: 3.984 kB / 0.5003 GB, free: 11.84 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002289/0.6717, allocations: 1.149 MB / 0.5014 GB, free: 10.61 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.965e-06/0.6717, allocations: 0 / 0.5014 GB, free: 10.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009259/0.6726, allocations: 184 kB / 0.5016 GB, free: 10.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.279e-05/0.6727, allocations: 4 kB / 0.5016 GB, free: 10.43 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.702e-05/0.6727, allocations: 19.98 kB / 0.5016 GB, free: 10.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002147/0.6749, allocations: 2.968 MB / 0.5045 GB, free: 7.328 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.285e-06/0.6749, allocations: 4.375 kB / 0.5045 GB, free: 7.324 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008924/0.6758, allocations: 0.5544 MB / 0.5051 GB, free: 6.68 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.6759, allocations: 108.7 kB / 0.5052 GB, free: 6.555 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.898e-05/0.676, allocations: 12 kB / 0.5052 GB, free: 6.543 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002996/0.6763, allocations: 19.98 kB / 0.5052 GB, free: 6.523 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.476e-05/0.6764, allocations: 31.95 kB / 0.5052 GB, free: 6.492 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.873e-05/0.6765, allocations: 19.98 kB / 0.5052 GB, free: 6.473 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001557/0.6767, allocations: 136.5 kB / 0.5054 GB, free: 6.34 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.29e-07/0.6767, allocations: 0 / 0.5054 GB, free: 6.34 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001439/0.6781, allocations: 390.6 kB / 0.5057 GB, free: 5.957 MB / 442.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 () * 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.00099/0.6791, allocations: 422.4 kB / 0.5061 GB, free: 5.535 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00129/0.6804, allocations: 419.9 kB / 0.5065 GB, free: 5.125 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.891e-06/0.6805, allocations: 0 / 0.5065 GB, free: 5.125 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007416/0.6812, allocations: 221.5 kB / 0.5068 GB, free: 4.91 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/0.6816, allocations: 24.12 kB / 0.5068 GB, free: 4.883 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001968/0.6836, allocations: 0.8458 MB / 0.5076 GB, free: 3.98 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008486/0.6844, allocations: 0.9953 MB / 0.5086 GB, free: 2.957 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001606/0.6846, allocations: 47.42 kB / 0.5086 GB, free: 2.914 MB / 442.7 MB Notification: Performance of SimCode: time 1.802e-06/0.6846, allocations: 0 / 0.5086 GB, free: 2.914 MB / 442.7 MB Notification: Performance of Templates: time 0.2752/0.9599, allocations: 21.51 MB / 0.5296 GB, free: 139.4 MB / 458.7 MB