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.TestUtilities.TestRegStep.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.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep") Notification: Performance of loadModel(ModelicaTest): time 1.827/1.827, allocations: 209.3 MB / 222.4 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.888e-05/2.902e-05, allocations: 4 kB / 277.8 MB, free: 15.31 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08733/0.08738, allocations: 48.7 MB / 326.5 MB, free: 14.52 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4004/0.4878, allocations: 72.69 MB / 399.2 MB, free: 10.38 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001761/0.488, allocations: 67.02 kB / 399.3 MB, free: 10.38 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001844/0.4899, allocations: 0.6155 MB / 399.9 MB, free: 10.06 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.119e-06/0.4899, allocations: 4 kB / 399.9 MB, free: 10.05 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.962e-06/0.49, allocations: 0 / 399.9 MB, free: 10.05 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0001619/0.4901, allocations: 311.6 kB / 400.2 MB, free: 9.715 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.4902, allocations: 7.688 kB / 400.2 MB, free: 9.715 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.153e-05/0.4902, allocations: 3.844 kB / 400.2 MB, free: 9.715 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.229e-05/0.4903, allocations: 168 kB / 400.4 MB, free: 9.516 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.4903, allocations: 3.953 kB / 400.4 MB, free: 9.512 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/0.4904, allocations: 3.25 kB / 400.4 MB, free: 9.512 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.78e-05/0.4904, allocations: 40.83 kB / 400.4 MB, free: 9.473 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.4905, allocations: 3.984 kB / 400.4 MB, free: 9.469 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.059e-06/0.4905, allocations: 3.938 kB / 400.4 MB, free: 9.469 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.343e-06/0.4905, allocations: 0 / 400.4 MB, free: 9.469 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.661e-05/0.4905, allocations: 7.219 kB / 400.4 MB, free: 9.469 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001146/0.4907, allocations: 152.7 kB / 400.6 MB, free: 9.281 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001618/0.4909, allocations: 37.91 kB / 400.6 MB, free: 9.25 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.231e-05/0.4909, allocations: 19.3 kB / 400.7 MB, free: 9.238 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002945/0.4912, allocations: 118.4 kB / 400.8 MB, free: 9.141 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.268e-05/0.4912, allocations: 30.56 kB / 400.8 MB, free: 9.102 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 2.025e-06/0.4912, allocations: 0 / 400.8 MB, free: 9.102 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.001083/0.4923, allocations: 166.8 kB / 401 MB, free: 9.062 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.525e-05/0.4924, allocations: 61.41 kB / 401 MB, free: 8.992 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.311e-05/0.4924, allocations: 85 kB / 401.1 MB, free: 8.902 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.4925, allocations: 25.7 kB / 401.1 MB, free: 8.871 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.037e-05/0.4925, allocations: 151.5 kB / 401.3 MB, free: 8.723 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.673e-05/0.4925, allocations: 17.62 kB / 401.3 MB, free: 8.715 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.056e-06/0.4925, allocations: 0 / 401.3 MB, free: 8.715 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.749e-05/0.4926, allocations: 314.3 kB / 401.6 MB, free: 8.402 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.764e-05/0.4927, allocations: 11.19 kB / 401.6 MB, free: 8.402 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.237e-05/0.4927, allocations: 16.12 kB / 401.6 MB, free: 8.398 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.638e-05/0.4927, allocations: 6.562 kB / 401.6 MB, free: 8.398 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.504e-06/0.4928, allocations: 0 / 401.6 MB, free: 8.398 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001287/0.4929, allocations: 64.88 kB / 401.7 MB, free: 8.363 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.4929, allocations: 11.59 kB / 401.7 MB, free: 8.359 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.723e-06/0.4929, allocations: 0 / 401.7 MB, free: 8.359 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.493, allocations: 0 / 401.7 MB, free: 8.359 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.4931, allocations: 21.12 kB / 401.7 MB, free: 8.355 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.234e-06/0.4931, allocations: 0 / 401.7 MB, free: 8.355 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.782e-05/0.4932, allocations: 14.88 kB / 401.7 MB, free: 8.352 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.4933, allocations: 0 / 401.7 MB, free: 8.352 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.885e-05/0.4933, allocations: 104.9 kB / 401.8 MB, free: 8.242 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.569e-05/0.4934, allocations: 7.828 kB / 401.9 MB, free: 8.238 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001756/0.4935, allocations: 71.5 kB / 401.9 MB, free: 8.207 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.301e-06/0.4936, allocations: 4 kB / 401.9 MB, free: 8.203 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.921e-06/0.4936, allocations: 0 / 401.9 MB, free: 8.203 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.991e-06/0.4936, allocations: 0 / 401.9 MB, free: 8.203 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005341/0.4941, allocations: 337.7 kB / 402.3 MB, free: 7.891 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.4941, allocations: 0 / 402.3 MB, free: 7.891 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000134/0.4943, allocations: 29.86 kB / 402.3 MB, free: 7.883 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.123e-06/0.4943, allocations: 0 / 402.3 MB, free: 7.883 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.4943, allocations: 2.812 kB / 402.3 MB, free: 7.883 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.676e-06/0.4943, allocations: 0 / 402.3 MB, free: 7.883 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.694e-06/0.4944, allocations: 3.844 kB / 402.3 MB, free: 7.883 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001409/0.4945, allocations: 169.6 kB / 402.5 MB, free: 7.727 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.774e-05/0.4945, allocations: 81.11 kB / 402.5 MB, free: 7.629 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.4946, allocations: 0 / 402.5 MB, free: 7.629 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.4947, allocations: 10.94 kB / 402.6 MB, free: 7.629 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.32e-05/0.4947, allocations: 3.938 kB / 402.6 MB, free: 7.625 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.4948, allocations: 7.406 kB / 402.6 MB, free: 7.625 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.218e-05/0.4948, allocations: 82.22 kB / 402.6 MB, free: 7.547 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.95e-07/0.4948, allocations: 0 / 402.6 MB, free: 7.547 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003031/0.4951, allocations: 7.688 kB / 402.6 MB, free: 7.547 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001157/0.4952, allocations: 106.7 kB / 402.8 MB, free: 7.449 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001171/0.4954, allocations: 28.73 kB / 402.8 MB, free: 7.449 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4954, allocations: 0 / 402.8 MB, free: 7.449 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.5e-05/0.4954, allocations: 23.05 kB / 402.8 MB, free: 7.441 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001566/0.4956, allocations: 7.703 kB / 402.8 MB, free: 7.438 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003526/0.496, allocations: 118.4 kB / 402.9 MB, free: 7.328 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001109/0.4961, allocations: 0.6818 MB / 403.6 MB, free: 6.633 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.075e-05/0.4962, allocations: 11.31 kB / 403.6 MB, free: 6.625 MB / 314.7 MB Notification: Performance of SimCode: time 1.335e-06/0.4962, allocations: 0 / 403.6 MB, free: 6.625 MB / 314.7 MB Notification: Performance of Templates: time 0.002019/0.4982, allocations: 0.6662 MB / 404.3 MB, free: 6.547 MB / 314.7 MB