Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|frac_A1toA2|frac_A1toA2|A_1|A_2|C_1|C_2|eta|rho|input_mdot|input_dp|M_FLOW|DP|d_hyd|velocity|Re|DP_plot|zeta_TOT|input_DP.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 1.884/1.884, allocations: 209.2 MB / 225.4 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004272/0.0004273, allocations: 20 kB / 283.1 MB, free: 9.664 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3617/0.3621, allocations: 48.68 MB / 331.8 MB, free: 6.508 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1481/0.5103, allocations: 81.48 MB / 413.3 MB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003923/0.5108, allocations: 99.94 kB / 413.4 MB, free: 12.87 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03995/0.5507, allocations: 7.646 MB / 421 MB, free: 5.191 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.5508, allocations: 0 / 421 MB, free: 5.191 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.739e-06/0.5508, allocations: 0 / 421 MB, free: 5.191 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.000837/0.5516, allocations: 446.9 kB / 421.5 MB, free: 4.707 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.5517, allocations: 8.031 kB / 421.5 MB, free: 4.699 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.507e-05/0.5518, allocations: 19.81 kB / 421.5 MB, free: 4.68 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.552, allocations: 174.9 kB / 421.7 MB, free: 4.469 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.552, allocations: 8 kB / 421.7 MB, free: 4.461 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.86e-05/0.552, allocations: 12 kB / 421.7 MB, free: 4.449 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004963/0.5525, allocations: 154.1 kB / 421.8 MB, free: 4.293 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.5526, allocations: 0 / 421.8 MB, free: 4.293 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.357e-05/0.5526, allocations: 8 kB / 421.9 MB, free: 4.285 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.5526, allocations: 0 / 421.9 MB, free: 4.285 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005429/0.5532, allocations: 143.9 kB / 422 MB, free: 4.145 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00133/0.5545, allocations: 0.5338 MB / 422.5 MB, free: 3.543 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004112/0.555, allocations: 102.6 kB / 422.6 MB, free: 3.434 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.603e-05/0.555, allocations: 0 / 422.6 MB, free: 3.434 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.617e-05/0.5551, allocations: 42.55 kB / 422.7 MB, free: 3.383 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 2.405e-06/0.5551, allocations: 0 / 422.7 MB, free: 3.383 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008443/0.5559, allocations: 181.7 kB / 422.8 MB, free: 3.199 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.195e-05/0.556, allocations: 51.41 kB / 422.9 MB, free: 3.137 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.5561, allocations: 110 kB / 423 MB, free: 3.016 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.575e-05/0.5562, allocations: 29.7 kB / 423 MB, free: 2.98 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.5563, allocations: 186.1 kB / 423.2 MB, free: 2.797 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.027e-05/0.5564, allocations: 39.45 kB / 423.3 MB, free: 2.758 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.301e-05/0.5564, allocations: 4 kB / 423.3 MB, free: 2.754 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.5565, allocations: 315.8 kB / 423.6 MB, free: 2.438 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000218/0.5568, allocations: 47.91 kB / 423.6 MB, free: 2.391 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002536/0.557, allocations: 81.5 kB / 423.7 MB, free: 2.293 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002436/0.5573, allocations: 59.95 kB / 423.7 MB, free: 2.234 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.5573, allocations: 4 kB / 423.8 MB, free: 2.23 MB / 346.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006187/0.5579, allocations: 169.4 kB / 423.9 MB, free: 2.059 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.558, allocations: 7.938 kB / 423.9 MB, free: 2.051 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.558, allocations: 8.156 kB / 423.9 MB, free: 2.043 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.558, allocations: 0 / 423.9 MB, free: 2.043 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004066/0.5584, allocations: 43.97 kB / 424 MB, free: 2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004799/0.5589, allocations: 0.5899 MB / 424.6 MB, free: 1.387 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001914/0.5591, allocations: 15.94 kB / 424.6 MB, free: 1.371 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.877e-05/0.5592, allocations: 16.08 kB / 424.6 MB, free: 1.355 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001804/0.5594, allocations: 121.7 kB / 424.7 MB, free: 1.227 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.302e-05/0.5594, allocations: 7.906 kB / 424.7 MB, free: 1.219 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007365/0.5602, allocations: 189.8 kB / 424.9 MB, free: 1.027 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.5602, allocations: 0 / 424.9 MB, free: 1.027 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.5602, allocations: 0 / 424.9 MB, free: 1.027 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.5602, allocations: 0 / 424.9 MB, free: 1.027 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004003/0.5606, allocations: 225.5 kB / 425.1 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.5607, allocations: 4 kB / 425.1 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003753/0.561, allocations: 43.97 kB / 425.2 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.318e-06/0.5611, allocations: 0 / 425.2 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.313e-05/0.5611, allocations: 7.922 kB / 425.2 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004139/0.5615, allocations: 0.586 MB / 425.8 MB, free: 96 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.5615, allocations: 3.953 kB / 425.8 MB, free: 92 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008634/0.5624, allocations: 307.5 kB / 426.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.992e-05/0.5625, allocations: 96.94 kB / 426.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.983e-05/0.5626, allocations: 3.984 kB / 426.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002035/0.5628, allocations: 12 kB / 426.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.697e-05/0.5629, allocations: 11.98 kB / 426.2 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.458e-05/0.563, allocations: 15.88 kB / 426.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001071/0.5631, allocations: 87.28 kB / 426.3 MB, free: 15.53 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.91e-07/0.5631, allocations: 0 / 426.3 MB, free: 15.53 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006011/0.5637, allocations: 87.77 kB / 426.4 MB, free: 15.45 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (frac_A1toA2) * 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005096/0.5642, allocations: 207.3 kB / 426.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007116/0.565, allocations: 135.9 kB / 426.7 MB, free: 15.1 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.565, allocations: 0 / 426.7 MB, free: 15.1 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003628/0.5654, allocations: 84.2 kB / 426.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.5656, allocations: 3.984 kB / 426.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.5667, allocations: 401.7 kB / 427.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.5671, allocations: 0.7043 MB / 427.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.377e-05/0.5672, allocations: 19.42 kB / 427.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of SimCode: time 1.102e-06/0.5672, allocations: 0 / 427.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of Templates: time 0.007519/0.5747, allocations: 2.71 MB / 430.6 MB, free: 11.12 MB / 362.7 MB