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.242/2.242, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001063/0.001064, allocations: 15.98 kB / 314.3 MB, free: 9.566 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3257, allocations: 54.87 MB / 369.2 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.005371/0.3311, allocations: 1.45 MB / 370.7 MB, free: 9.25 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005456/0.3366, allocations: 1.218 MB / 371.9 MB, free: 8.023 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.913e-05/0.3367, allocations: 0 / 371.9 MB, free: 8.023 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002761/0.337, allocations: 47.78 kB / 371.9 MB, free: 7.977 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002582/0.3373, allocations: 79.69 kB / 372 MB, free: 7.898 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005413/0.3378, allocations: 183.6 kB / 372.2 MB, free: 7.719 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003989/0.3383, allocations: 283.3 kB / 372.5 MB, free: 7.441 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.3384, allocations: 48.67 kB / 372.5 MB, free: 7.395 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002439/0.3386, allocations: 135.3 kB / 372.6 MB, free: 7.262 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002545/0.3389, allocations: 151.3 kB / 372.8 MB, free: 7.113 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.752e-05/0.339, allocations: 12 kB / 372.8 MB, free: 7.102 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008879/0.3399, allocations: 455.3 kB / 373.2 MB, free: 6.656 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001812/0.3401, allocations: 119.6 kB / 373.4 MB, free: 6.539 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001155/0.3402, allocations: 97.45 kB / 373.5 MB, free: 6.438 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008926/0.3411, allocations: 391.8 kB / 373.8 MB, free: 6.055 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.019e-06/0.3411, allocations: 0 / 373.8 MB, free: 6.055 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.009e-06/0.3411, allocations: 4 kB / 373.8 MB, free: 6.051 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.524e-06/0.3412, allocations: 0 / 373.8 MB, free: 6.051 MB / 298.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.001881/0.3431, allocations: 0.711 MB / 374.6 MB, free: 5.293 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.3431, allocations: 12.03 kB / 374.6 MB, free: 5.281 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001996/0.3434, allocations: 51.34 kB / 374.6 MB, free: 5.23 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005342/0.3439, allocations: 318.1 kB / 374.9 MB, free: 4.879 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.2e-05/0.344, allocations: 37 kB / 375 MB, free: 4.844 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.298e-05/0.3441, allocations: 43.98 kB / 375 MB, free: 4.801 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001332/0.3454, allocations: 0.6914 MB / 375.7 MB, free: 4.102 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.3455, allocations: 7.953 kB / 375.7 MB, free: 4.094 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.623e-05/0.3455, allocations: 19.98 kB / 375.7 MB, free: 4.074 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.029e-05/0.3456, allocations: 57.28 kB / 375.8 MB, free: 4.02 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001482/0.3471, allocations: 0.735 MB / 376.5 MB, free: 3.285 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003196/0.3503, allocations: 1.727 MB / 378.2 MB, free: 1.43 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008389/0.3512, allocations: 351.4 kB / 378.6 MB, free: 1.078 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.347e-05/0.3513, allocations: 12.22 kB / 378.6 MB, free: 1.066 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.3513, allocations: 42.73 kB / 378.6 MB, free: 1.016 MB / 298.7 MB Notification: Performance of pre-optimization done (n=27): time 3.161e-06/0.3513, allocations: 0 / 378.6 MB, free: 1.016 MB / 298.7 MB Notification: Performance of matching and sorting (n=27): time 0.001355/0.3527, allocations: 0.5031 MB / 379.1 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.666e-05/0.3528, allocations: 59.34 kB / 379.2 MB, free: 448 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006789/0.3535, allocations: 449.6 kB / 379.6 MB, free: 15.98 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.146e-05/0.3535, allocations: 33.69 kB / 379.7 MB, free: 15.95 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002368/0.3538, allocations: 302 kB / 380 MB, free: 15.65 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.3539, allocations: 94.56 kB / 380.1 MB, free: 15.56 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/0.3539, allocations: 12 kB / 380.1 MB, free: 15.55 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.3541, allocations: 322.8 kB / 380.4 MB, free: 15.22 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003888/0.3545, allocations: 151.6 kB / 380.5 MB, free: 15.07 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004787/0.355, allocations: 257.5 kB / 380.8 MB, free: 14.77 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004491/0.3555, allocations: 183.8 kB / 381 MB, free: 14.59 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.233e-06/0.3555, allocations: 0 / 381 MB, free: 14.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001149/0.3567, allocations: 462.3 kB / 381.4 MB, free: 14.14 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.3567, allocations: 11.94 kB / 381.4 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.3567, allocations: 4 kB / 381.4 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.689e-05/0.3568, allocations: 11.95 kB / 381.4 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008427/0.3576, allocations: 159.8 kB / 381.6 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002807/0.3605, allocations: 3.614 MB / 385.2 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000391/0.3609, allocations: 51.44 kB / 385.3 MB, free: 10.15 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.738e-05/0.3609, allocations: 27.98 kB / 385.3 MB, free: 10.12 MB / 314.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.0003566/0.3613, allocations: 217.8 kB / 385.5 MB, free: 9.898 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.3614, allocations: 35.53 kB / 385.5 MB, free: 9.863 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001549/0.363, allocations: 0.5588 MB / 386.1 MB, free: 9.301 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/0.363, allocations: 7.953 kB / 386.1 MB, free: 9.293 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/0.363, allocations: 3.984 kB / 386.1 MB, free: 9.289 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.3631, allocations: 0 / 386.1 MB, free: 9.289 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008161/0.3639, allocations: 449.1 kB / 386.6 MB, free: 8.801 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.759e-06/0.3639, allocations: 0 / 386.6 MB, free: 8.801 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007862/0.3647, allocations: 135.9 kB / 386.7 MB, free: 8.668 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.951e-06/0.3647, allocations: 3.938 kB / 386.7 MB, free: 8.664 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.78e-05/0.3648, allocations: 16 kB / 386.7 MB, free: 8.648 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002784/0.3676, allocations: 3.61 MB / 390.3 MB, free: 4.895 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.464e-06/0.3676, allocations: 0 / 390.3 MB, free: 4.895 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001507/0.3691, allocations: 0.6758 MB / 391 MB, free: 4.199 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002891/0.3694, allocations: 172.5 kB / 391.2 MB, free: 4.012 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.047e-05/0.3695, allocations: 8 kB / 391.2 MB, free: 4.004 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002785/0.3698, allocations: 15.97 kB / 391.2 MB, free: 3.988 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.931e-05/0.3699, allocations: 35.86 kB / 391.2 MB, free: 3.953 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.32e-05/0.37, allocations: 15.98 kB / 391.2 MB, free: 3.938 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005258/0.3705, allocations: 339.1 kB / 391.6 MB, free: 3.609 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.85e-07/0.3705, allocations: 4.062 kB / 391.6 MB, free: 3.605 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007362/0.3713, allocations: 171.6 kB / 391.7 MB, free: 3.438 MB / 314.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.0003749/0.3717, allocations: 171.9 kB / 391.9 MB, free: 3.262 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001499/0.3732, allocations: 456.3 kB / 392.3 MB, free: 2.816 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3732, allocations: 0 / 392.3 MB, free: 2.816 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009277/0.3742, allocations: 255.7 kB / 392.6 MB, free: 2.566 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.3745, allocations: 33.56 kB / 392.6 MB, free: 2.535 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002132/0.3767, allocations: 1.143 MB / 393.8 MB, free: 1.359 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007239/0.3774, allocations: 0.9093 MB / 394.7 MB, free: 432 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001845/0.3776, allocations: 51.41 kB / 394.7 MB, free: 380 kB / 314.7 MB Notification: Performance of SimCode: time 2.318e-06/0.3776, allocations: 0 / 394.7 MB, free: 380 kB / 314.7 MB Notification: Performance of Templates: time 0.02591/0.4036, allocations: 17 MB / 411.7 MB, free: 15.34 MB / 346.7 MB