Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 1.888/1.888, allocations: 209.3 MB / 224.8 MB, free: 216 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004371/0.0004373, allocations: 16 kB / 282.5 MB, free: 9.605 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.2809, allocations: 48.7 MB / 331.2 MB, free: 6.488 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.002006/0.283, allocations: 1.453 MB / 332.7 MB, free: 5.734 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001956/0.285, allocations: 1.201 MB / 333.9 MB, free: 4.91 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.785e-05/0.2851, allocations: 4 kB / 333.9 MB, free: 4.906 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002534/0.2853, allocations: 51.83 kB / 333.9 MB, free: 4.879 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002326/0.2856, allocations: 69.28 kB / 334 MB, free: 4.84 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005633/0.2862, allocations: 193.8 kB / 334.2 MB, free: 4.758 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003246/0.2865, allocations: 282.2 kB / 334.5 MB, free: 4.617 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.4e-05/0.2866, allocations: 47.44 kB / 334.5 MB, free: 4.602 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002145/0.2868, allocations: 133.9 kB / 334.6 MB, free: 4.539 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002201/0.2871, allocations: 148.5 kB / 334.8 MB, free: 4.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.093e-05/0.2871, allocations: 9.562 kB / 334.8 MB, free: 4.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000858/0.288, allocations: 462.1 kB / 335.2 MB, free: 4.355 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001687/0.2882, allocations: 115.9 kB / 335.4 MB, free: 4.316 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.244e-05/0.2883, allocations: 99.45 kB / 335.5 MB, free: 4.246 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006684/0.289, allocations: 400.9 kB / 335.8 MB, free: 4.145 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.892e-06/0.289, allocations: 0 / 335.8 MB, free: 4.145 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.932e-06/0.289, allocations: 0 / 335.8 MB, free: 4.145 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.42e-06/0.289, allocations: 1.25 kB / 335.8 MB, free: 4.145 MB / 266.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.001062/0.2901, allocations: 0.7038 MB / 336.6 MB, free: 3.59 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.2902, allocations: 9.625 kB / 336.6 MB, free: 3.59 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001144/0.2903, allocations: 51.42 kB / 336.6 MB, free: 3.562 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004087/0.2907, allocations: 309.8 kB / 336.9 MB, free: 3.289 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.746e-05/0.2908, allocations: 30.69 kB / 336.9 MB, free: 3.277 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.886e-05/0.2909, allocations: 55.58 kB / 337 MB, free: 3.25 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001167/0.292, allocations: 0.6961 MB / 337.7 MB, free: 2.871 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.2921, allocations: 0 / 337.7 MB, free: 2.871 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.381e-05/0.2921, allocations: 15.84 kB / 337.7 MB, free: 2.859 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.192e-05/0.2922, allocations: 58.06 kB / 337.8 MB, free: 2.848 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001322/0.2936, allocations: 0.7359 MB / 338.5 MB, free: 2.512 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002751/0.2963, allocations: 1.733 MB / 340.2 MB, free: 1.152 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007758/0.2971, allocations: 353.4 kB / 340.6 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.658e-05/0.2972, allocations: 8.875 kB / 340.6 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.2972, allocations: 45.34 kB / 340.6 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 4.092e-06/0.2973, allocations: 4 kB / 340.6 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of matching and sorting (n=27): time 0.001269/0.2985, allocations: 0.4888 MB / 341.1 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.361e-05/0.2986, allocations: 58.75 kB / 341.2 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005781/0.2992, allocations: 452.6 kB / 341.6 MB, free: 396 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/0.2992, allocations: 31.05 kB / 341.7 MB, free: 360 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.2994, allocations: 305.6 kB / 342 MB, free: 68 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/0.2995, allocations: 95.17 kB / 342 MB, free: 15.98 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-05/0.2995, allocations: 13.41 kB / 342.1 MB, free: 15.97 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.2997, allocations: 326.9 kB / 342.4 MB, free: 15.64 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003899/0.3001, allocations: 149.3 kB / 342.5 MB, free: 15.58 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004898/0.3006, allocations: 263.5 kB / 342.8 MB, free: 15.38 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004613/0.3011, allocations: 188.5 kB / 343 MB, free: 15.29 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.187e-06/0.3011, allocations: 1.5 kB / 343 MB, free: 15.29 MB / 282.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00116/0.3023, allocations: 459.5 kB / 343.4 MB, free: 15.08 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.3023, allocations: 7.25 kB / 343.4 MB, free: 15.08 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.3024, allocations: 7.375 kB / 343.4 MB, free: 15.08 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.3024, allocations: 5.25 kB / 343.4 MB, free: 15.08 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008531/0.3033, allocations: 160.2 kB / 343.6 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002869/0.3061, allocations: 3.614 MB / 347.2 MB, free: 11.42 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004343/0.3066, allocations: 51.28 kB / 347.3 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.916e-05/0.3067, allocations: 24.64 kB / 347.3 MB, free: 11.38 MB / 282.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.0003969/0.3071, allocations: 222.9 kB / 347.5 MB, free: 11.2 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.3072, allocations: 40.34 kB / 347.5 MB, free: 11.18 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001573/0.3088, allocations: 0.559 MB / 348.1 MB, free: 10.88 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.291e-06/0.3088, allocations: 2.875 kB / 348.1 MB, free: 10.88 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.777e-06/0.3088, allocations: 1.531 kB / 348.1 MB, free: 10.88 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.101e-06/0.3089, allocations: 0 / 348.1 MB, free: 10.88 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008168/0.3097, allocations: 446.4 kB / 348.5 MB, free: 10.54 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.029e-06/0.3097, allocations: 5.875 kB / 348.5 MB, free: 10.53 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007934/0.3105, allocations: 139.5 kB / 348.7 MB, free: 10.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.34e-06/0.3105, allocations: 2.188 kB / 348.7 MB, free: 10.5 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.22e-05/0.3106, allocations: 13.8 kB / 348.7 MB, free: 10.49 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002786/0.3134, allocations: 3.602 MB / 352.3 MB, free: 6.875 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.305e-06/0.3134, allocations: 8.219 kB / 352.3 MB, free: 6.867 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001519/0.315, allocations: 0.6803 MB / 353 MB, free: 6.492 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003069/0.3153, allocations: 172.9 kB / 353.2 MB, free: 6.336 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.166e-05/0.3154, allocations: 5.531 kB / 353.2 MB, free: 6.332 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002877/0.3157, allocations: 16.67 kB / 353.2 MB, free: 6.324 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.089e-05/0.3158, allocations: 29.31 kB / 353.2 MB, free: 6.309 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-05/0.3158, allocations: 14.14 kB / 353.2 MB, free: 6.305 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005471/0.3164, allocations: 344.5 kB / 353.6 MB, free: 6.102 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.76e-07/0.3164, allocations: 0 / 353.6 MB, free: 6.102 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007724/0.3172, allocations: 167.2 kB / 353.7 MB, free: 6.059 MB / 282.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.000384/0.3176, allocations: 178.8 kB / 353.9 MB, free: 5.926 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001485/0.3191, allocations: 444.2 kB / 354.3 MB, free: 5.77 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.443e-06/0.3191, allocations: 0 / 354.3 MB, free: 5.77 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000961/0.3201, allocations: 263.5 kB / 354.6 MB, free: 5.68 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003613/0.3205, allocations: 34.33 kB / 354.6 MB, free: 5.652 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002166/0.3227, allocations: 1.159 MB / 355.8 MB, free: 4.863 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006843/0.3234, allocations: 0.9068 MB / 356.7 MB, free: 4.062 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001861/0.3236, allocations: 46.94 kB / 356.7 MB, free: 4.047 MB / 282.7 MB Notification: Performance of SimCode: time 1.933e-06/0.3236, allocations: 3.938 kB / 356.7 MB, free: 4.043 MB / 282.7 MB Notification: Performance of Templates: time 0.02602/0.3496, allocations: 17 MB / 373.7 MB, free: 3.191 MB / 298.7 MB