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_suddenChange_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_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.934/1.934, allocations: 209.3 MB / 222.4 MB, free: 7.723 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.749e-05/2.761e-05, allocations: 4 kB / 277.9 MB, free: 15.28 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08453/0.08459, allocations: 48.69 MB / 326.6 MB, free: 14.5 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3425/0.4272, allocations: 81.39 MB / 407.9 MB, free: 8.344 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002887/0.4275, allocations: 96.03 kB / 408 MB, free: 8.328 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03189/0.4594, allocations: 7.631 MB / 415.7 MB, free: 3.52 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.4595, allocations: 0 / 415.7 MB, free: 3.52 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.415e-05/0.4595, allocations: 0 / 415.7 MB, free: 3.52 MB / 314.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.0004672/0.46, allocations: 437.2 kB / 416.1 MB, free: 3.055 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.46, allocations: 8.031 kB / 416.1 MB, free: 3.047 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.319e-05/0.4601, allocations: 11.91 kB / 416.1 MB, free: 3.035 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.287e-05/0.4602, allocations: 182.8 kB / 416.3 MB, free: 2.816 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.4602, allocations: 11.86 kB / 416.3 MB, free: 2.809 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.454e-05/0.4603, allocations: 11.69 kB / 416.3 MB, free: 2.801 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002382/0.4605, allocations: 137 kB / 416.4 MB, free: 2.695 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.649e-06/0.4605, allocations: 0 / 416.4 MB, free: 2.695 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.4606, allocations: 3.875 kB / 416.5 MB, free: 2.695 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.869e-06/0.4606, allocations: 4 kB / 416.5 MB, free: 2.691 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002037/0.4608, allocations: 110.5 kB / 416.6 MB, free: 2.617 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009132/0.4617, allocations: 0.5296 MB / 417.1 MB, free: 2.078 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002009/0.4619, allocations: 84.3 kB / 417.2 MB, free: 2.008 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.797e-05/0.462, allocations: 35.61 kB / 417.2 MB, free: 1.98 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.099e-05/0.4621, allocations: 4 kB / 417.2 MB, free: 1.977 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.716e-05/0.4621, allocations: 42.44 kB / 417.3 MB, free: 1.93 MB / 314.7 MB Notification: Performance of pre-optimization done (n=11): time 2.327e-06/0.4621, allocations: 0 / 417.3 MB, free: 1.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002703/0.4624, allocations: 96.2 kB / 417.4 MB, free: 1.844 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.159e-05/0.4624, allocations: 51.41 kB / 417.4 MB, free: 1.781 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.295e-05/0.4625, allocations: 111.5 kB / 417.5 MB, free: 1.668 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.4625, allocations: 25.7 kB / 417.5 MB, free: 1.637 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.042e-05/0.4626, allocations: 186.1 kB / 417.7 MB, free: 1.457 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.235e-05/0.4626, allocations: 37.45 kB / 417.8 MB, free: 1.426 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.042e-05/0.4627, allocations: 7.438 kB / 417.8 MB, free: 1.422 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.022e-05/0.4627, allocations: 318.8 kB / 418.1 MB, free: 1.105 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.496e-05/0.4628, allocations: 22.75 kB / 418.1 MB, free: 1.09 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.87e-05/0.4629, allocations: 67.83 kB / 418.2 MB, free: 1.016 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.628e-05/0.463, allocations: 39.66 kB / 418.2 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.463, allocations: 0 / 418.2 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002616/0.4633, allocations: 137.1 kB / 418.3 MB, free: 0.8633 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.4633, allocations: 4 kB / 418.3 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.051e-06/0.4633, allocations: 4 kB / 418.3 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.4634, allocations: 0 / 418.3 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002908/0.4637, allocations: 55.17 kB / 418.4 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002663/0.4639, allocations: 0.5849 MB / 419 MB, free: 204 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000146/0.4641, allocations: 22.86 kB / 419 MB, free: 184 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.4641, allocations: 8 kB / 419 MB, free: 176 kB / 314.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 () * 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 6.778e-05/0.4642, allocations: 115 kB / 419.1 MB, free: 60 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.521e-05/0.4643, allocations: 12 kB / 419.1 MB, free: 48 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004009/0.4647, allocations: 150.5 kB / 419.3 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.869e-06/0.4647, allocations: 7.984 kB / 419.3 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.4647, allocations: 0 / 419.3 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.594e-06/0.4648, allocations: 4 kB / 419.3 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000355/0.4651, allocations: 217.6 kB / 419.5 MB, free: 15.67 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.11e-06/0.4651, allocations: 0 / 419.5 MB, free: 15.67 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003162/0.4655, allocations: 47.91 kB / 419.6 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.909e-06/0.4655, allocations: 4 kB / 419.6 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.4655, allocations: 3.688 kB / 419.6 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004514/0.466, allocations: 0.5855 MB / 420.1 MB, free: 15.01 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.629e-06/0.466, allocations: 11.92 kB / 420.2 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004043/0.4664, allocations: 250.2 kB / 420.4 MB, free: 14.78 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.4665, allocations: 92.97 kB / 420.5 MB, free: 14.67 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.635e-05/0.4666, allocations: 3.25 kB / 420.5 MB, free: 14.67 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001717/0.4668, allocations: 15.36 kB / 420.5 MB, free: 14.66 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.865e-05/0.4668, allocations: 8.141 kB / 420.5 MB, free: 14.65 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.4669, allocations: 11.95 kB / 420.5 MB, free: 14.64 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.446e-05/0.4669, allocations: 90.7 kB / 420.6 MB, free: 14.55 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.092e-06/0.467, allocations: 0 / 420.6 MB, free: 14.55 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005743/0.4675, allocations: 86.81 kB / 420.7 MB, free: 14.47 MB / 330.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 () * 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.0004489/0.468, allocations: 213 kB / 420.9 MB, free: 14.26 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000379/0.4684, allocations: 93.86 kB / 421 MB, free: 14.19 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.4684, allocations: 0 / 421 MB, free: 14.19 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001961/0.4686, allocations: 61.16 kB / 421.1 MB, free: 14.14 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002329/0.4689, allocations: 7.25 kB / 421.1 MB, free: 14.14 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006381/0.4695, allocations: 204.6 kB / 421.3 MB, free: 13.91 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004023/0.47, allocations: 0.7046 MB / 422 MB, free: 13.18 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.272e-05/0.47, allocations: 21.86 kB / 422 MB, free: 13.17 MB / 330.7 MB Notification: Performance of SimCode: time 1.632e-06/0.4701, allocations: 0 / 422 MB, free: 13.17 MB / 330.7 MB Notification: Performance of Templates: time 0.006204/0.4763, allocations: 2.695 MB / 424.7 MB, free: 10.48 MB / 330.7 MB