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.178/2.178, allocations: 235 MB / 248.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.29e-05/3.304e-05, allocations: 4 kB / 309.7 MB, free: 1.297 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/0.353, allocations: 54.86 MB / 364.6 MB, free: 5.539 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1445/0.4975, allocations: 97.43 MB / 462 MB, free: 15.02 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003222/0.4979, allocations: 97.2 kB / 462.1 MB, free: 14.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.1092/0.6072, allocations: 17.79 MB / 479.9 MB, free: 13.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.179e-06/0.6072, allocations: 0 / 479.9 MB, free: 13.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.692e-05/0.6073, allocations: 4 kB / 479.9 MB, free: 13.05 MB / 410.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.001783/0.6091, allocations: 0.6308 MB / 480.5 MB, free: 12.37 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.939e-05/0.6092, allocations: 12.03 kB / 480.5 MB, free: 12.36 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001416/0.6093, allocations: 31.62 kB / 480.6 MB, free: 12.33 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005307/0.6099, allocations: 242.6 kB / 480.8 MB, free: 12.05 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.196e-05/0.61, allocations: 28.72 kB / 480.8 MB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.6101, allocations: 24 kB / 480.8 MB, free: 12 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001507/0.6116, allocations: 443.5 kB / 481.3 MB, free: 11.56 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.6117, allocations: 0 / 481.3 MB, free: 11.56 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.188e-05/0.6118, allocations: 8 kB / 481.3 MB, free: 11.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001315/0.6119, allocations: 40.75 kB / 481.3 MB, free: 11.51 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00273/0.6147, allocations: 0.5183 MB / 481.8 MB, free: 11 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005313/0.6201, allocations: 1.354 MB / 483.2 MB, free: 9.523 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001266/0.6214, allocations: 266.4 kB / 483.5 MB, free: 9.254 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000362/0.6218, allocations: 84.83 kB / 483.5 MB, free: 9.168 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.018e-05/0.6219, allocations: 8.375 kB / 483.5 MB, free: 9.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.295e-05/0.622, allocations: 38.98 kB / 483.6 MB, free: 9.113 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 5.585e-06/0.622, allocations: 7.938 kB / 483.6 MB, free: 9.105 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.001109/0.6232, allocations: 213.3 kB / 483.8 MB, free: 8.891 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.723e-05/0.6233, allocations: 59.34 kB / 483.9 MB, free: 8.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003321/0.6236, allocations: 134.9 kB / 484 MB, free: 8.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.462e-05/0.6237, allocations: 33.7 kB / 484 MB, free: 8.641 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003162/0.6241, allocations: 258.2 kB / 484.3 MB, free: 8.383 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001696/0.6243, allocations: 82.75 kB / 484.4 MB, free: 8.301 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.257e-05/0.6243, allocations: 8 kB / 484.4 MB, free: 8.293 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002944/0.6246, allocations: 326.8 kB / 484.7 MB, free: 7.965 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003468/0.625, allocations: 67.97 kB / 484.8 MB, free: 7.898 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004902/0.6255, allocations: 166.1 kB / 484.9 MB, free: 7.699 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004515/0.626, allocations: 99.92 kB / 485 MB, free: 7.602 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.871e-06/0.626, allocations: 3.938 kB / 485 MB, free: 7.598 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001275/0.6273, allocations: 285.7 kB / 485.3 MB, free: 7.312 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.541e-05/0.6274, allocations: 9.906 kB / 485.3 MB, free: 7.305 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.718e-05/0.6274, allocations: 4 kB / 485.3 MB, free: 7.301 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.631e-05/0.6275, allocations: 4 kB / 485.3 MB, free: 7.297 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/0.6287, allocations: 139.8 kB / 485.4 MB, free: 7.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001724/0.6305, allocations: 2.36 MB / 487.8 MB, free: 4.707 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002458/0.6308, allocations: 36.02 kB / 487.8 MB, free: 4.672 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.213e-05/0.6308, allocations: 15.98 kB / 487.9 MB, free: 4.656 MB / 410.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.0001383/0.631, allocations: 128.8 kB / 488 MB, free: 4.523 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.496e-05/0.631, allocations: 11.91 kB / 488 MB, free: 4.512 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009481/0.632, allocations: 342.8 kB / 488.3 MB, free: 4.176 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.632, allocations: 0 / 488.3 MB, free: 4.176 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.761e-06/0.632, allocations: 0 / 488.3 MB, free: 4.176 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.317e-06/0.6321, allocations: 7.984 kB / 488.3 MB, free: 4.168 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005524/0.6326, allocations: 333.3 kB / 488.7 MB, free: 3.793 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.605e-06/0.6326, allocations: 0 / 488.7 MB, free: 3.793 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006801/0.6333, allocations: 127.8 kB / 488.8 MB, free: 3.668 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.656e-06/0.6334, allocations: 4 kB / 488.8 MB, free: 3.664 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.997e-05/0.6334, allocations: 8 kB / 488.8 MB, free: 3.656 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001689/0.6351, allocations: 2.363 MB / 491.2 MB, free: 1.199 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.813e-06/0.6351, allocations: 0 / 491.2 MB, free: 1.199 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006316/0.6358, allocations: 347.8 kB / 491.5 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.849e-05/0.6359, allocations: 92.86 kB / 491.6 MB, free: 0.7344 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.12e-05/0.6359, allocations: 8 kB / 491.6 MB, free: 0.7266 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002228/0.6362, allocations: 15.98 kB / 491.6 MB, free: 0.7109 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.905e-05/0.6362, allocations: 15.97 kB / 491.6 MB, free: 0.6953 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.207e-05/0.6363, allocations: 12 kB / 491.6 MB, free: 0.6836 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.488e-05/0.6364, allocations: 100.7 kB / 491.7 MB, free: 0.5859 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.17e-07/0.6364, allocations: 4 kB / 491.7 MB, free: 0.582 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001005/0.6374, allocations: 267.3 kB / 492 MB, free: 328 kB / 410.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.0008857/0.6383, allocations: 397.8 kB / 492.4 MB, free: 15.92 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008199/0.6392, allocations: 260.4 kB / 492.7 MB, free: 15.67 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.354e-06/0.6392, allocations: 0 / 492.7 MB, free: 15.67 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005075/0.6397, allocations: 151.8 kB / 492.8 MB, free: 15.52 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002572/0.64, allocations: 15.89 kB / 492.8 MB, free: 15.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009769/0.641, allocations: 423 kB / 493.2 MB, free: 15.07 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005302/0.6415, allocations: 0.8138 MB / 494 MB, free: 14.23 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.6416, allocations: 27.42 kB / 494.1 MB, free: 14.2 MB / 426.7 MB Notification: Performance of SimCode: time 1.515e-06/0.6417, allocations: 0 / 494.1 MB, free: 14.2 MB / 426.7 MB Notification: Performance of Templates: time 0.01705/0.6587, allocations: 10.02 MB / 0.4923 GB, free: 4.172 MB / 426.7 MB