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.StraightPipe.dp_turbulent_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.StraightPipe.dp_turbulent_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|K.2.|K.3.|K.4.|L|eta|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_dp.1.|input_dp.2.|input_dp.3.|input_dp.4.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|M_FLOW.4.|DP.1.|DP.2.|DP.3.|DP.4.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|Re.1.|Re.2.|Re.3.|Re.4.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|lambda_FRI.1.|lambda_FRI.2.|lambda_FRI.3.|lambda_FRI.4.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 2.271/2.271, allocations: 234.9 MB / 250.5 MB, free: 9.453 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007881/0.0007884, allocations: 12 kB / 314.4 MB, free: 9.426 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2986, allocations: 54.85 MB / 369.3 MB, free: 10.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1335/0.4321, allocations: 90.14 MB / 459.4 MB, free: 424 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003301/0.4325, allocations: 95.92 kB / 459.5 MB, free: 328 kB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:6216:11-6222:61:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[4], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:6224:11-6227:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:6230:11-6236:59:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[4], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:6238:11-6241:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.05231/0.4848, allocations: 11.28 MB / 470.8 MB, free: 4.957 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.587e-06/0.4849, allocations: 4 kB / 470.8 MB, free: 4.953 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.421e-05/0.4849, allocations: 4 kB / 470.8 MB, free: 4.949 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001091/0.486, allocations: 0.59 MB / 471.4 MB, free: 4.312 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.4861, allocations: 8.031 kB / 471.4 MB, free: 4.305 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.119e-05/0.4862, allocations: 35.62 kB / 471.4 MB, free: 4.27 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003396/0.4865, allocations: 234.6 kB / 471.7 MB, free: 4 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.246e-05/0.4866, allocations: 24.66 kB / 471.7 MB, free: 3.977 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.545e-05/0.4866, allocations: 27.98 kB / 471.7 MB, free: 3.949 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000994/0.4876, allocations: 459.9 kB / 472.2 MB, free: 3.496 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.4877, allocations: 0 / 472.2 MB, free: 3.496 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.807e-05/0.4877, allocations: 15.94 kB / 472.2 MB, free: 3.48 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.284e-05/0.4878, allocations: 44.97 kB / 472.2 MB, free: 3.438 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001177/0.489, allocations: 0.5582 MB / 472.8 MB, free: 2.875 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002561/0.4916, allocations: 1.354 MB / 474.1 MB, free: 1.402 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007544/0.4924, allocations: 282.5 kB / 474.4 MB, free: 1.117 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.229e-05/0.4925, allocations: 7.938 kB / 474.4 MB, free: 1.109 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/0.4925, allocations: 42.5 kB / 474.5 MB, free: 1.059 MB / 394.7 MB Notification: Performance of pre-optimization done (n=25): time 3.964e-06/0.4925, allocations: 0 / 474.5 MB, free: 1.059 MB / 394.7 MB Notification: Performance of matching and sorting (n=25): time 0.001004/0.4935, allocations: 346.2 kB / 474.8 MB, free: 0.7148 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/0.4936, allocations: 55.41 kB / 474.9 MB, free: 0.6484 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.4938, allocations: 129.2 kB / 475 MB, free: 0.5117 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.259e-05/0.4938, allocations: 33.7 kB / 475 MB, free: 484 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/0.494, allocations: 262.2 kB / 475.3 MB, free: 220 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.188e-05/0.4941, allocations: 87.12 kB / 475.4 MB, free: 132 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.253e-05/0.4942, allocations: 8 kB / 475.4 MB, free: 124 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.2631/0.7573, allocations: 326.1 kB / 475.7 MB, free: 95.7 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006177/0.7579, allocations: 86.55 kB / 475.8 MB, free: 95.7 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006025/0.7586, allocations: 178.8 kB / 475.9 MB, free: 95.61 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006412/0.7592, allocations: 118.6 kB / 476.1 MB, free: 95.61 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.698e-06/0.7593, allocations: 0.6562 kB / 476.1 MB, free: 95.61 MB / 394.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00227/0.7616, allocations: 328.9 kB / 476.4 MB, free: 95.58 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.304e-05/0.7617, allocations: 7.516 kB / 476.4 MB, free: 95.58 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.998e-05/0.7617, allocations: 4.406 kB / 476.4 MB, free: 95.58 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.398e-05/0.7618, allocations: 5.312 kB / 476.4 MB, free: 95.58 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001924/0.7637, allocations: 133.9 kB / 476.5 MB, free: 95.58 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002167/0.7659, allocations: 2.366 MB / 478.9 MB, free: 93.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005911/0.7666, allocations: 32.67 kB / 478.9 MB, free: 93.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/0.7667, allocations: 17.52 kB / 478.9 MB, free: 93.25 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005161/0.7673, allocations: 176.7 kB / 479.1 MB, free: 93.13 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001571/0.7675, allocations: 17.58 kB / 479.1 MB, free: 93.13 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001173/0.7687, allocations: 380 kB / 479.5 MB, free: 93.08 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.947e-06/0.7687, allocations: 2.844 kB / 479.5 MB, free: 93.08 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.257e-06/0.7687, allocations: 0.6562 kB / 479.5 MB, free: 93.08 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.125e-06/0.7687, allocations: 4.359 kB / 479.5 MB, free: 93.08 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004939/0.7693, allocations: 338.5 kB / 479.8 MB, free: 92.89 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.7693, allocations: 2.266 kB / 479.9 MB, free: 92.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007795/0.7701, allocations: 120.8 kB / 480 MB, free: 92.89 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.326e-06/0.7701, allocations: 1.531 kB / 480 MB, free: 92.89 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.375e-05/0.7701, allocations: 12.3 kB / 480 MB, free: 92.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009601/0.7711, allocations: 2.361 MB / 482.3 MB, free: 90.55 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.238e-06/0.7711, allocations: 4.469 kB / 482.3 MB, free: 90.55 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007596/0.7719, allocations: 384.8 kB / 482.7 MB, free: 90.41 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.134e-05/0.772, allocations: 92.75 kB / 482.8 MB, free: 90.31 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.13e-05/0.772, allocations: 9.766 kB / 482.8 MB, free: 90.31 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/0.7722, allocations: 14.55 kB / 482.8 MB, free: 90.31 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.248e-05/0.7723, allocations: 23.27 kB / 482.9 MB, free: 90.31 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.181e-05/0.7724, allocations: 9.469 kB / 482.9 MB, free: 90.31 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.856e-05/0.7724, allocations: 104.4 kB / 483 MB, free: 90.23 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.25e-07/0.7725, allocations: 0 / 483 MB, free: 90.23 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007752/0.7732, allocations: 194.5 kB / 483.2 MB, free: 90.22 MB / 394.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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005284/0.7738, allocations: 261 kB / 483.4 MB, free: 90.14 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009641/0.7748, allocations: 295.2 kB / 483.7 MB, free: 90.13 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.748e-06/0.7748, allocations: 0 / 483.7 MB, free: 90.13 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005961/0.7754, allocations: 166 kB / 483.9 MB, free: 90.13 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002439/0.7757, allocations: 16.88 kB / 483.9 MB, free: 90.13 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.7769, allocations: 0.7339 MB / 484.6 MB, free: 89.74 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003142/0.7772, allocations: 0.8124 MB / 485.4 MB, free: 89.04 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.7774, allocations: 32.81 kB / 485.5 MB, free: 89.03 MB / 394.7 MB Notification: Performance of SimCode: time 1.556e-06/0.7774, allocations: 1.125 kB / 485.5 MB, free: 89.03 MB / 394.7 MB Notification: Performance of Templates: time 0.01257/0.79, allocations: 8.848 MB / 494.3 MB, free: 87.6 MB / 394.7 MB