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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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.34/2.34, allocations: 234.9 MB / 250.5 MB, free: 9.457 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004225/0.0004227, allocations: 8 kB / 314.4 MB, free: 9.43 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2713, allocations: 54.86 MB / 369.3 MB, free: 10.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1433/0.4147, allocations: 97.52 MB / 466.8 MB, free: 9.027 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003236/0.4151, allocations: 99.88 kB / 466.9 MB, free: 8.93 MB / 394.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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/OpenModelica/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/OpenModelica/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/OpenModelica/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.3173/0.7324, allocations: 17.82 MB / 484.7 MB, free: 96.2 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.178e-06/0.7324, allocations: 3.844 kB / 484.7 MB, free: 96.2 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.258e-05/0.7324, allocations: 3.625 kB / 484.7 MB, free: 96.2 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.000971/0.7334, allocations: 0.6346 MB / 485.4 MB, free: 95.66 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.7335, allocations: 10.88 kB / 485.4 MB, free: 95.66 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.488e-05/0.7336, allocations: 30.16 kB / 485.4 MB, free: 95.65 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002445/0.7338, allocations: 233 kB / 485.6 MB, free: 95.44 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.556e-05/0.7338, allocations: 26.19 kB / 485.7 MB, free: 95.43 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.261e-05/0.7339, allocations: 26.88 kB / 485.7 MB, free: 95.42 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008069/0.7347, allocations: 463.7 kB / 486.1 MB, free: 95.27 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.7348, allocations: 3.953 kB / 486.1 MB, free: 95.26 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.968e-05/0.7348, allocations: 15.3 kB / 486.2 MB, free: 95.25 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.888e-05/0.7349, allocations: 42.91 kB / 486.2 MB, free: 95.25 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009361/0.7358, allocations: 0.5553 MB / 486.8 MB, free: 95.11 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001937/0.7378, allocations: 1.35 MB / 488.1 MB, free: 94.24 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006501/0.7385, allocations: 292 kB / 488.4 MB, free: 94.16 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.833e-05/0.7385, allocations: 7.906 kB / 488.4 MB, free: 94.16 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.7386, allocations: 38.47 kB / 488.4 MB, free: 94.11 MB / 394.7 MB Notification: Performance of pre-optimization done (n=25): time 3.222e-06/0.7386, allocations: 4 kB / 488.4 MB, free: 94.11 MB / 394.7 MB Notification: Performance of matching and sorting (n=25): time 0.0008829/0.7395, allocations: 344.9 kB / 488.8 MB, free: 94.01 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.12e-05/0.7395, allocations: 51.41 kB / 488.8 MB, free: 93.95 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.568e-05/0.7396, allocations: 142.2 kB / 489 MB, free: 93.83 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.7396, allocations: 29.7 kB / 489 MB, free: 93.8 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.055e-05/0.7397, allocations: 265.3 kB / 489.3 MB, free: 93.57 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.927e-05/0.7398, allocations: 84.14 kB / 489.3 MB, free: 93.5 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.144e-05/0.7398, allocations: 10.94 kB / 489.3 MB, free: 93.5 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.745e-05/0.7399, allocations: 326.5 kB / 489.7 MB, free: 93.18 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002831/0.7402, allocations: 97.22 kB / 489.8 MB, free: 93.16 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002961/0.7405, allocations: 167.1 kB / 489.9 MB, free: 93.04 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002909/0.7408, allocations: 125.5 kB / 490 MB, free: 93.01 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.823e-06/0.7408, allocations: 0 / 490 MB, free: 93.01 MB / 394.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007576/0.7416, allocations: 329.5 kB / 490.4 MB, free: 92.9 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.7417, allocations: 6.594 kB / 490.4 MB, free: 92.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.515e-06/0.7417, allocations: 0 / 490.4 MB, free: 92.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.7417, allocations: 10.69 kB / 490.4 MB, free: 92.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007167/0.7424, allocations: 133.5 kB / 490.5 MB, free: 92.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009074/0.7434, allocations: 2.367 MB / 492.9 MB, free: 90.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002402/0.7436, allocations: 35.14 kB / 492.9 MB, free: 90.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.453e-05/0.7437, allocations: 15.75 kB / 492.9 MB, free: 90.5 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 () * 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.0002058/0.7439, allocations: 171.9 kB / 493.1 MB, free: 90.37 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.828e-05/0.744, allocations: 11.64 kB / 493.1 MB, free: 90.36 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001029/0.745, allocations: 384 kB / 493.5 MB, free: 90.21 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.276e-06/0.745, allocations: 7.766 kB / 493.5 MB, free: 90.21 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.582e-06/0.745, allocations: 0 / 493.5 MB, free: 90.21 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.727e-06/0.7451, allocations: 0 / 493.5 MB, free: 90.21 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004178/0.7455, allocations: 340.4 kB / 493.8 MB, free: 89.97 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.885e-06/0.7455, allocations: 0 / 493.8 MB, free: 89.97 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007045/0.7462, allocations: 128.3 kB / 494 MB, free: 89.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.085e-06/0.7462, allocations: 0 / 494 MB, free: 89.96 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.752e-05/0.7463, allocations: 7.812 kB / 494 MB, free: 89.95 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000884/0.7472, allocations: 2.363 MB / 496.3 MB, free: 87.59 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.7472, allocations: 0 / 496.3 MB, free: 87.59 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006794/0.7479, allocations: 380.5 kB / 496.7 MB, free: 87.39 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.246e-05/0.7479, allocations: 96.59 kB / 496.8 MB, free: 87.29 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.072e-05/0.748, allocations: 4 kB / 496.8 MB, free: 87.28 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002221/0.7482, allocations: 15.58 kB / 496.8 MB, free: 87.28 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.422e-05/0.7483, allocations: 27.16 kB / 496.8 MB, free: 87.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-05/0.7484, allocations: 15.58 kB / 496.9 MB, free: 87.27 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.17e-05/0.7484, allocations: 95.86 kB / 496.9 MB, free: 87.19 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.15e-07/0.7484, allocations: 0 / 496.9 MB, free: 87.19 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009761/0.7494, allocations: 269.2 kB / 497.2 MB, free: 86.98 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 () * 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.0007266/0.7502, allocations: 403.2 kB / 497.6 MB, free: 86.63 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008544/0.7511, allocations: 294.2 kB / 497.9 MB, free: 86.4 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.272e-06/0.7511, allocations: 0 / 497.9 MB, free: 86.4 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005046/0.7516, allocations: 166.4 kB / 498.1 MB, free: 86.27 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002289/0.7518, allocations: 8 kB / 498.1 MB, free: 86.26 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.753, allocations: 0.7495 MB / 498.8 MB, free: 85.57 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002722/0.7533, allocations: 0.8043 MB / 499.6 MB, free: 84.79 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.7534, allocations: 31.28 kB / 499.6 MB, free: 84.76 MB / 394.7 MB Notification: Performance of SimCode: time 1.696e-06/0.7534, allocations: 0 / 499.6 MB, free: 84.76 MB / 394.7 MB Notification: Performance of Templates: time 0.01352/0.7669, allocations: 10.05 MB / 0.4977 GB, free: 74.97 MB / 394.7 MB