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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.202/2.202, allocations: 234.9 MB / 250.5 MB, free: 10.44 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004258/0.0004259, allocations: 8 kB / 314.4 MB, free: 10.44 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.3122, allocations: 54.88 MB / 369.3 MB, free: 10.82 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1339/0.4462, allocations: 87.99 MB / 457.3 MB, free: 2.707 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003258/0.4466, allocations: 95.94 kB / 457.4 MB, free: 2.613 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04166/0.4882, allocations: 7.65 MB / 465 MB, free: 10.93 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.481e-06/0.4883, allocations: 0 / 465 MB, free: 10.93 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.62e-05/0.4883, allocations: 0 / 465 MB, free: 10.93 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.0009564/0.4893, allocations: 454.8 kB / 465.5 MB, free: 10.43 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.587e-05/0.4894, allocations: 12.03 kB / 465.5 MB, free: 10.42 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.126e-05/0.4895, allocations: 19.77 kB / 465.5 MB, free: 10.4 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/0.4897, allocations: 171 kB / 465.7 MB, free: 10.2 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.21e-05/0.4898, allocations: 8 kB / 465.7 MB, free: 10.19 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.507e-05/0.4899, allocations: 12 kB / 465.7 MB, free: 10.18 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006176/0.4905, allocations: 145.6 kB / 465.8 MB, free: 10.03 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.4906, allocations: 0 / 465.8 MB, free: 10.03 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.277e-05/0.4906, allocations: 4 kB / 465.8 MB, free: 10.02 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.324e-05/0.4906, allocations: 4 kB / 465.8 MB, free: 10.02 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007638/0.4914, allocations: 163.7 kB / 466 MB, free: 9.859 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001771/0.4932, allocations: 0.5182 MB / 466.5 MB, free: 9.27 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005513/0.4938, allocations: 110.6 kB / 466.6 MB, free: 9.152 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.204e-05/0.4939, allocations: 0 / 466.6 MB, free: 9.152 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.673e-05/0.4939, allocations: 34.56 kB / 466.7 MB, free: 9.109 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 4.033e-06/0.494, allocations: 3.938 kB / 466.7 MB, free: 9.105 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.001117/0.4951, allocations: 181.7 kB / 466.8 MB, free: 8.922 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.901e-05/0.4952, allocations: 51.41 kB / 466.9 MB, free: 8.859 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.4954, allocations: 109.1 kB / 467 MB, free: 8.742 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.135e-05/0.4954, allocations: 33.7 kB / 467 MB, free: 8.703 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/0.4956, allocations: 178.2 kB / 467.2 MB, free: 8.527 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.56e-05/0.4957, allocations: 35.45 kB / 467.2 MB, free: 8.492 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.579e-05/0.4958, allocations: 0 / 467.2 MB, free: 8.492 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002033/0.496, allocations: 319.8 kB / 467.6 MB, free: 8.172 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000299/0.4963, allocations: 43.91 kB / 467.6 MB, free: 8.129 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000358/0.4967, allocations: 93.05 kB / 467.7 MB, free: 8.02 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003353/0.4971, allocations: 47.98 kB / 467.7 MB, free: 7.973 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.973e-06/0.4971, allocations: 0 / 467.7 MB, free: 7.973 MB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0008869/0.498, allocations: 173.4 kB / 467.9 MB, free: 7.797 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.939e-05/0.498, allocations: 8 kB / 467.9 MB, free: 7.789 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.77e-06/0.4981, allocations: 0 / 467.9 MB, free: 7.789 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.774e-05/0.4981, allocations: 4 kB / 467.9 MB, free: 7.785 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005467/0.4987, allocations: 51.89 kB / 468 MB, free: 7.734 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006762/0.4994, allocations: 0.5822 MB / 468.5 MB, free: 7.129 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002636/0.4997, allocations: 23.98 kB / 468.6 MB, free: 7.105 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-05/0.4997, allocations: 8 kB / 468.6 MB, free: 7.098 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.0002068/0.5, allocations: 121.7 kB / 468.7 MB, free: 6.969 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.214e-05/0.5001, allocations: 7.906 kB / 468.7 MB, free: 6.961 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001009/0.5011, allocations: 178.3 kB / 468.9 MB, free: 6.777 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.628e-05/0.5011, allocations: 7.953 kB / 468.9 MB, free: 6.77 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.398e-06/0.5012, allocations: 4 kB / 468.9 MB, free: 6.766 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.5012, allocations: 3.984 kB / 468.9 MB, free: 6.762 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006062/0.5018, allocations: 213.5 kB / 469.1 MB, free: 6.504 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.176e-06/0.5019, allocations: 0 / 469.1 MB, free: 6.504 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005169/0.5024, allocations: 47.91 kB / 469.1 MB, free: 6.457 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/0.5024, allocations: 0 / 469.1 MB, free: 6.457 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.05e-05/0.5025, allocations: 4 kB / 469.2 MB, free: 6.453 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000627/0.5031, allocations: 0.586 MB / 469.7 MB, free: 5.844 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.263e-06/0.5032, allocations: 0 / 469.7 MB, free: 5.844 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001188/0.5044, allocations: 311.4 kB / 470 MB, free: 5.523 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001526/0.5045, allocations: 104.9 kB / 470.1 MB, free: 5.402 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.089e-05/0.5046, allocations: 4 kB / 470.1 MB, free: 5.398 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002947/0.5049, allocations: 15.92 kB / 470.2 MB, free: 5.383 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.749e-05/0.505, allocations: 15.98 kB / 470.2 MB, free: 5.367 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-05/0.5051, allocations: 4 kB / 470.2 MB, free: 5.363 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001052/0.5052, allocations: 91.33 kB / 470.3 MB, free: 5.273 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.289e-06/0.5052, allocations: 4 kB / 470.3 MB, free: 5.27 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009349/0.5062, allocations: 87.77 kB / 470.4 MB, free: 5.184 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.0006558/0.5069, allocations: 203 kB / 470.6 MB, free: 4.977 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009182/0.5078, allocations: 135.8 kB / 470.7 MB, free: 4.844 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.302e-06/0.5079, allocations: 0 / 470.7 MB, free: 4.844 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004946/0.5084, allocations: 76.45 kB / 470.8 MB, free: 4.77 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000407/0.5088, allocations: 11.98 kB / 470.8 MB, free: 4.758 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00136/0.5102, allocations: 393.8 kB / 471.2 MB, free: 4.34 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004975/0.5107, allocations: 0.7085 MB / 471.9 MB, free: 3.605 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.5108, allocations: 15.44 kB / 471.9 MB, free: 3.59 MB / 394.7 MB Notification: Performance of SimCode: time 2.117e-06/0.5109, allocations: 4 kB / 471.9 MB, free: 3.586 MB / 394.7 MB Notification: Performance of Templates: time 0.01045/0.5213, allocations: 2.714 MB / 474.6 MB, free: 0.875 MB / 394.7 MB