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_turbulent_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_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.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 2.054/2.054, allocations: 209.2 MB / 224.8 MB, free: 204 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004912/0.0004913, allocations: 8 kB / 282.6 MB, free: 9.566 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.2874, allocations: 48.71 MB / 331.3 MB, free: 6.508 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1236/0.4111, allocations: 83.6 MB / 414.9 MB, free: 10.8 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003342/0.4115, allocations: 99.94 kB / 415 MB, free: 10.71 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1/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.1/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.1/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.05311/0.4646, allocations: 11.26 MB / 426.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.426e-06/0.4646, allocations: 0 / 426.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.498e-05/0.4647, allocations: 4 kB / 426.3 MB, free: 15.38 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.001106/0.4658, allocations: 0.5808 MB / 426.8 MB, free: 14.75 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.4659, allocations: 12.03 kB / 426.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.632e-05/0.466, allocations: 31.61 kB / 426.9 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003608/0.4663, allocations: 234.7 kB / 427.1 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.21e-05/0.4664, allocations: 20.66 kB / 427.1 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.09e-05/0.4665, allocations: 39.95 kB / 427.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009892/0.4675, allocations: 463.9 kB / 427.6 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.4675, allocations: 0 / 427.6 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.488e-05/0.4675, allocations: 12 kB / 427.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.092e-05/0.4676, allocations: 36.97 kB / 427.7 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001175/0.4688, allocations: 0.5621 MB / 428.2 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002694/0.4715, allocations: 1.354 MB / 429.6 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000803/0.4724, allocations: 291.4 kB / 429.9 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.092e-05/0.4725, allocations: 7.953 kB / 429.9 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/0.4725, allocations: 38.5 kB / 429.9 MB, free: 11.49 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 3.057e-06/0.4725, allocations: 0 / 429.9 MB, free: 11.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.001015/0.4735, allocations: 337.8 kB / 430.3 MB, free: 11.15 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.4736, allocations: 55.41 kB / 430.3 MB, free: 11.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.4738, allocations: 130.1 kB / 430.4 MB, free: 10.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.176e-05/0.4738, allocations: 25.7 kB / 430.5 MB, free: 10.92 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001767/0.474, allocations: 266.5 kB / 430.7 MB, free: 10.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.598e-05/0.4741, allocations: 90.75 kB / 430.8 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.985e-05/0.4742, allocations: 4 kB / 430.8 MB, free: 10.56 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.4743, allocations: 326.8 kB / 431.1 MB, free: 10.23 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002719/0.4746, allocations: 95.77 kB / 431.2 MB, free: 10.14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003311/0.475, allocations: 174.2 kB / 431.4 MB, free: 9.934 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003178/0.4753, allocations: 128.7 kB / 431.5 MB, free: 9.809 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.812e-06/0.4753, allocations: 0 / 431.5 MB, free: 9.809 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008182/0.4761, allocations: 329 kB / 431.8 MB, free: 9.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/0.4762, allocations: 12.58 kB / 431.9 MB, free: 9.469 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.811e-06/0.4762, allocations: 352 / 431.9 MB, free: 9.469 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.4762, allocations: 8 kB / 431.9 MB, free: 9.461 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007308/0.477, allocations: 127.8 kB / 432 MB, free: 9.336 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001798/0.4788, allocations: 2.364 MB / 434.4 MB, free: 6.879 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000253/0.4791, allocations: 40.02 kB / 434.4 MB, free: 6.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.005e-05/0.4791, allocations: 19.98 kB / 434.4 MB, free: 6.82 MB / 362.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.0002733/0.4794, allocations: 181.6 kB / 434.6 MB, free: 6.633 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.168e-05/0.4795, allocations: 11.81 kB / 434.6 MB, free: 6.621 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001122/0.4806, allocations: 386.8 kB / 435 MB, free: 6.234 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.147e-06/0.4806, allocations: 4 kB / 435 MB, free: 6.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.876e-06/0.4807, allocations: 4 kB / 435 MB, free: 6.227 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.4807, allocations: 3.984 kB / 435 MB, free: 6.223 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005556/0.4813, allocations: 349.2 kB / 435.3 MB, free: 5.832 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.461e-06/0.4813, allocations: 0 / 435.3 MB, free: 5.832 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006624/0.4819, allocations: 115.9 kB / 435.4 MB, free: 5.719 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.073e-05/0.482, allocations: 0 / 435.4 MB, free: 5.719 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.284e-05/0.482, allocations: 15.92 kB / 435.5 MB, free: 5.703 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001724/0.4837, allocations: 2.36 MB / 437.8 MB, free: 3.25 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.93e-06/0.4838, allocations: 0 / 437.8 MB, free: 3.25 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008057/0.4846, allocations: 379.3 kB / 438.2 MB, free: 2.863 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.498e-05/0.4847, allocations: 96.86 kB / 438.3 MB, free: 2.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.783e-05/0.4847, allocations: 0 / 438.3 MB, free: 2.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/0.485, allocations: 15.98 kB / 438.3 MB, free: 2.734 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.216e-05/0.485, allocations: 27.97 kB / 438.3 MB, free: 2.707 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.168e-05/0.4851, allocations: 11.98 kB / 438.3 MB, free: 2.695 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001009/0.4852, allocations: 103.8 kB / 438.4 MB, free: 2.594 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.73e-07/0.4852, allocations: 0 / 438.4 MB, free: 2.594 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008144/0.486, allocations: 199.4 kB / 438.6 MB, free: 2.398 MB / 362.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.0006183/0.4867, allocations: 258.9 kB / 438.9 MB, free: 2.137 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001004/0.4877, allocations: 283.7 kB / 439.2 MB, free: 1.859 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.644e-06/0.4877, allocations: 0.6875 kB / 439.2 MB, free: 1.859 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006029/0.4883, allocations: 176.2 kB / 439.3 MB, free: 1.688 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000252/0.4886, allocations: 8 kB / 439.3 MB, free: 1.68 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.4901, allocations: 0.7393 MB / 440.1 MB, free: 0.9062 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000544/0.4906, allocations: 0.8026 MB / 440.9 MB, free: 76 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.4908, allocations: 35.36 kB / 440.9 MB, free: 40 kB / 362.7 MB Notification: Performance of SimCode: time 1.616e-06/0.4908, allocations: 0 / 440.9 MB, free: 40 kB / 362.7 MB Notification: Performance of Templates: time 0.01573/0.5065, allocations: 8.852 MB / 449.8 MB, free: 7.176 MB / 378.7 MB