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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.413/2.413, allocations: 235.1 MB / 243 MB, free: 9.512 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.464e-05/2.464e-05, allocations: 4 kB / 303.2 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2863, allocations: 54.86 MB / 358.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1353/0.4217, allocations: 89.37 MB / 447.4 MB, free: 5.449 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003171/0.422, allocations: 95.94 kB / 447.5 MB, free: 5.355 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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/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/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/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.05247/0.4745, allocations: 11.17 MB / 458.7 MB, free: 10.11 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.899e-06/0.4746, allocations: 0 / 458.7 MB, free: 10.11 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.474e-05/0.4746, allocations: 4 kB / 458.7 MB, free: 10.1 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.001075/0.4757, allocations: 0.584 MB / 459.3 MB, free: 9.473 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.4757, allocations: 8.031 kB / 459.3 MB, free: 9.465 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.635e-05/0.4758, allocations: 27.62 kB / 459.3 MB, free: 9.438 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000364/0.4762, allocations: 238.6 kB / 459.6 MB, free: 9.164 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.4763, allocations: 8 kB / 459.6 MB, free: 9.156 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.605e-05/0.4763, allocations: 16 kB / 459.6 MB, free: 9.141 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007914/0.4771, allocations: 405.3 kB / 460 MB, free: 8.742 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007924/0.4779, allocations: 402 kB / 460.4 MB, free: 8.344 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.478, allocations: 3.953 kB / 460.4 MB, free: 8.34 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.387e-05/0.478, allocations: 0 / 460.4 MB, free: 8.34 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-05/0.4781, allocations: 44.75 kB / 460.4 MB, free: 8.297 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002491/0.4806, allocations: 1.258 MB / 461.7 MB, free: 6.93 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006175/0.4813, allocations: 261.1 kB / 461.9 MB, free: 6.668 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001846/0.4815, allocations: 80.77 kB / 462 MB, free: 6.586 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.309e-05/0.4815, allocations: 7.984 kB / 462 MB, free: 6.578 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.4816, allocations: 34.56 kB / 462.1 MB, free: 6.535 MB / 394.7 MB Notification: Performance of pre-optimization done (n=25): time 3.092e-06/0.4816, allocations: 4 kB / 462.1 MB, free: 6.531 MB / 394.7 MB Notification: Performance of matching and sorting (n=25): time 0.0005431/0.4821, allocations: 213.7 kB / 462.3 MB, free: 6.316 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/0.4822, allocations: 51.41 kB / 462.3 MB, free: 6.254 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.4823, allocations: 121.3 kB / 462.4 MB, free: 6.125 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.54e-05/0.4824, allocations: 29.69 kB / 462.5 MB, free: 6.09 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001855/0.4826, allocations: 262.4 kB / 462.7 MB, free: 5.828 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.35e-05/0.4827, allocations: 82.75 kB / 462.8 MB, free: 5.746 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.621e-05/0.4827, allocations: 0 / 462.8 MB, free: 5.746 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.4829, allocations: 326.8 kB / 463.1 MB, free: 5.418 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.4831, allocations: 63.97 kB / 463.2 MB, free: 5.355 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002358/0.4833, allocations: 154.2 kB / 463.3 MB, free: 5.168 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002107/0.4835, allocations: 100.1 kB / 463.4 MB, free: 5.07 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.051e-06/0.4836, allocations: 0 / 463.4 MB, free: 5.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006029/0.4842, allocations: 265.2 kB / 463.7 MB, free: 4.805 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.4842, allocations: 11.92 kB / 463.7 MB, free: 4.793 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.4842, allocations: 4 kB / 463.7 MB, free: 4.789 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.4843, allocations: 4 kB / 463.7 MB, free: 4.785 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007713/0.485, allocations: 127.8 kB / 463.8 MB, free: 4.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001825/0.4869, allocations: 2.372 MB / 466.2 MB, free: 2.195 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002655/0.4872, allocations: 27.73 kB / 466.2 MB, free: 2.168 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.95e-05/0.4872, allocations: 12 kB / 466.2 MB, free: 2.156 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 () * 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.0001543/0.4874, allocations: 120.8 kB / 466.4 MB, free: 2.031 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.138e-05/0.4875, allocations: 11.84 kB / 466.4 MB, free: 2.02 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000905/0.4884, allocations: 322 kB / 466.7 MB, free: 1.703 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.428e-06/0.4884, allocations: 4 kB / 466.7 MB, free: 1.699 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.75e-06/0.4884, allocations: 0 / 466.7 MB, free: 1.699 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.153e-06/0.4885, allocations: 3.953 kB / 466.7 MB, free: 1.695 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004733/0.4889, allocations: 278.3 kB / 467 MB, free: 1.387 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.103e-06/0.489, allocations: 0 / 467 MB, free: 1.387 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006945/0.4897, allocations: 115.8 kB / 467.1 MB, free: 1.273 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.166e-05/0.4897, allocations: 7.938 kB / 467.1 MB, free: 1.266 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.898e-05/0.4897, allocations: 8 kB / 467.1 MB, free: 1.258 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3128/0.8025, allocations: 2.356 MB / 469.5 MB, free: 98.53 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.269e-06/0.8026, allocations: 3.844 kB / 469.5 MB, free: 98.53 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005649/0.8031, allocations: 325 kB / 469.8 MB, free: 98.4 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.816e-05/0.8032, allocations: 91.88 kB / 469.9 MB, free: 98.31 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.811e-05/0.8033, allocations: 1.297 kB / 469.9 MB, free: 98.31 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002251/0.8035, allocations: 14.41 kB / 469.9 MB, free: 98.31 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.807e-05/0.8036, allocations: 19.92 kB / 469.9 MB, free: 98.31 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.924e-05/0.8037, allocations: 12.31 kB / 469.9 MB, free: 98.31 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.475e-05/0.8037, allocations: 96.25 kB / 470 MB, free: 98.23 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.86e-07/0.8038, allocations: 0.5 kB / 470 MB, free: 98.23 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008566/0.8046, allocations: 180.9 kB / 470.2 MB, free: 98.23 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 () * 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.0005759/0.8052, allocations: 265 kB / 470.4 MB, free: 98.15 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007981/0.806, allocations: 239.1 kB / 470.7 MB, free: 98.14 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.32e-06/0.8061, allocations: 0 / 470.7 MB, free: 98.14 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004591/0.8065, allocations: 141.8 kB / 470.8 MB, free: 98.14 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.8068, allocations: 5.344 kB / 470.8 MB, free: 98.14 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.8078, allocations: 403.5 kB / 471.2 MB, free: 98 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000368/0.8082, allocations: 0.8094 MB / 472 MB, free: 97.3 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/0.8083, allocations: 34.23 kB / 472.1 MB, free: 97.29 MB / 394.7 MB Notification: Performance of SimCode: time 1.435e-06/0.8084, allocations: 3.844 kB / 472.1 MB, free: 97.29 MB / 394.7 MB Notification: Performance of Templates: time 0.01339/0.8218, allocations: 8.868 MB / 480.9 MB, free: 96.32 MB / 394.7 MB