Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.44/2.44, allocations: 234.9 MB / 251.1 MB, free: 9.699 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006932/0.0006934, allocations: 12 kB / 315 MB, free: 9.727 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3716/0.3723, allocations: 54.86 MB / 369.8 MB, free: 12.79 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1572/0.5295, allocations: 87.98 MB / 457.8 MB, free: 4.68 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003902/0.53, allocations: 99.94 kB / 457.9 MB, free: 4.582 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03908/0.5691, allocations: 7.642 MB / 465.5 MB, free: 12.9 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.5691, allocations: 0 / 465.5 MB, free: 12.9 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.867e-06/0.5691, allocations: 0 / 465.5 MB, free: 12.9 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.0007683/0.5699, allocations: 454.8 kB / 466 MB, free: 12.41 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.57, allocations: 12.03 kB / 466 MB, free: 12.4 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.666e-05/0.57, allocations: 19.77 kB / 466 MB, free: 12.38 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.5702, allocations: 178.9 kB / 466.2 MB, free: 12.16 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.5702, allocations: 8 kB / 466.2 MB, free: 12.16 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.278e-05/0.5703, allocations: 12 kB / 466.2 MB, free: 12.14 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004673/0.5708, allocations: 149.5 kB / 466.4 MB, free: 11.99 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.5708, allocations: 4 kB / 466.4 MB, free: 11.99 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.24e-05/0.5708, allocations: 4 kB / 466.4 MB, free: 11.98 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.5708, allocations: 4 kB / 466.4 MB, free: 11.98 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005258/0.5714, allocations: 143.9 kB / 466.5 MB, free: 11.84 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/0.5726, allocations: 0.5299 MB / 467 MB, free: 11.24 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003858/0.573, allocations: 106.6 kB / 467.1 MB, free: 11.12 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.418e-05/0.5731, allocations: 4 kB / 467.1 MB, free: 11.12 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.5731, allocations: 30.56 kB / 467.2 MB, free: 11.08 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 2.104e-06/0.5731, allocations: 0 / 467.2 MB, free: 11.08 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.000776/0.5739, allocations: 177.5 kB / 467.4 MB, free: 10.9 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.574, allocations: 55.41 kB / 467.4 MB, free: 10.84 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.5741, allocations: 122 kB / 467.5 MB, free: 10.7 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.751e-05/0.5742, allocations: 25.7 kB / 467.6 MB, free: 10.67 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.5743, allocations: 186 kB / 467.7 MB, free: 10.49 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.637e-05/0.5743, allocations: 35.41 kB / 467.8 MB, free: 10.45 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.238e-05/0.5744, allocations: 4 kB / 467.8 MB, free: 10.45 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.5745, allocations: 319.8 kB / 468.1 MB, free: 10.13 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002111/0.5747, allocations: 43.91 kB / 468.1 MB, free: 10.09 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002487/0.575, allocations: 89.11 kB / 468.2 MB, free: 9.98 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002666/0.5753, allocations: 48.42 kB / 468.3 MB, free: 9.934 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.5753, allocations: 0 / 468.3 MB, free: 9.934 MB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005774/0.5759, allocations: 173.3 kB / 468.4 MB, free: 9.758 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.5759, allocations: 12.16 kB / 468.4 MB, free: 9.746 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.5759, allocations: 0 / 468.4 MB, free: 9.746 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.576, allocations: 4 kB / 468.4 MB, free: 9.742 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003835/0.5764, allocations: 48.27 kB / 468.5 MB, free: 9.695 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004138/0.5768, allocations: 0.586 MB / 469.1 MB, free: 9.086 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001855/0.577, allocations: 28.02 kB / 469.1 MB, free: 9.059 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.577, allocations: 4 kB / 469.1 MB, free: 9.055 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 () * 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.0001307/0.5772, allocations: 125.7 kB / 469.2 MB, free: 8.922 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.141e-05/0.5772, allocations: 7.906 kB / 469.2 MB, free: 8.914 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007054/0.5779, allocations: 181.9 kB / 469.4 MB, free: 8.727 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.578, allocations: 11.92 kB / 469.4 MB, free: 8.715 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.578, allocations: 3.938 kB / 469.4 MB, free: 8.711 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.578, allocations: 3.984 kB / 469.4 MB, free: 8.707 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003494/0.5784, allocations: 217.5 kB / 469.6 MB, free: 8.445 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.5784, allocations: 0 / 469.6 MB, free: 8.445 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003578/0.5787, allocations: 39.97 kB / 469.7 MB, free: 8.406 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.5788, allocations: 0 / 469.7 MB, free: 8.406 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/0.5788, allocations: 4 kB / 469.7 MB, free: 8.402 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003797/0.5792, allocations: 0.5821 MB / 470.3 MB, free: 7.797 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.5792, allocations: 8.031 kB / 470.3 MB, free: 7.789 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008274/0.58, allocations: 311.4 kB / 470.6 MB, free: 7.469 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.5802, allocations: 104.9 kB / 470.7 MB, free: 7.348 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.264e-05/0.5802, allocations: 4 kB / 470.7 MB, free: 7.344 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001922/0.5804, allocations: 15.98 kB / 470.7 MB, free: 7.328 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.005e-05/0.5805, allocations: 7.984 kB / 470.7 MB, free: 7.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.5805, allocations: 4 kB / 470.7 MB, free: 7.316 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.131e-05/0.5806, allocations: 91.27 kB / 470.8 MB, free: 7.227 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5806, allocations: 0 / 470.8 MB, free: 7.227 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005679/0.5812, allocations: 91.83 kB / 470.9 MB, free: 7.137 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 () * 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.0004938/0.5817, allocations: 203 kB / 471.1 MB, free: 6.93 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006507/0.5824, allocations: 144.4 kB / 471.2 MB, free: 6.789 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.5824, allocations: 0 / 471.2 MB, free: 6.789 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003529/0.5827, allocations: 80.2 kB / 471.3 MB, free: 6.711 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.583, allocations: 11.94 kB / 471.3 MB, free: 6.699 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009974/0.584, allocations: 396.4 kB / 471.7 MB, free: 6.281 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/0.5844, allocations: 0.7082 MB / 472.4 MB, free: 5.547 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.907e-05/0.5845, allocations: 19.44 kB / 472.4 MB, free: 5.527 MB / 394.7 MB Notification: Performance of SimCode: time 1.313e-06/0.5845, allocations: 0 / 472.4 MB, free: 5.527 MB / 394.7 MB Notification: Performance of Templates: time 0.007157/0.5916, allocations: 2.718 MB / 475.2 MB, free: 2.82 MB / 394.7 MB