Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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 1.978/1.978, allocations: 209.2 MB / 225.4 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004175/0.0004175, allocations: 12 kB / 283.1 MB, free: 9.664 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3725/0.373, allocations: 48.7 MB / 331.8 MB, free: 6.512 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1799/0.5529, allocations: 90.75 MB / 422.6 MB, free: 3.637 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003817/0.5534, allocations: 103.9 kB / 422.7 MB, free: 3.535 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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/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.09254/0.6459, allocations: 17.8 MB / 440.5 MB, free: 1.629 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.646, allocations: 8 kB / 440.5 MB, free: 1.621 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.494e-05/0.646, allocations: 4 kB / 440.5 MB, free: 1.617 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.001641/0.6476, allocations: 0.6354 MB / 441.1 MB, free: 0.9336 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.6477, allocations: 8.031 kB / 441.1 MB, free: 0.9258 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001163/0.6478, allocations: 31.62 kB / 441.2 MB, free: 0.8945 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000413/0.6483, allocations: 238.6 kB / 441.4 MB, free: 0.6211 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.374e-05/0.6483, allocations: 20.66 kB / 441.4 MB, free: 0.6016 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.162e-05/0.6484, allocations: 32 kB / 441.4 MB, free: 0.5703 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00125/0.6497, allocations: 463.9 kB / 441.9 MB, free: 116 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.6497, allocations: 3.938 kB / 441.9 MB, free: 112 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.827e-05/0.6498, allocations: 15.92 kB / 441.9 MB, free: 96 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.366e-05/0.6499, allocations: 44.97 kB / 442 MB, free: 52 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001578/0.6515, allocations: 0.5581 MB / 442.5 MB, free: 15.49 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003259/0.6548, allocations: 1.354 MB / 443.9 MB, free: 14.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008637/0.6557, allocations: 274.7 kB / 444.1 MB, free: 13.74 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.679e-05/0.6558, allocations: 12.06 kB / 444.2 MB, free: 13.73 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.617e-05/0.6558, allocations: 34.56 kB / 444.2 MB, free: 13.68 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 2.945e-06/0.6558, allocations: 0 / 444.2 MB, free: 13.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=25): time 0.001302/0.6571, allocations: 337.3 kB / 444.5 MB, free: 13.35 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/0.6572, allocations: 59.34 kB / 444.6 MB, free: 13.28 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/0.6574, allocations: 146 kB / 444.7 MB, free: 13.12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.351e-05/0.6575, allocations: 29.7 kB / 444.7 MB, free: 13.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001717/0.6576, allocations: 262.2 kB / 445 MB, free: 12.83 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.6578, allocations: 86.75 kB / 445.1 MB, free: 12.74 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.29e-05/0.6578, allocations: 4 kB / 445.1 MB, free: 12.74 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.658, allocations: 326.8 kB / 445.4 MB, free: 12.41 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003782/0.6583, allocations: 95.77 kB / 445.5 MB, free: 12.32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004599/0.6588, allocations: 178.2 kB / 445.7 MB, free: 12.11 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000434/0.6593, allocations: 121 kB / 445.8 MB, free: 11.99 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.6593, allocations: 4 kB / 445.8 MB, free: 11.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001073/0.6604, allocations: 333.3 kB / 446.1 MB, free: 11.65 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/0.6605, allocations: 8.062 kB / 446.1 MB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.6605, allocations: 4 kB / 446.1 MB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.396e-05/0.6605, allocations: 7.938 kB / 446.1 MB, free: 11.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009634/0.6615, allocations: 123.8 kB / 446.3 MB, free: 11.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001741/0.6633, allocations: 2.36 MB / 448.6 MB, free: 9.059 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003601/0.6637, allocations: 39.95 kB / 448.7 MB, free: 9.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.514e-05/0.6637, allocations: 16 kB / 448.7 MB, free: 9.004 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.0003132/0.664, allocations: 181.6 kB / 448.9 MB, free: 8.816 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.495e-05/0.6641, allocations: 15.81 kB / 448.9 MB, free: 8.801 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001476/0.6656, allocations: 374.8 kB / 449.2 MB, free: 8.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.6657, allocations: 8 kB / 449.3 MB, free: 8.422 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-06/0.6657, allocations: 3.984 kB / 449.3 MB, free: 8.418 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.6657, allocations: 0 / 449.3 MB, free: 8.418 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006759/0.6664, allocations: 341.3 kB / 449.6 MB, free: 8.035 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.6664, allocations: 0 / 449.6 MB, free: 8.035 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009284/0.6673, allocations: 107.9 kB / 449.7 MB, free: 7.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/0.6674, allocations: 0 / 449.7 MB, free: 7.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.082e-05/0.6674, allocations: 11.98 kB / 449.7 MB, free: 7.918 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001741/0.6692, allocations: 2.368 MB / 452.1 MB, free: 5.457 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/0.6693, allocations: 3.953 kB / 452.1 MB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.6703, allocations: 375.4 kB / 452.4 MB, free: 5.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.81e-05/0.6704, allocations: 92.86 kB / 452.5 MB, free: 4.961 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.939e-05/0.6705, allocations: 4 kB / 452.5 MB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002663/0.6708, allocations: 15.98 kB / 452.6 MB, free: 4.941 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.6709, allocations: 31.92 kB / 452.6 MB, free: 4.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.763e-05/0.6709, allocations: 8 kB / 452.6 MB, free: 4.902 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001183/0.6711, allocations: 103.2 kB / 452.7 MB, free: 4.801 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6711, allocations: 0 / 452.7 MB, free: 4.801 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001172/0.6723, allocations: 267.3 kB / 453 MB, free: 4.539 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.001339/0.6736, allocations: 396.2 kB / 453.3 MB, free: 4.145 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001433/0.6751, allocations: 296.2 kB / 453.6 MB, free: 3.855 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.6752, allocations: 0 / 453.6 MB, free: 3.855 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000871/0.676, allocations: 192.4 kB / 453.8 MB, free: 3.668 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002798/0.6764, allocations: 4 kB / 453.8 MB, free: 3.664 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001685/0.6781, allocations: 0.7533 MB / 454.6 MB, free: 2.879 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005394/0.6786, allocations: 0.8065 MB / 455.4 MB, free: 2.043 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001697/0.6788, allocations: 35.42 kB / 455.4 MB, free: 2.008 MB / 378.7 MB Notification: Performance of SimCode: time 1.804e-06/0.6788, allocations: 0 / 455.4 MB, free: 2.008 MB / 378.7 MB Notification: Performance of Templates: time 0.02269/0.7015, allocations: 10.04 MB / 465.5 MB, free: 7.957 MB / 394.7 MB