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_suddenChange_DPMFLOW.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 2.311/2.311, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.853e-05/1.858e-05, allocations: 4 kB / 303.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2762, allocations: 54.85 MB / 358.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1351/0.4114, allocations: 87.23 MB / 445.3 MB, free: 7.59 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003231/0.4118, allocations: 99.92 kB / 445.4 MB, free: 7.492 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03459/0.4464, allocations: 7.576 MB / 453 MB, free: 15.88 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.756e-06/0.4464, allocations: 0 / 453 MB, free: 15.88 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.4465, allocations: 0 / 453 MB, free: 15.88 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0006679/0.4471, allocations: 442 kB / 453.4 MB, free: 15.41 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.4472, allocations: 8.031 kB / 453.4 MB, free: 15.4 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.088e-05/0.4473, allocations: 15.86 kB / 453.4 MB, free: 15.38 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001721/0.4475, allocations: 167 kB / 453.6 MB, free: 15.18 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.4475, allocations: 4 kB / 453.6 MB, free: 15.18 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.025e-05/0.4475, allocations: 15.92 kB / 453.6 MB, free: 15.16 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002655/0.4478, allocations: 99.97 kB / 453.7 MB, free: 15.06 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002506/0.4481, allocations: 121.6 kB / 453.8 MB, free: 14.94 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.4481, allocations: 0 / 453.8 MB, free: 14.94 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.882e-05/0.4481, allocations: 3.984 kB / 453.8 MB, free: 14.93 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.4482, allocations: 7.953 kB / 453.8 MB, free: 14.93 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/0.4493, allocations: 495.3 kB / 454.3 MB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002323/0.4495, allocations: 86.61 kB / 454.4 MB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.707e-05/0.4496, allocations: 41 kB / 454.4 MB, free: 14.25 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.138e-05/0.4497, allocations: 3.938 kB / 454.4 MB, free: 14.24 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.4497, allocations: 34.56 kB / 454.5 MB, free: 14.2 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 2.761e-06/0.4498, allocations: 4 kB / 454.5 MB, free: 14.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003143/0.4501, allocations: 89.58 kB / 454.6 MB, free: 14.1 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.03e-05/0.4501, allocations: 55.41 kB / 454.6 MB, free: 14.04 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.4502, allocations: 101.2 kB / 454.7 MB, free: 13.93 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.4503, allocations: 25.7 kB / 454.7 MB, free: 13.89 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.4504, allocations: 186 kB / 454.9 MB, free: 13.71 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.428e-05/0.4505, allocations: 39.47 kB / 455 MB, free: 13.67 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.195e-06/0.4505, allocations: 0 / 455 MB, free: 13.67 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.4507, allocations: 323.7 kB / 455.3 MB, free: 13.35 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.745e-05/0.4508, allocations: 27.94 kB / 455.3 MB, free: 13.32 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.4509, allocations: 63.53 kB / 455.4 MB, free: 13.24 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.022e-05/0.451, allocations: 31.92 kB / 455.4 MB, free: 13.21 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.962e-06/0.451, allocations: 4 kB / 455.4 MB, free: 13.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003084/0.4513, allocations: 125.5 kB / 455.5 MB, free: 13.08 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.4514, allocations: 4 kB / 455.5 MB, free: 13.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.232e-06/0.4514, allocations: 4 kB / 455.5 MB, free: 13.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.4514, allocations: 0 / 455.5 MB, free: 13.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003176/0.4517, allocations: 47.97 kB / 455.6 MB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005039/0.4522, allocations: 0.5978 MB / 456.2 MB, free: 12.4 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001539/0.4524, allocations: 15.88 kB / 456.2 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.429e-05/0.4525, allocations: 12 kB / 456.2 MB, free: 12.38 MB / 394.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 0.0001141/0.4526, allocations: 105 kB / 456.3 MB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.788e-05/0.4526, allocations: 4 kB / 456.3 MB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004035/0.4531, allocations: 146.5 kB / 456.5 MB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.587e-06/0.4531, allocations: 0 / 456.5 MB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.362e-06/0.4531, allocations: 11.89 kB / 456.5 MB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.138e-06/0.4531, allocations: 3.984 kB / 456.5 MB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003337/0.4535, allocations: 178.2 kB / 456.7 MB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.654e-06/0.4535, allocations: 0 / 456.7 MB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002796/0.4538, allocations: 39.97 kB / 456.7 MB, free: 11.85 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.833e-06/0.4538, allocations: 4 kB / 456.7 MB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.4538, allocations: 0 / 456.7 MB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004873/0.4543, allocations: 0.5975 MB / 457.3 MB, free: 11.22 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.197e-06/0.4544, allocations: 4.078 kB / 457.3 MB, free: 11.22 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003943/0.4548, allocations: 239.5 kB / 457.5 MB, free: 10.97 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.4549, allocations: 101 kB / 457.6 MB, free: 10.85 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.572e-05/0.4549, allocations: 0 / 457.6 MB, free: 10.85 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001732/0.4551, allocations: 15.88 kB / 457.6 MB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.751e-05/0.4552, allocations: 11.98 kB / 457.7 MB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/0.4552, allocations: 8 kB / 457.7 MB, free: 10.82 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.721e-05/0.4553, allocations: 87.33 kB / 457.7 MB, free: 10.73 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.59e-07/0.4553, allocations: 0 / 457.7 MB, free: 10.73 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005531/0.4559, allocations: 79.88 kB / 457.8 MB, free: 10.65 MB / 394.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.0004485/0.4563, allocations: 205.7 kB / 458 MB, free: 10.45 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003598/0.4567, allocations: 84.17 kB / 458.1 MB, free: 10.36 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.017e-06/0.4567, allocations: 0 / 458.1 MB, free: 10.36 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001843/0.4569, allocations: 63.91 kB / 458.2 MB, free: 10.3 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002376/0.4572, allocations: 0 / 458.2 MB, free: 10.3 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006209/0.4578, allocations: 196.5 kB / 458.4 MB, free: 10.08 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004093/0.4583, allocations: 0.7122 MB / 459.1 MB, free: 9.34 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.426e-05/0.4583, allocations: 23.42 kB / 459.1 MB, free: 9.316 MB / 394.7 MB Notification: Performance of SimCode: time 1.592e-06/0.4584, allocations: 0 / 459.1 MB, free: 9.316 MB / 394.7 MB Notification: Performance of Templates: time 0.006416/0.4648, allocations: 2.734 MB / 461.8 MB, free: 6.586 MB / 394.7 MB