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.StraightPipe.dp_overall_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.StraightPipe.dp_overall_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.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 2.103/2.103, allocations: 209.2 MB / 224.8 MB, free: 1.223 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004328/0.000433, allocations: 12 kB / 282.6 MB, free: 9.703 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1031, allocations: 48.7 MB / 331.3 MB, free: 8.914 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3726/0.4759, allocations: 90.76 MB / 422.1 MB, free: 10.39 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003327/0.4762, allocations: 107.9 kB / 422.2 MB, free: 10.29 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:6086:11-6092:61:writable] Error: Type mismatch in binding roughness = roughness, expected subtype of enumeration(Neglected, Considered)[4], got type enumeration(Neglected, Considered). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:6094:11-6097: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.1/Fluid/Dissipation.mo:6100:11-6106:59:writable] Error: Type mismatch in binding roughness = roughness, expected subtype of enumeration(Neglected, Considered)[4], got type enumeration(Neglected, Considered). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:6108:11-6111: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.08156/0.5578, allocations: 17.79 MB / 440 MB, free: 8.391 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.122e-06/0.5579, allocations: 0 / 440 MB, free: 8.391 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.442e-05/0.5579, allocations: 8 kB / 440 MB, free: 8.383 MB / 362.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.001328/0.5592, allocations: 0.6393 MB / 440.6 MB, free: 7.695 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.5593, allocations: 8.031 kB / 440.6 MB, free: 7.688 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.188e-05/0.5594, allocations: 31.58 kB / 440.6 MB, free: 7.656 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003544/0.5598, allocations: 238.7 kB / 440.9 MB, free: 7.383 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.782e-05/0.5598, allocations: 24.59 kB / 440.9 MB, free: 7.359 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.52e-05/0.5599, allocations: 27.98 kB / 440.9 MB, free: 7.332 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.561, allocations: 467.9 kB / 441.4 MB, free: 6.871 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.561, allocations: 0 / 441.4 MB, free: 6.871 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.017e-05/0.5611, allocations: 8 kB / 441.4 MB, free: 6.863 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.24e-05/0.5611, allocations: 40.97 kB / 441.4 MB, free: 6.824 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001265/0.5624, allocations: 0.5621 MB / 442 MB, free: 6.262 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002674/0.5651, allocations: 1.358 MB / 443.3 MB, free: 4.781 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007764/0.5659, allocations: 294.1 kB / 443.6 MB, free: 4.488 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.424e-05/0.566, allocations: 4 kB / 443.6 MB, free: 4.484 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.566, allocations: 34.5 kB / 443.7 MB, free: 4.441 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 3.107e-06/0.566, allocations: 4 kB / 443.7 MB, free: 4.438 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.001039/0.5671, allocations: 341.8 kB / 444 MB, free: 4.098 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.5672, allocations: 51.41 kB / 444.1 MB, free: 4.035 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.5673, allocations: 125.2 kB / 444.2 MB, free: 3.902 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.779e-05/0.5674, allocations: 37.7 kB / 444.2 MB, free: 3.859 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/0.5676, allocations: 262.5 kB / 444.5 MB, free: 3.602 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.767e-05/0.5677, allocations: 86.73 kB / 444.6 MB, free: 3.516 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.068e-05/0.5677, allocations: 8 kB / 444.6 MB, free: 3.508 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.5679, allocations: 326.8 kB / 444.9 MB, free: 3.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002796/0.5682, allocations: 91.78 kB / 445 MB, free: 3.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003525/0.5686, allocations: 182.2 kB / 445.2 MB, free: 2.875 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003318/0.5689, allocations: 120.9 kB / 445.3 MB, free: 2.758 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.204e-06/0.5689, allocations: 0 / 445.3 MB, free: 2.758 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008525/0.5698, allocations: 329.3 kB / 445.6 MB, free: 2.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.5699, allocations: 12.66 kB / 445.6 MB, free: 2.418 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.5699, allocations: 4 kB / 445.6 MB, free: 2.414 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.5699, allocations: 4 kB / 445.6 MB, free: 2.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007439/0.5707, allocations: 135.8 kB / 445.7 MB, free: 2.277 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001837/0.5725, allocations: 2.364 MB / 448.1 MB, free: 15.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002711/0.5728, allocations: 39.77 kB / 448.2 MB, free: 15.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.435e-05/0.5729, allocations: 23.89 kB / 448.2 MB, free: 15.76 MB / 378.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.0002821/0.5732, allocations: 173.7 kB / 448.3 MB, free: 15.58 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.363e-05/0.5732, allocations: 15.81 kB / 448.4 MB, free: 15.56 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001137/0.5744, allocations: 382.8 kB / 448.7 MB, free: 15.19 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.116e-06/0.5744, allocations: 7.938 kB / 448.7 MB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.674e-06/0.5744, allocations: 0 / 448.7 MB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.569e-06/0.5744, allocations: 0 / 448.7 MB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000586/0.575, allocations: 349.3 kB / 449.1 MB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.67e-06/0.5751, allocations: 0 / 449.1 MB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006768/0.5757, allocations: 119.8 kB / 449.2 MB, free: 14.67 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.672e-06/0.5758, allocations: 0 / 449.2 MB, free: 14.67 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.095e-05/0.5758, allocations: 15.98 kB / 449.2 MB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00177/0.5776, allocations: 2.36 MB / 451.6 MB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.671e-06/0.5776, allocations: 0 / 451.6 MB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000823/0.5785, allocations: 375.5 kB / 451.9 MB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.307e-05/0.5786, allocations: 92.86 kB / 452 MB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.206e-05/0.5786, allocations: 8 kB / 452 MB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002048/0.5789, allocations: 15.98 kB / 452.1 MB, free: 11.69 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.376e-05/0.579, allocations: 27.92 kB / 452.1 MB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.002e-05/0.579, allocations: 8 kB / 452.1 MB, free: 11.65 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001026/0.5791, allocations: 108.5 kB / 452.2 MB, free: 11.55 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.59e-07/0.5791, allocations: 0 / 452.2 MB, free: 11.55 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00104/0.5802, allocations: 263.3 kB / 452.5 MB, free: 11.29 MB / 378.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.0009491/0.5811, allocations: 404.6 kB / 452.8 MB, free: 10.88 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001038/0.5822, allocations: 283.7 kB / 453.1 MB, free: 10.61 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.364e-06/0.5822, allocations: 0 / 453.1 MB, free: 10.61 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006044/0.5828, allocations: 176.9 kB / 453.3 MB, free: 10.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002546/0.5831, allocations: 8 kB / 453.3 MB, free: 10.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.5846, allocations: 0.7441 MB / 454 MB, free: 9.648 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005529/0.5852, allocations: 0.8026 MB / 454.9 MB, free: 8.816 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/0.5853, allocations: 35.42 kB / 454.9 MB, free: 8.781 MB / 378.7 MB Notification: Performance of SimCode: time 1.631e-06/0.5853, allocations: 3.938 kB / 454.9 MB, free: 8.777 MB / 378.7 MB Notification: Performance of Templates: time 0.01802/0.6033, allocations: 10.04 MB / 464.9 MB, free: 14.72 MB / 394.7 MB