Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.44/2.44, allocations: 234.9 MB / 251.1 MB, free: 9.711 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004435/0.0004436, allocations: 12 kB / 315 MB, free: 9.727 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4378/0.4382, allocations: 54.86 MB / 369.8 MB, free: 12.79 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1595/0.5978, allocations: 90.12 MB / 460 MB, free: 2.543 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004169/0.5983, allocations: 103.9 kB / 460.1 MB, free: 2.441 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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/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.0573/0.6556, allocations: 11.28 MB / 471.3 MB, free: 7.074 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.6556, allocations: 0 / 471.3 MB, free: 7.074 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.444e-05/0.6557, allocations: 4 kB / 471.3 MB, free: 7.07 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.001327/0.657, allocations: 0.5885 MB / 471.9 MB, free: 6.434 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.6571, allocations: 8.031 kB / 471.9 MB, free: 6.426 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.758e-05/0.6572, allocations: 27.62 kB / 472 MB, free: 6.398 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000397/0.6576, allocations: 238.7 kB / 472.2 MB, free: 6.125 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.903e-05/0.6576, allocations: 20.64 kB / 472.2 MB, free: 6.105 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.266e-05/0.6577, allocations: 28 kB / 472.2 MB, free: 6.078 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001228/0.6589, allocations: 467.9 kB / 472.7 MB, free: 5.617 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.659, allocations: 0 / 472.7 MB, free: 5.617 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.392e-05/0.659, allocations: 15.95 kB / 472.7 MB, free: 5.602 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.818e-05/0.6591, allocations: 40.91 kB / 472.8 MB, free: 5.562 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00147/0.6606, allocations: 0.5621 MB / 473.3 MB, free: 4.996 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003219/0.6639, allocations: 1.354 MB / 474.7 MB, free: 3.523 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008434/0.6648, allocations: 274.5 kB / 474.9 MB, free: 3.246 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.574e-05/0.6648, allocations: 12.36 kB / 475 MB, free: 3.234 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.6649, allocations: 38.5 kB / 475 MB, free: 3.188 MB / 394.7 MB Notification: Performance of pre-optimization done (n=25): time 3.617e-06/0.6649, allocations: 4 kB / 475 MB, free: 3.184 MB / 394.7 MB Notification: Performance of matching and sorting (n=25): time 0.001281/0.6662, allocations: 345.1 kB / 475.3 MB, free: 2.84 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.604e-05/0.6662, allocations: 51.41 kB / 475.4 MB, free: 2.777 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/0.6665, allocations: 142 kB / 475.5 MB, free: 2.625 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.374e-05/0.6665, allocations: 29.7 kB / 475.5 MB, free: 2.59 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001769/0.6667, allocations: 258.2 kB / 475.8 MB, free: 2.336 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.6668, allocations: 86.75 kB / 475.9 MB, free: 2.25 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.248e-05/0.6668, allocations: 8 kB / 475.9 MB, free: 2.242 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.667, allocations: 326.8 kB / 476.2 MB, free: 1.914 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003564/0.6674, allocations: 91.92 kB / 476.3 MB, free: 1.824 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004379/0.6678, allocations: 183.9 kB / 476.5 MB, free: 1.609 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000416/0.6683, allocations: 115.9 kB / 476.6 MB, free: 1.496 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.6683, allocations: 3.938 kB / 476.6 MB, free: 1.492 MB / 394.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001034/0.6693, allocations: 325.1 kB / 476.9 MB, free: 1.168 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.6694, allocations: 12.88 kB / 476.9 MB, free: 1.156 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.6694, allocations: 4 kB / 476.9 MB, free: 1.152 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.08e-05/0.6694, allocations: 12.33 kB / 476.9 MB, free: 1.141 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009437/0.6704, allocations: 115.9 kB / 477.1 MB, free: 1.027 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001659/0.6721, allocations: 2.372 MB / 479.4 MB, free: 14.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003362/0.6724, allocations: 27.75 kB / 479.5 MB, free: 14.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.736e-05/0.6725, allocations: 19.98 kB / 479.5 MB, free: 14.51 MB / 410.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.0003168/0.6728, allocations: 178.9 kB / 479.6 MB, free: 14.33 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.61e-05/0.6729, allocations: 7.906 kB / 479.7 MB, free: 14.32 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001453/0.6744, allocations: 374.3 kB / 480 MB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.6744, allocations: 3.953 kB / 480 MB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.6744, allocations: 4 kB / 480 MB, free: 13.94 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/0.6744, allocations: 3.984 kB / 480 MB, free: 13.94 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000658/0.6751, allocations: 341.2 kB / 480.4 MB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.666e-06/0.6751, allocations: 3.938 kB / 480.4 MB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008471/0.676, allocations: 107.8 kB / 480.5 MB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.752e-06/0.676, allocations: 0 / 480.5 MB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.549e-05/0.676, allocations: 8 kB / 480.5 MB, free: 13.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001682/0.6777, allocations: 2.364 MB / 482.8 MB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.6778, allocations: 4.094 kB / 482.9 MB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.6788, allocations: 387.5 kB / 483.2 MB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.634e-05/0.6789, allocations: 96.81 kB / 483.3 MB, free: 10.47 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.451e-05/0.679, allocations: 12 kB / 483.3 MB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002652/0.6793, allocations: 11.98 kB / 483.3 MB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.118e-05/0.6794, allocations: 19.97 kB / 483.4 MB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.746e-05/0.6794, allocations: 12 kB / 483.4 MB, free: 10.42 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001104/0.6796, allocations: 96.53 kB / 483.5 MB, free: 10.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6796, allocations: 0 / 483.5 MB, free: 10.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008883/0.6805, allocations: 195.4 kB / 483.7 MB, free: 10.13 MB / 410.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.0007328/0.6812, allocations: 270.9 kB / 483.9 MB, free: 9.855 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001375/0.6826, allocations: 303.6 kB / 484.2 MB, free: 9.559 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.6826, allocations: 0 / 484.2 MB, free: 9.559 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008194/0.6835, allocations: 184.5 kB / 484.4 MB, free: 9.379 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002598/0.6837, allocations: 12.44 kB / 484.4 MB, free: 9.367 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001646/0.6854, allocations: 0.7317 MB / 485.2 MB, free: 8.613 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005156/0.6859, allocations: 0.8141 MB / 486 MB, free: 7.773 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001588/0.6861, allocations: 31.42 kB / 486 MB, free: 7.742 MB / 410.7 MB Notification: Performance of SimCode: time 1.272e-06/0.6861, allocations: 0 / 486 MB, free: 7.742 MB / 410.7 MB Notification: Performance of Templates: time 0.01934/0.7055, allocations: 8.848 MB / 494.8 MB, free: 14.9 MB / 426.7 MB