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_overall_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_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.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 2.328/2.328, allocations: 235.1 MB / 243 MB, free: 9.496 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.647e-05/1.662e-05, allocations: 0 / 303.2 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2734, allocations: 54.87 MB / 358.1 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1457/0.4191, allocations: 96.75 MB / 454.8 MB, free: 14.04 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003133/0.4195, allocations: 95.94 kB / 454.9 MB, free: 13.95 MB / 394.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.3447/0.7642, allocations: 17.66 MB / 472.6 MB, free: 98.59 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.821e-06/0.7643, allocations: 0 / 472.6 MB, free: 98.59 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.359e-05/0.7643, allocations: 3.625 kB / 472.6 MB, free: 98.59 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.00203/0.7664, allocations: 0.6329 MB / 473.2 MB, free: 98.12 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.099e-05/0.7665, allocations: 9.625 kB / 473.2 MB, free: 98.12 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001754/0.7667, allocations: 29.56 kB / 473.2 MB, free: 98.11 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005725/0.7673, allocations: 242.6 kB / 473.5 MB, free: 97.9 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.638e-05/0.7674, allocations: 9.875 kB / 473.5 MB, free: 97.9 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/0.7675, allocations: 16.56 kB / 473.5 MB, free: 97.9 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001566/0.7691, allocations: 403.8 kB / 473.9 MB, free: 97.89 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001545/0.7707, allocations: 400.7 kB / 474.3 MB, free: 97.85 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.789e-05/0.7707, allocations: 0 / 474.3 MB, free: 97.85 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-05/0.7708, allocations: 0 / 474.3 MB, free: 97.85 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001341/0.771, allocations: 42.17 kB / 474.3 MB, free: 97.85 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004345/0.7754, allocations: 1.268 MB / 475.6 MB, free: 97.2 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001194/0.7766, allocations: 251.8 kB / 475.8 MB, free: 97.17 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000321/0.777, allocations: 81.92 kB / 475.9 MB, free: 97.16 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.033e-05/0.7771, allocations: 5.328 kB / 475.9 MB, free: 97.16 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.7771, allocations: 37.91 kB / 476 MB, free: 97.12 MB / 394.7 MB Notification: Performance of pre-optimization done (n=25): time 7.878e-06/0.7771, allocations: 0 / 476 MB, free: 97.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=25): time 0.001015/0.7782, allocations: 212.6 kB / 476.2 MB, free: 97.08 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.7782, allocations: 55.34 kB / 476.2 MB, free: 97.02 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001922/0.7785, allocations: 126.6 kB / 476.4 MB, free: 96.92 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.198e-05/0.7785, allocations: 25.7 kB / 476.4 MB, free: 96.89 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000162/0.7787, allocations: 259.7 kB / 476.6 MB, free: 96.68 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/0.7789, allocations: 81.58 kB / 476.7 MB, free: 96.62 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.362e-05/0.7789, allocations: 0 / 476.7 MB, free: 96.62 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.779, allocations: 329.6 kB / 477 MB, free: 96.31 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002969/0.7794, allocations: 66.23 kB / 477.1 MB, free: 96.31 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003781/0.7798, allocations: 154.9 kB / 477.3 MB, free: 96.21 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004/0.7802, allocations: 96.47 kB / 477.3 MB, free: 96.21 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.124e-06/0.7802, allocations: 0 / 477.3 MB, free: 96.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001126/0.7814, allocations: 270.3 kB / 477.6 MB, free: 96.16 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.209e-05/0.7814, allocations: 7.844 kB / 477.6 MB, free: 96.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/0.7815, allocations: 3.969 kB / 477.6 MB, free: 96.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.19e-05/0.7815, allocations: 3.938 kB / 477.6 MB, free: 96.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001465/0.783, allocations: 133.2 kB / 477.8 MB, free: 96.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001787/0.7848, allocations: 2.366 MB / 480.1 MB, free: 93.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005291/0.7854, allocations: 31.19 kB / 480.2 MB, free: 93.81 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.431e-05/0.7855, allocations: 20.36 kB / 480.2 MB, free: 93.81 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.0001854/0.7857, allocations: 112.9 kB / 480.3 MB, free: 93.7 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/0.7859, allocations: 14.38 kB / 480.3 MB, free: 93.7 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001687/0.7876, allocations: 315.6 kB / 480.6 MB, free: 93.63 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/0.7877, allocations: 3.906 kB / 480.6 MB, free: 93.63 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.7877, allocations: 7.953 kB / 480.6 MB, free: 93.62 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.513e-05/0.7877, allocations: 7.828 kB / 480.6 MB, free: 93.62 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007877/0.7885, allocations: 270.4 kB / 480.9 MB, free: 93.45 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.749e-06/0.7886, allocations: 0 / 480.9 MB, free: 93.45 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001326/0.7899, allocations: 128.1 kB / 481 MB, free: 93.45 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-05/0.79, allocations: 0 / 481 MB, free: 93.45 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.411e-05/0.79, allocations: 3.906 kB / 481 MB, free: 93.45 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001708/0.7918, allocations: 2.375 MB / 483.4 MB, free: 91.1 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.163e-06/0.7918, allocations: 0 / 483.4 MB, free: 91.1 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009561/0.7928, allocations: 320.4 kB / 483.7 MB, free: 90.96 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.242e-05/0.7929, allocations: 92.8 kB / 483.8 MB, free: 90.86 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.16e-05/0.793, allocations: 3.906 kB / 483.8 MB, free: 90.86 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004648/0.7935, allocations: 13.72 kB / 483.8 MB, free: 90.85 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/0.7937, allocations: 27.42 kB / 483.8 MB, free: 90.85 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.541e-05/0.7937, allocations: 11.77 kB / 483.8 MB, free: 90.85 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00011/0.7939, allocations: 98.59 kB / 483.9 MB, free: 90.77 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.178e-06/0.7939, allocations: 0 / 483.9 MB, free: 90.77 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002059/0.796, allocations: 242.4 kB / 484.2 MB, free: 90.69 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.00167/0.7977, allocations: 404.3 kB / 484.6 MB, free: 90.5 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001267/0.799, allocations: 234.8 kB / 484.8 MB, free: 90.47 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.5e-06/0.799, allocations: 0 / 484.8 MB, free: 90.47 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006801/0.7997, allocations: 138.3 kB / 484.9 MB, free: 90.45 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005051/0.8002, allocations: 8.188 kB / 484.9 MB, free: 90.44 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.8015, allocations: 412.5 kB / 485.4 MB, free: 90.25 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000262/0.8018, allocations: 0.8092 MB / 486.2 MB, free: 89.54 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.8019, allocations: 32.47 kB / 486.2 MB, free: 89.53 MB / 394.7 MB Notification: Performance of SimCode: time 1.596e-06/0.8019, allocations: 0 / 486.2 MB, free: 89.53 MB / 394.7 MB Notification: Performance of Templates: time 0.01415/0.8161, allocations: 10.09 MB / 496.3 MB, free: 84.39 MB / 394.7 MB