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.151/2.151, allocations: 234.9 MB / 250.5 MB, free: 9.535 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004435/0.0004437, allocations: 12 kB / 314.4 MB, free: 9.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.3341, allocations: 54.86 MB / 369.3 MB, free: 12.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1332/0.4674, allocations: 87.88 MB / 457.2 MB, free: 4.738 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002937/0.4677, allocations: 99.92 kB / 457.3 MB, free: 4.641 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.04605/0.5138, allocations: 10.22 MB / 467.5 MB, free: 10.24 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.448e-06/0.5138, allocations: 0 / 467.5 MB, free: 10.24 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.88e-05/0.5138, allocations: 8 kB / 467.5 MB, free: 10.23 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.00119/0.515, allocations: 0.6859 MB / 468.2 MB, free: 9.5 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.5151, allocations: 8.031 kB / 468.2 MB, free: 9.492 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001254/0.5152, allocations: 51.34 kB / 468.2 MB, free: 9.441 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000538/0.5158, allocations: 318.3 kB / 468.6 MB, free: 9.09 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.448e-05/0.5158, allocations: 33 kB / 468.6 MB, free: 9.059 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.516, allocations: 51.95 kB / 468.6 MB, free: 9.008 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001428/0.5174, allocations: 0.6757 MB / 469.3 MB, free: 8.324 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.5174, allocations: 0 / 469.3 MB, free: 8.324 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.854e-05/0.5175, allocations: 23.98 kB / 469.3 MB, free: 8.301 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.974e-05/0.5176, allocations: 45.3 kB / 469.4 MB, free: 8.254 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001568/0.5192, allocations: 0.7351 MB / 470.1 MB, free: 7.52 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003286/0.5225, allocations: 1.739 MB / 471.9 MB, free: 5.652 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008805/0.5234, allocations: 363.3 kB / 472.2 MB, free: 5.289 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.078e-05/0.5235, allocations: 20.16 kB / 472.2 MB, free: 5.27 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.791e-05/0.5235, allocations: 38.8 kB / 472.3 MB, free: 5.223 MB / 394.7 MB Notification: Performance of pre-optimization done (n=27): time 3.324e-06/0.5235, allocations: 0 / 472.3 MB, free: 5.223 MB / 394.7 MB Notification: Performance of matching and sorting (n=27): time 0.001426/0.525, allocations: 0.4921 MB / 472.8 MB, free: 4.727 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.293e-05/0.5251, allocations: 63.39 kB / 472.8 MB, free: 4.652 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006548/0.5257, allocations: 408.6 kB / 473.2 MB, free: 4.242 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.705e-05/0.5258, allocations: 33.7 kB / 473.3 MB, free: 4.203 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002352/0.526, allocations: 306 kB / 473.6 MB, free: 3.902 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/0.5262, allocations: 98.64 kB / 473.7 MB, free: 3.805 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.714e-05/0.5262, allocations: 4 kB / 473.7 MB, free: 3.801 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.5264, allocations: 326.8 kB / 474 MB, free: 3.473 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004048/0.5268, allocations: 147.7 kB / 474.1 MB, free: 3.328 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004971/0.5273, allocations: 261.5 kB / 474.4 MB, free: 3.023 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004726/0.5278, allocations: 175.9 kB / 474.5 MB, free: 2.852 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.192e-06/0.5278, allocations: 0 / 474.5 MB, free: 2.852 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001227/0.5291, allocations: 465.8 kB / 475 MB, free: 2.391 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.5291, allocations: 8.422 kB / 475 MB, free: 2.383 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.5291, allocations: 8 kB / 475 MB, free: 2.375 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/0.5292, allocations: 8 kB / 475 MB, free: 2.367 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008446/0.53, allocations: 159.8 kB / 475.2 MB, free: 2.211 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002908/0.5329, allocations: 3.607 MB / 478.8 MB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004545/0.5334, allocations: 67.33 kB / 478.9 MB, free: 14.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.464e-05/0.5335, allocations: 16 kB / 478.9 MB, free: 14.38 MB / 410.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 () * Number of clocked 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.0003947/0.5339, allocations: 221.6 kB / 479.1 MB, free: 14.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.534, allocations: 43.67 kB / 479.1 MB, free: 14.11 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001599/0.5356, allocations: 0.5557 MB / 479.7 MB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.488e-06/0.5357, allocations: 4 kB / 479.7 MB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.008e-06/0.5357, allocations: 0 / 479.7 MB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.5357, allocations: 0 / 479.7 MB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008478/0.5366, allocations: 453.1 kB / 480.1 MB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.895e-06/0.5366, allocations: 0 / 480.1 MB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007704/0.5374, allocations: 139.8 kB / 480.3 MB, free: 12.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.375e-06/0.5374, allocations: 0 / 480.3 MB, free: 12.92 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.583e-05/0.5374, allocations: 23.88 kB / 480.3 MB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002842/0.5403, allocations: 3.602 MB / 483.9 MB, free: 9.152 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.331e-06/0.5403, allocations: 288 / 483.9 MB, free: 9.152 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001562/0.5419, allocations: 0.6758 MB / 484.6 MB, free: 8.457 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003054/0.5422, allocations: 180.4 kB / 484.7 MB, free: 8.262 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.573e-05/0.5423, allocations: 11.94 kB / 484.8 MB, free: 8.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002966/0.5426, allocations: 12 kB / 484.8 MB, free: 8.238 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.131e-05/0.5427, allocations: 27.89 kB / 484.8 MB, free: 8.211 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.166e-05/0.5428, allocations: 16 kB / 484.8 MB, free: 8.195 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005661/0.5434, allocations: 339.1 kB / 485.1 MB, free: 7.867 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.4e-07/0.5434, allocations: 0 / 485.1 MB, free: 7.867 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008251/0.5442, allocations: 179.6 kB / 485.3 MB, free: 7.691 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 () * Number of clocked 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.000456/0.5447, allocations: 219.7 kB / 485.5 MB, free: 7.469 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001459/0.5462, allocations: 432.5 kB / 486 MB, free: 7.047 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.027e-06/0.5462, allocations: 8.062 kB / 486 MB, free: 7.039 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008883/0.5471, allocations: 235.6 kB / 486.2 MB, free: 6.809 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.5474, allocations: 33.48 kB / 486.2 MB, free: 6.773 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002214/0.5497, allocations: 1.141 MB / 487.4 MB, free: 5.602 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007009/0.5504, allocations: 0.9092 MB / 488.3 MB, free: 4.668 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002016/0.5506, allocations: 51.41 kB / 488.3 MB, free: 4.617 MB / 410.7 MB Notification: Performance of SimCode: time 4.208e-06/0.5506, allocations: 0 / 488.3 MB, free: 4.617 MB / 410.7 MB Notification: Performance of Templates: time 0.02647/0.5771, allocations: 17.22 MB / 0.4937 GB, free: 3.375 MB / 426.7 MB