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.TestRegRoot2ZeroDerivative.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.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") Notification: Performance of loadModel(ModelicaTest): time 1.898/1.898, allocations: 209.3 MB / 222.4 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.981e-05/3e-05, allocations: 0 / 277.8 MB, free: 15.31 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0873/0.08736, allocations: 48.71 MB / 326.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3309/0.4183, allocations: 73.31 MB / 399.9 MB, free: 10.43 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002008/0.4185, allocations: 70.94 kB / 399.9 MB, free: 10.43 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01338/0.4319, allocations: 3.069 MB / 403 MB, free: 9.562 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.002e-06/0.432, allocations: 0 / 403 MB, free: 9.562 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.478e-06/0.432, allocations: 0 / 403 MB, free: 9.562 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0002854/0.4323, allocations: 357.7 kB / 403.3 MB, free: 9.188 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.4323, allocations: 19.48 kB / 403.4 MB, free: 9.18 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.329e-05/0.4324, allocations: 3.906 kB / 403.4 MB, free: 9.176 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.433e-05/0.4325, allocations: 174.8 kB / 403.5 MB, free: 8.969 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.4325, allocations: 0 / 403.5 MB, free: 8.969 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.799e-05/0.4325, allocations: 10.84 kB / 403.6 MB, free: 8.969 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.4327, allocations: 63.36 kB / 403.6 MB, free: 8.926 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.4327, allocations: 3.812 kB / 403.6 MB, free: 8.926 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.4327, allocations: 0 / 403.6 MB, free: 8.926 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.552e-06/0.4327, allocations: 3.938 kB / 403.6 MB, free: 8.922 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.816e-05/0.4328, allocations: 40.47 kB / 403.7 MB, free: 8.914 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001469/0.433, allocations: 184.5 kB / 403.8 MB, free: 8.711 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.4332, allocations: 81.08 kB / 403.9 MB, free: 8.68 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.845e-05/0.4332, allocations: 26.77 kB / 403.9 MB, free: 8.672 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002434/0.4335, allocations: 118.8 kB / 404.1 MB, free: 8.562 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.4335, allocations: 32.62 kB / 404.1 MB, free: 8.523 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.47e-06/0.4335, allocations: 3.938 kB / 404.1 MB, free: 8.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=23): time 0.1596/0.5931, allocations: 4.952 MB / 409 MB, free: 5.914 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.142e-05/0.5932, allocations: 59.12 kB / 409.1 MB, free: 5.848 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.059e-05/0.5933, allocations: 96.36 kB / 409.2 MB, free: 5.75 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.143e-05/0.5934, allocations: 29.42 kB / 409.2 MB, free: 5.719 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.634e-05/0.5935, allocations: 153.4 kB / 409.4 MB, free: 5.566 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/0.5936, allocations: 70.58 kB / 409.4 MB, free: 5.516 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.374e-05/0.5937, allocations: 3.312 kB / 409.5 MB, free: 5.516 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.953e-05/0.5938, allocations: 322.1 kB / 409.8 MB, free: 5.199 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003431/0.5941, allocations: 65.73 kB / 409.8 MB, free: 5.195 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003386/0.5945, allocations: 68.14 kB / 409.9 MB, free: 5.191 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001287/0.5958, allocations: 114 kB / 410 MB, free: 5.164 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.5958, allocations: 4 kB / 410 MB, free: 5.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001934/0.5978, allocations: 262.5 kB / 410.3 MB, free: 5.082 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.025e-05/0.5978, allocations: 7.75 kB / 410.3 MB, free: 5.082 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.055e-06/0.5979, allocations: 3.938 kB / 410.3 MB, free: 5.078 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.453e-05/0.5979, allocations: 0 / 410.3 MB, free: 5.078 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009247/0.5989, allocations: 97.41 kB / 410.4 MB, free: 5.047 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.542e-05/0.5989, allocations: 7.953 kB / 410.4 MB, free: 5.039 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004733/0.5994, allocations: 34.44 kB / 410.4 MB, free: 5.031 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.279e-05/0.5995, allocations: 22.91 kB / 410.4 MB, free: 5.023 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 (23): * Single equations (assignments): 23 * 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 0.0001556/0.5997, allocations: 116.5 kB / 410.6 MB, free: 4.91 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.282e-05/0.5998, allocations: 7.781 kB / 410.6 MB, free: 4.906 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002485/0.6023, allocations: 337.8 kB / 410.9 MB, free: 4.789 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.619e-06/0.6023, allocations: 0 / 410.9 MB, free: 4.789 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.719e-06/0.6024, allocations: 0 / 410.9 MB, free: 4.789 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/0.6024, allocations: 7.766 kB / 410.9 MB, free: 4.785 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004071/0.6065, allocations: 0.7414 MB / 411.6 MB, free: 4.312 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/0.6065, allocations: 0 / 411.6 MB, free: 4.312 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008042/0.6074, allocations: 91.95 kB / 411.7 MB, free: 4.285 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.66e-05/0.6074, allocations: 3.781 kB / 411.7 MB, free: 4.285 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.935e-05/0.6075, allocations: 15.23 kB / 411.7 MB, free: 4.281 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.771e-06/0.6075, allocations: 0 / 411.7 MB, free: 4.281 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.127e-06/0.6076, allocations: 7.797 kB / 411.8 MB, free: 4.277 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002003/0.6096, allocations: 367 kB / 412.1 MB, free: 4.043 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.27e-05/0.6097, allocations: 81.02 kB / 412.2 MB, free: 3.945 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.854e-05/0.6098, allocations: 7.406 kB / 412.2 MB, free: 3.945 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005871/0.6104, allocations: 38.62 kB / 412.2 MB, free: 3.934 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.454e-05/0.6105, allocations: 11.64 kB / 412.2 MB, free: 3.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.824e-05/0.6106, allocations: 22.69 kB / 412.3 MB, free: 3.922 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.372e-05/0.6106, allocations: 75.28 kB / 412.3 MB, free: 3.848 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.315e-06/0.6107, allocations: 96 / 412.3 MB, free: 3.848 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00198/0.6127, allocations: 0.6111 MB / 413 MB, free: 3.777 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * 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.003708/0.6164, allocations: 339.1 kB / 413.3 MB, free: 3.578 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004981/0.6169, allocations: 173.8 kB / 413.5 MB, free: 3.527 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.829e-06/0.617, allocations: 0 / 413.5 MB, free: 3.527 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001778/0.6171, allocations: 87.66 kB / 413.5 MB, free: 3.457 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001958/0.6174, allocations: 0 / 413.5 MB, free: 3.457 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008508/0.6182, allocations: 298.1 kB / 413.8 MB, free: 3.156 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001361/0.6184, allocations: 0.6978 MB / 414.5 MB, free: 2.434 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001874/0.6186, allocations: 47.39 kB / 414.6 MB, free: 2.387 MB / 314.7 MB Notification: Performance of SimCode: time 1.743e-06/0.6186, allocations: 0 / 414.6 MB, free: 2.387 MB / 314.7 MB Notification: Performance of Templates: time 0.03016/0.6488, allocations: 14.57 MB / 429.1 MB, free: 3.84 MB / 330.7 MB