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.TestRegRootDerivative.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.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") Notification: Performance of loadModel(ModelicaTest): time 1.868/1.868, allocations: 209.3 MB / 222.4 MB, free: 7.719 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.228e-05/3.253e-05, allocations: 4 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1011, allocations: 48.71 MB / 326.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3957/0.4969, allocations: 72.7 MB / 399.2 MB, free: 10.38 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001818/0.4971, allocations: 66.36 kB / 399.3 MB, free: 10.38 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001569/0.4987, allocations: 0.5565 MB / 399.9 MB, free: 10.06 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.929e-06/0.4987, allocations: 0 / 399.9 MB, free: 10.06 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.597e-06/0.4987, allocations: 0 / 399.9 MB, free: 10.06 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0001908/0.4989, allocations: 319.9 kB / 400.2 MB, free: 9.719 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.499, allocations: 14.12 kB / 400.2 MB, free: 9.715 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.377e-05/0.499, allocations: 7.781 kB / 400.2 MB, free: 9.711 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.125e-05/0.4991, allocations: 161 kB / 400.4 MB, free: 9.516 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.4992, allocations: 3.953 kB / 400.4 MB, free: 9.512 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.4992, allocations: 3.969 kB / 400.4 MB, free: 9.512 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.4993, allocations: 53.53 kB / 400.4 MB, free: 9.465 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.342e-06/0.4993, allocations: 0 / 400.4 MB, free: 9.465 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.4993, allocations: 2.906 kB / 400.4 MB, free: 9.465 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.4993, allocations: 0 / 400.4 MB, free: 9.465 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.495e-05/0.4994, allocations: 15.59 kB / 400.4 MB, free: 9.457 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002399/0.4997, allocations: 325.1 kB / 400.8 MB, free: 9.109 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.546e-05/0.4997, allocations: 18.42 kB / 400.8 MB, free: 9.086 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.957e-05/0.4998, allocations: 16.3 kB / 400.8 MB, free: 9.078 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.4998, allocations: 0 / 400.8 MB, free: 9.078 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.647e-05/0.4998, allocations: 42.31 kB / 400.8 MB, free: 9.031 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.732e-06/0.4998, allocations: 0 / 400.8 MB, free: 9.031 MB / 314.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001554/0.5, allocations: 50.67 kB / 400.9 MB, free: 8.996 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.294e-05/0.5, allocations: 53.66 kB / 400.9 MB, free: 8.934 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.184e-05/0.5001, allocations: 88.78 kB / 401 MB, free: 8.844 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.456e-06/0.5001, allocations: 26.69 kB / 401 MB, free: 8.812 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.156e-05/0.5002, allocations: 150.6 kB / 401.2 MB, free: 8.664 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.39e-05/0.5002, allocations: 22.61 kB / 401.2 MB, free: 8.652 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.053e-06/0.5002, allocations: 3.938 kB / 401.2 MB, free: 8.648 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.781e-05/0.5003, allocations: 314.8 kB / 401.5 MB, free: 8.332 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.217e-05/0.5003, allocations: 7.594 kB / 401.5 MB, free: 8.332 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.834e-05/0.5003, allocations: 23.25 kB / 401.6 MB, free: 8.316 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.934e-05/0.5004, allocations: 10.75 kB / 401.6 MB, free: 8.312 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.119e-06/0.5004, allocations: 0 / 401.6 MB, free: 8.312 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001036/0.5005, allocations: 61.7 kB / 401.6 MB, free: 8.273 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.5005, allocations: 3.812 kB / 401.6 MB, free: 8.273 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.286e-06/0.5005, allocations: 0 / 401.6 MB, free: 8.273 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.5006, allocations: 0 / 401.6 MB, free: 8.273 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.972e-05/0.5006, allocations: 13.97 kB / 401.6 MB, free: 8.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.112e-06/0.5007, allocations: 0 / 401.6 MB, free: 8.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.989e-05/0.5007, allocations: 7.656 kB / 401.6 MB, free: 8.266 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.403e-06/0.5007, allocations: 0 / 401.6 MB, free: 8.266 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 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.635e-05/0.5008, allocations: 108.8 kB / 401.8 MB, free: 8.156 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.509e-05/0.5008, allocations: 6.156 kB / 401.8 MB, free: 8.152 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001248/0.501, allocations: 60.84 kB / 401.8 MB, free: 8.113 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.109e-06/0.501, allocations: 3.984 kB / 401.8 MB, free: 8.109 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.081e-06/0.501, allocations: 0 / 401.8 MB, free: 8.109 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.539e-06/0.501, allocations: 6.234 kB / 401.8 MB, free: 8.109 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001459/0.5012, allocations: 160.7 kB / 402 MB, free: 7.918 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.034e-06/0.5012, allocations: 0 / 402 MB, free: 7.918 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.569e-05/0.5013, allocations: 16.83 kB / 402 MB, free: 7.914 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.16e-06/0.5013, allocations: 0 / 402 MB, free: 7.914 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.362e-06/0.5013, allocations: 0 / 402 MB, free: 7.914 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.125e-06/0.5013, allocations: 0 / 402 MB, free: 7.914 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.939e-06/0.5013, allocations: 4 kB / 402 MB, free: 7.91 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001141/0.5014, allocations: 148.5 kB / 402.2 MB, free: 7.781 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.869e-05/0.5015, allocations: 81.06 kB / 402.2 MB, free: 7.684 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.5015, allocations: 6.688 kB / 402.2 MB, free: 7.684 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.762e-05/0.5016, allocations: 0 / 402.2 MB, free: 7.684 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.196e-05/0.5016, allocations: 0 / 402.2 MB, free: 7.684 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.284e-06/0.5016, allocations: 3.875 kB / 402.2 MB, free: 7.684 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.29e-05/0.5017, allocations: 81.78 kB / 402.3 MB, free: 7.605 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.52e-07/0.5017, allocations: 0 / 402.3 MB, free: 7.605 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003049/0.502, allocations: 10.27 kB / 402.3 MB, free: 7.605 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 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.0001119/0.5021, allocations: 105.2 kB / 402.4 MB, free: 7.512 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.927e-05/0.5022, allocations: 22.91 kB / 402.5 MB, free: 7.512 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.5022, allocations: 0 / 402.5 MB, free: 7.512 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.493e-05/0.5023, allocations: 15.06 kB / 402.5 MB, free: 7.508 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001826/0.5025, allocations: 7.938 kB / 402.5 MB, free: 7.504 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002027/0.5027, allocations: 106.1 kB / 402.6 MB, free: 7.395 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001115/0.5028, allocations: 0.6792 MB / 403.3 MB, free: 6.699 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.562e-05/0.5029, allocations: 13.33 kB / 403.3 MB, free: 6.691 MB / 314.7 MB Notification: Performance of SimCode: time 1.481e-06/0.5029, allocations: 0 / 403.3 MB, free: 6.691 MB / 314.7 MB Notification: Performance of Templates: time 0.001951/0.5048, allocations: 0.5727 MB / 403.8 MB, free: 6.656 MB / 314.7 MB