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.Orifice.dp_thickEdgedOverall_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.Orifice.dp_thickEdgedOverall_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|L|A_1.1.|A_1.2.|A_1.3.|A_1.4.|A_1.5.|A_1.6.|C_1.1.|C_1.2.|C_1.3.|C_1.4.|C_1.5.|C_1.6.|A0_2_A1.1.|A0_2_A1.2.|A0_2_A1.3.|A0_2_A1.4.|A0_2_A1.5.|A0_2_A1.6.|L|l_bar|eta|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_mdot.5.|input_mdot.6.|input_dp.1.|input_dp.2.|input_dp.3.|input_dp.4.|input_dp.5.|input_dp.6.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|M_FLOW.4.|M_FLOW.5.|M_FLOW.6.|DP.1.|DP.2.|DP.3.|DP.4.|DP.5.|DP.6.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|DP_plot.5.|DP_plot.6.|A_cross.1.|A_cross.2.|A_cross.3.|A_cross.4.|A_cross.5.|A_cross.6.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|velocity.5.|velocity.6.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|zeta_TOT.5.|zeta_TOT.6.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 2.248/2.248, allocations: 235 MB / 248.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.59e-05/2.61e-05, allocations: 0 / 309.7 MB, free: 1.297 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3173, allocations: 54.86 MB / 364.6 MB, free: 5.535 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1289/0.4463, allocations: 87.8 MB / 452.4 MB, free: 8.656 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000312/0.4467, allocations: 95.94 kB / 452.5 MB, free: 8.562 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:5845:11-5846:124:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[6], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:5858:11-5861:59:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[6], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:5836:11-5843:48:writable] Error: Type mismatch in binding L = L, expected subtype of Real[6], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:5849:11-5856:46:writable] Error: Type mismatch in binding L = L, expected subtype of Real[6], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.04717/0.4938, allocations: 10.22 MB / 462.7 MB, free: 14.2 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.958e-06/0.4939, allocations: 0 / 462.7 MB, free: 14.2 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.03e-05/0.4939, allocations: 11.94 kB / 462.7 MB, free: 14.19 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.001075/0.495, allocations: 0.6541 MB / 463.3 MB, free: 13.49 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.4951, allocations: 8.031 kB / 463.4 MB, free: 13.48 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001301/0.4952, allocations: 51.34 kB / 463.4 MB, free: 13.43 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005471/0.4958, allocations: 322.2 kB / 463.7 MB, free: 13.08 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.459e-05/0.4958, allocations: 32.98 kB / 463.7 MB, free: 13.05 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/0.496, allocations: 55.94 kB / 463.8 MB, free: 12.99 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001259/0.4972, allocations: 0.6407 MB / 464.4 MB, free: 12.34 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.4973, allocations: 4 kB / 464.4 MB, free: 12.34 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.166e-05/0.4973, allocations: 19.98 kB / 464.5 MB, free: 12.32 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-05/0.4974, allocations: 53.28 kB / 464.5 MB, free: 12.27 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001315/0.4988, allocations: 0.6883 MB / 465.2 MB, free: 11.58 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003318/0.5021, allocations: 1.731 MB / 466.9 MB, free: 9.715 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007878/0.5029, allocations: 352.6 kB / 467.3 MB, free: 9.363 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002965/0.5032, allocations: 129.2 kB / 467.4 MB, free: 9.234 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.05e-05/0.5033, allocations: 12.22 kB / 467.4 MB, free: 9.223 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.5033, allocations: 34.8 kB / 467.5 MB, free: 9.18 MB / 394.7 MB Notification: Performance of pre-optimization done (n=27): time 3.401e-06/0.5034, allocations: 0 / 467.5 MB, free: 9.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=27): time 0.0008707/0.5042, allocations: 339.6 kB / 467.8 MB, free: 8.844 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.965e-05/0.5043, allocations: 59.41 kB / 467.8 MB, free: 8.773 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006196/0.5049, allocations: 403.5 kB / 468.2 MB, free: 8.371 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.928e-05/0.505, allocations: 29.7 kB / 468.3 MB, free: 8.336 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002377/0.5052, allocations: 310 kB / 468.6 MB, free: 8.031 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/0.5054, allocations: 102.5 kB / 468.7 MB, free: 7.93 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.727e-05/0.5054, allocations: 4 kB / 468.7 MB, free: 7.926 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.5056, allocations: 330.8 kB / 469 MB, free: 7.594 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003154/0.5059, allocations: 123.7 kB / 469.1 MB, free: 7.473 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003973/0.5063, allocations: 233.6 kB / 469.3 MB, free: 7.195 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003831/0.5067, allocations: 171.8 kB / 469.5 MB, free: 7.027 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.557e-06/0.5068, allocations: 0 / 469.5 MB, free: 7.027 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00101/0.5078, allocations: 421.4 kB / 469.9 MB, free: 6.609 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.5078, allocations: 8 kB / 469.9 MB, free: 6.602 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.5078, allocations: 4 kB / 469.9 MB, free: 6.598 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.5079, allocations: 4 kB / 469.9 MB, free: 6.594 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009944/0.5089, allocations: 163.8 kB / 470.1 MB, free: 6.434 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002799/0.5117, allocations: 3.61 MB / 473.7 MB, free: 2.684 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004538/0.5122, allocations: 59.36 kB / 473.8 MB, free: 2.625 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.35e-05/0.5123, allocations: 27.98 kB / 473.8 MB, free: 2.598 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001518/0.5124, allocations: 121 kB / 473.9 MB, free: 2.473 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.5126, allocations: 47.47 kB / 474 MB, free: 2.426 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001469/0.514, allocations: 0.5128 MB / 474.5 MB, free: 1.902 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.529e-06/0.5141, allocations: 4 kB / 474.5 MB, free: 1.898 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.385e-06/0.5141, allocations: 4 kB / 474.5 MB, free: 1.895 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.428e-06/0.5141, allocations: 3.984 kB / 474.5 MB, free: 1.891 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008442/0.515, allocations: 453.1 kB / 474.9 MB, free: 1.398 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.515, allocations: 7.938 kB / 474.9 MB, free: 1.391 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000889/0.5159, allocations: 131.9 kB / 475.1 MB, free: 1.262 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.345e-05/0.5159, allocations: 7.953 kB / 475.1 MB, free: 1.254 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.826e-05/0.516, allocations: 11.98 kB / 475.1 MB, free: 1.242 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002772/0.5188, allocations: 3.606 MB / 478.7 MB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.141e-06/0.5188, allocations: 4.031 kB / 478.7 MB, free: 13.49 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001265/0.5201, allocations: 0.6087 MB / 479.3 MB, free: 12.87 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003015/0.5204, allocations: 176.4 kB / 479.5 MB, free: 12.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.369e-05/0.5205, allocations: 12.2 kB / 479.5 MB, free: 12.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002987/0.5208, allocations: 19.98 kB / 479.5 MB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.5209, allocations: 27.91 kB / 479.5 MB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.772e-05/0.521, allocations: 19.98 kB / 479.6 MB, free: 12.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005246/0.5215, allocations: 333.1 kB / 479.9 MB, free: 12.27 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.67e-07/0.5215, allocations: 0 / 479.9 MB, free: 12.27 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008105/0.5224, allocations: 183.5 kB / 480.1 MB, free: 12.09 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (L) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004504/0.5228, allocations: 207.7 kB / 480.3 MB, free: 11.88 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001361/0.5242, allocations: 400.5 kB / 480.7 MB, free: 11.49 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.5242, allocations: 3.938 kB / 480.7 MB, free: 11.49 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008697/0.5251, allocations: 223.7 kB / 480.9 MB, free: 11.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.5255, allocations: 37.38 kB / 480.9 MB, free: 11.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/0.5271, allocations: 0.7323 MB / 481.6 MB, free: 10.47 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006698/0.5278, allocations: 0.9131 MB / 482.6 MB, free: 9.535 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001989/0.528, allocations: 43.42 kB / 482.6 MB, free: 9.492 MB / 410.7 MB Notification: Performance of SimCode: time 1.74e-06/0.528, allocations: 0 / 482.6 MB, free: 9.492 MB / 410.7 MB Notification: Performance of Templates: time 0.02631/0.5544, allocations: 17.2 MB / 499.8 MB, free: 8.273 MB / 426.7 MB