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.862/1.862, allocations: 209.3 MB / 224.9 MB, free: 1.203 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004342/0.0004343, allocations: 12 kB / 282.6 MB, free: 9.691 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08515/0.0856, allocations: 48.7 MB / 331.3 MB, free: 8.906 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3273/0.4129, allocations: 81.48 MB / 412.8 MB, free: 3.66 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003232/0.4133, allocations: 95.94 kB / 412.9 MB, free: 3.566 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0341/0.4474, allocations: 7.648 MB / 420.5 MB, free: 11.9 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.271e-06/0.4475, allocations: 0 / 420.5 MB, free: 11.9 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.08e-06/0.4475, allocations: 0 / 420.5 MB, free: 11.9 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.0006515/0.4482, allocations: 442.9 kB / 420.9 MB, free: 11.42 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.4482, allocations: 8.031 kB / 421 MB, free: 11.41 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.017e-05/0.4483, allocations: 15.81 kB / 421 MB, free: 11.39 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.4484, allocations: 174.9 kB / 421.1 MB, free: 11.18 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.4485, allocations: 8 kB / 421.1 MB, free: 11.18 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.784e-05/0.4485, allocations: 12 kB / 421.2 MB, free: 11.16 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003773/0.4489, allocations: 154.1 kB / 421.3 MB, free: 11.01 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.4489, allocations: 4 kB / 421.3 MB, free: 11 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.935e-05/0.449, allocations: 4 kB / 421.3 MB, free: 11 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.449, allocations: 4 kB / 421.3 MB, free: 11 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004032/0.4494, allocations: 143.8 kB / 421.5 MB, free: 10.86 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/0.4505, allocations: 0.5338 MB / 422 MB, free: 10.25 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003307/0.4509, allocations: 110.6 kB / 422.1 MB, free: 10.14 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.4509, allocations: 0 / 422.1 MB, free: 10.14 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.451, allocations: 30.56 kB / 422.1 MB, free: 10.1 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 2.207e-06/0.451, allocations: 0 / 422.1 MB, free: 10.1 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006357/0.4516, allocations: 181.6 kB / 422.3 MB, free: 9.914 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/0.4517, allocations: 55.41 kB / 422.4 MB, free: 9.848 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.4518, allocations: 101.2 kB / 422.5 MB, free: 9.738 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.4518, allocations: 33.7 kB / 422.5 MB, free: 9.699 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.452, allocations: 182.1 kB / 422.7 MB, free: 9.52 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.561e-05/0.452, allocations: 39.45 kB / 422.7 MB, free: 9.48 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.172e-05/0.452, allocations: 4 kB / 422.7 MB, free: 9.477 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.4522, allocations: 316.2 kB / 423 MB, free: 9.16 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/0.4524, allocations: 47.89 kB / 423.1 MB, free: 9.113 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001973/0.4526, allocations: 85.12 kB / 423.2 MB, free: 9.012 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001784/0.4528, allocations: 56.34 kB / 423.2 MB, free: 8.957 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.4528, allocations: 7.891 kB / 423.2 MB, free: 8.949 MB / 346.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000477/0.4533, allocations: 169.4 kB / 423.4 MB, free: 8.777 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.4533, allocations: 4 kB / 423.4 MB, free: 8.773 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.4534, allocations: 8.156 kB / 423.4 MB, free: 8.766 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.4534, allocations: 0 / 423.4 MB, free: 8.766 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000291/0.4537, allocations: 43.97 kB / 423.4 MB, free: 8.723 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004813/0.4542, allocations: 0.5899 MB / 424 MB, free: 8.109 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001485/0.4543, allocations: 16.03 kB / 424 MB, free: 8.094 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.654e-05/0.4544, allocations: 19.94 kB / 424.1 MB, free: 8.074 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.0001338/0.4545, allocations: 125.2 kB / 424.2 MB, free: 7.945 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.804e-05/0.4546, allocations: 11.89 kB / 424.2 MB, free: 7.934 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000568/0.4552, allocations: 185.9 kB / 424.4 MB, free: 7.75 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.475e-06/0.4552, allocations: 0 / 424.4 MB, free: 7.75 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.134e-06/0.4552, allocations: 0 / 424.4 MB, free: 7.75 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.77e-06/0.4552, allocations: 4 kB / 424.4 MB, free: 7.746 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003642/0.4556, allocations: 221.5 kB / 424.6 MB, free: 7.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.343e-06/0.4556, allocations: 0 / 424.6 MB, free: 7.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002797/0.4559, allocations: 43.91 kB / 424.6 MB, free: 7.438 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.296e-06/0.4559, allocations: 0 / 424.6 MB, free: 7.438 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.032e-05/0.4559, allocations: 7.984 kB / 424.7 MB, free: 7.43 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004299/0.4564, allocations: 0.5782 MB / 425.2 MB, free: 6.828 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.4564, allocations: 7.984 kB / 425.2 MB, free: 6.82 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006608/0.4571, allocations: 311.3 kB / 425.5 MB, free: 6.5 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.971e-05/0.4572, allocations: 96.97 kB / 425.6 MB, free: 6.387 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.431e-05/0.4572, allocations: 0 / 425.6 MB, free: 6.387 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/0.4574, allocations: 15.98 kB / 425.7 MB, free: 6.371 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.182e-05/0.4575, allocations: 11.94 kB / 425.7 MB, free: 6.359 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.4575, allocations: 4 kB / 425.7 MB, free: 6.355 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.818e-05/0.4576, allocations: 91.27 kB / 425.8 MB, free: 6.266 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.35e-07/0.4576, allocations: 0 / 425.8 MB, free: 6.266 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005277/0.4581, allocations: 91.77 kB / 425.8 MB, free: 6.176 MB / 346.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.0004134/0.4586, allocations: 208 kB / 426 MB, free: 5.961 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005127/0.4591, allocations: 139.8 kB / 426.2 MB, free: 5.824 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.4591, allocations: 0 / 426.2 MB, free: 5.824 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002709/0.4594, allocations: 80.27 kB / 426.3 MB, free: 5.746 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002374/0.4596, allocations: 4 kB / 426.3 MB, free: 5.742 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008281/0.4605, allocations: 390 kB / 426.6 MB, free: 5.328 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003909/0.4609, allocations: 0.7043 MB / 427.4 MB, free: 4.598 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.249e-05/0.461, allocations: 23.42 kB / 427.4 MB, free: 4.574 MB / 346.7 MB Notification: Performance of SimCode: time 1.332e-06/0.461, allocations: 0 / 427.4 MB, free: 4.574 MB / 346.7 MB Notification: Performance of Templates: time 0.005978/0.467, allocations: 2.71 MB / 430.1 MB, free: 1.863 MB / 346.7 MB