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_overall_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_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.453/2.453, allocations: 234.9 MB / 251.1 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000642/0.000642, allocations: 12 kB / 315 MB, free: 9.578 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3597/0.3604, allocations: 54.86 MB / 369.8 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2609/0.6214, allocations: 97.49 MB / 467.3 MB, free: 9.078 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0006441/0.6221, allocations: 103.9 kB / 467.4 MB, free: 8.977 MB / 394.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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/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.5123/1.134, allocations: 17.82 MB / 485.3 MB, free: 96.22 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.014e-06/1.134, allocations: 0 / 485.3 MB, free: 96.22 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.491e-05/1.135, allocations: 3.969 kB / 485.3 MB, free: 96.22 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.00141/1.136, allocations: 0.6413 MB / 485.9 MB, free: 95.68 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/1.136, allocations: 7.406 kB / 485.9 MB, free: 95.68 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.738e-05/1.136, allocations: 35.12 kB / 485.9 MB, free: 95.66 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003007/1.136, allocations: 235 kB / 486.2 MB, free: 95.45 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.683e-05/1.136, allocations: 24 kB / 486.2 MB, free: 95.44 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.086e-05/1.137, allocations: 26.28 kB / 486.2 MB, free: 95.43 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/1.138, allocations: 462.9 kB / 486.7 MB, free: 95.28 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/1.138, allocations: 3.953 kB / 486.7 MB, free: 95.28 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.621e-05/1.138, allocations: 18.84 kB / 486.7 MB, free: 95.27 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.577e-05/1.138, allocations: 38.58 kB / 486.7 MB, free: 95.27 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001214/1.139, allocations: 0.5626 MB / 487.3 MB, free: 95.12 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002587/1.142, allocations: 1.349 MB / 488.6 MB, free: 94.25 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007667/1.142, allocations: 285.3 kB / 488.9 MB, free: 94.17 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.351e-05/1.142, allocations: 6.5 kB / 488.9 MB, free: 94.17 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/1.142, allocations: 42.25 kB / 489 MB, free: 94.12 MB / 394.7 MB Notification: Performance of pre-optimization done (n=25): time 3.166e-06/1.142, allocations: 0 / 489 MB, free: 94.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=25): time 0.001149/1.144, allocations: 335.9 kB / 489.3 MB, free: 94.03 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.138e-05/1.144, allocations: 63.56 kB / 489.4 MB, free: 93.96 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/1.144, allocations: 144.7 kB / 489.5 MB, free: 93.84 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/1.144, allocations: 29.7 kB / 489.5 MB, free: 93.8 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/1.144, allocations: 275.4 kB / 489.8 MB, free: 93.57 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.576e-05/1.144, allocations: 85.66 kB / 489.9 MB, free: 93.5 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.136e-05/1.144, allocations: 4 kB / 489.9 MB, free: 93.5 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.666e-05/1.144, allocations: 322.3 kB / 490.2 MB, free: 93.18 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003154/1.144, allocations: 94.33 kB / 490.3 MB, free: 93.16 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003528/1.145, allocations: 176.6 kB / 490.5 MB, free: 93.05 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000374/1.145, allocations: 121.1 kB / 490.6 MB, free: 93.02 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/1.145, allocations: 0 / 490.6 MB, free: 93.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008899/1.146, allocations: 322.8 kB / 490.9 MB, free: 92.91 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/1.146, allocations: 8.594 kB / 490.9 MB, free: 92.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/1.146, allocations: 3.625 kB / 490.9 MB, free: 92.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/1.146, allocations: 3.781 kB / 490.9 MB, free: 92.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000864/1.147, allocations: 119.9 kB / 491 MB, free: 92.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009876/1.148, allocations: 2.372 MB / 493.4 MB, free: 90.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002971/1.148, allocations: 30.98 kB / 493.4 MB, free: 90.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.961e-05/1.148, allocations: 19.59 kB / 493.5 MB, free: 90.52 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.000238/1.149, allocations: 173.2 kB / 493.6 MB, free: 90.38 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.393e-05/1.149, allocations: 11.66 kB / 493.6 MB, free: 90.38 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001256/1.15, allocations: 386.8 kB / 494 MB, free: 90.22 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/1.15, allocations: 3.938 kB / 494 MB, free: 90.22 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/1.15, allocations: 0 / 494 MB, free: 90.22 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/1.15, allocations: 3.938 kB / 494 MB, free: 90.22 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004879/1.151, allocations: 338.8 kB / 494.3 MB, free: 89.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/1.151, allocations: 3.719 kB / 494.4 MB, free: 89.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000784/1.151, allocations: 100.8 kB / 494.5 MB, free: 89.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/1.151, allocations: 4 kB / 494.5 MB, free: 89.97 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.852e-05/1.151, allocations: 11.83 kB / 494.5 MB, free: 89.97 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009157/1.152, allocations: 2.353 MB / 496.8 MB, free: 87.61 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.152, allocations: 0 / 496.8 MB, free: 87.61 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008331/1.153, allocations: 390.3 kB / 497.2 MB, free: 87.41 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.034e-05/1.153, allocations: 96.56 kB / 497.3 MB, free: 87.3 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.078e-05/1.153, allocations: 7.938 kB / 497.3 MB, free: 87.29 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002527/1.154, allocations: 15.8 kB / 497.3 MB, free: 87.29 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.072e-05/1.154, allocations: 22.91 kB / 497.3 MB, free: 87.28 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.161e-05/1.154, allocations: 15.25 kB / 497.4 MB, free: 87.28 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.714e-05/1.154, allocations: 98.36 kB / 497.5 MB, free: 87.2 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.01e-07/1.154, allocations: 0 / 497.5 MB, free: 87.2 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001114/1.155, allocations: 271.8 kB / 497.7 MB, free: 87.06 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.0009761/1.156, allocations: 395.3 kB / 498.1 MB, free: 86.72 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001331/1.157, allocations: 309.3 kB / 498.4 MB, free: 86.48 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/1.157, allocations: 0 / 498.4 MB, free: 86.48 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007558/1.158, allocations: 186.5 kB / 498.6 MB, free: 86.33 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002496/1.158, allocations: 8 kB / 498.6 MB, free: 86.32 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/1.16, allocations: 0.7427 MB / 499.3 MB, free: 85.65 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/1.16, allocations: 0.8083 MB / 0.4884 GB, free: 84.86 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001344/1.16, allocations: 27.28 kB / 0.4884 GB, free: 84.84 MB / 394.7 MB Notification: Performance of SimCode: time 1.012e-06/1.16, allocations: 0 / 0.4884 GB, free: 84.84 MB / 394.7 MB Notification: Performance of Templates: time 0.01796/1.178, allocations: 10.05 MB / 0.4983 GB, free: 75.03 MB / 394.7 MB