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.TestUtilities.TestRegRootDerivative.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.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") Notification: Performance of loadModel(ModelicaTest): time 2.146/2.146, allocations: 234.9 MB / 250.5 MB, free: 9.66 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004353/0.0004354, allocations: 8 kB / 314.4 MB, free: 9.672 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.294, allocations: 54.85 MB / 369.3 MB, free: 12.77 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1234/0.4175, allocations: 79.17 MB / 448.4 MB, free: 13.48 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002253/0.4178, allocations: 67.97 kB / 448.5 MB, free: 13.42 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001724/0.4195, allocations: 0.5598 MB / 449.1 MB, free: 12.86 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.322e-06/0.4195, allocations: 0 / 449.1 MB, free: 12.86 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.516e-06/0.4195, allocations: 0 / 449.1 MB, free: 12.86 MB / 378.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.0003325/0.4199, allocations: 327.3 kB / 449.4 MB, free: 12.49 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.4199, allocations: 8.031 kB / 449.4 MB, free: 12.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.818e-05/0.42, allocations: 3.953 kB / 449.4 MB, free: 12.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.4201, allocations: 171 kB / 449.6 MB, free: 12.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.4202, allocations: 4 kB / 449.6 MB, free: 12.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.4202, allocations: 4 kB / 449.6 MB, free: 12.26 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.4203, allocations: 51.41 kB / 449.6 MB, free: 12.2 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.541e-06/0.4203, allocations: 0 / 449.6 MB, free: 12.2 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.651e-06/0.4204, allocations: 0 / 449.6 MB, free: 12.2 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.973e-06/0.4204, allocations: 4 kB / 449.6 MB, free: 12.2 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.796e-05/0.4204, allocations: 19.83 kB / 449.6 MB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003632/0.4208, allocations: 329.1 kB / 450 MB, free: 11.8 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.452e-05/0.4209, allocations: 22.56 kB / 450 MB, free: 11.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.4209, allocations: 4 kB / 450 MB, free: 11.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.421, allocations: 30.56 kB / 450 MB, free: 11.73 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 2.005e-06/0.421, allocations: 0 / 450 MB, free: 11.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002066/0.4212, allocations: 61.67 kB / 450.1 MB, free: 11.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.4212, allocations: 55.41 kB / 450.1 MB, free: 11.59 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.242e-05/0.4213, allocations: 96.89 kB / 450.2 MB, free: 11.49 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.4214, allocations: 29.7 kB / 450.3 MB, free: 11.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.946e-05/0.4215, allocations: 150.6 kB / 450.4 MB, free: 11.31 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.783e-05/0.4215, allocations: 11.75 kB / 450.4 MB, free: 11.3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.924e-06/0.4215, allocations: 4 kB / 450.4 MB, free: 11.29 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.4217, allocations: 314.8 kB / 450.7 MB, free: 10.98 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.145e-05/0.4217, allocations: 8.109 kB / 450.7 MB, free: 10.97 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.105e-05/0.4218, allocations: 25.66 kB / 450.8 MB, free: 10.94 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.869e-05/0.4218, allocations: 7.938 kB / 450.8 MB, free: 10.93 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.308e-06/0.4218, allocations: 0 / 450.8 MB, free: 10.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001318/0.422, allocations: 53.69 kB / 450.8 MB, free: 10.87 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.422, allocations: 8 kB / 450.8 MB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.944e-06/0.422, allocations: 0 / 450.8 MB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.422, allocations: 0 / 450.8 MB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-05/0.4221, allocations: 11.98 kB / 450.8 MB, free: 10.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.437e-06/0.4222, allocations: 11.92 kB / 450.9 MB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.743e-05/0.4222, allocations: 0 / 450.9 MB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.4222, allocations: 4 kB / 450.9 MB, free: 10.84 MB / 378.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 () * Number of clocked 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 9.276e-05/0.4223, allocations: 111.4 kB / 451 MB, free: 10.72 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.722e-05/0.4224, allocations: 4 kB / 451 MB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001619/0.4225, allocations: 61.31 kB / 451 MB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.49e-06/0.4226, allocations: 0 / 451 MB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.724e-06/0.4226, allocations: 4 kB / 451 MB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.356e-06/0.4226, allocations: 11.94 kB / 451 MB, free: 10.63 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002041/0.4228, allocations: 153.6 kB / 451.2 MB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.109e-06/0.4228, allocations: 3.984 kB / 451.2 MB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.876e-05/0.4229, allocations: 11.94 kB / 451.2 MB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.294e-06/0.4229, allocations: 0 / 451.2 MB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.537e-06/0.4229, allocations: 0 / 451.2 MB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.4229, allocations: 0 / 451.2 MB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.639e-06/0.4229, allocations: 0 / 451.2 MB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001764/0.4231, allocations: 151.5 kB / 451.4 MB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.913e-05/0.4232, allocations: 81.11 kB / 451.4 MB, free: 10.15 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.4232, allocations: 4 kB / 451.4 MB, free: 10.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.633e-05/0.4233, allocations: 3.938 kB / 451.4 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.314e-05/0.4233, allocations: 7.984 kB / 451.5 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.434e-06/0.4234, allocations: 0 / 451.5 MB, free: 10.14 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.619e-05/0.4234, allocations: 75.28 kB / 451.5 MB, free: 10.06 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.97e-07/0.4234, allocations: 4 kB / 451.5 MB, free: 10.06 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002996/0.4237, allocations: 8 kB / 451.5 MB, free: 10.05 MB / 378.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 () * Number of clocked 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.0001518/0.4239, allocations: 111.3 kB / 451.6 MB, free: 9.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000112/0.424, allocations: 23.92 kB / 451.7 MB, free: 9.906 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.424, allocations: 0 / 451.7 MB, free: 9.906 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.396e-05/0.4241, allocations: 19.94 kB / 451.7 MB, free: 9.887 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001587/0.4243, allocations: 3.953 kB / 451.7 MB, free: 9.883 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002881/0.4246, allocations: 136.4 kB / 451.8 MB, free: 9.715 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/0.4249, allocations: 0.6849 MB / 452.5 MB, free: 9.004 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.085e-05/0.425, allocations: 15.42 kB / 452.5 MB, free: 8.988 MB / 378.7 MB Notification: Performance of SimCode: time 1.36e-06/0.425, allocations: 0 / 452.5 MB, free: 8.988 MB / 378.7 MB Notification: Performance of Templates: time 0.00215/0.4271, allocations: 0.5668 MB / 453.1 MB, free: 8.422 MB / 378.7 MB