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.TestRegRoot2Derivatives.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.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") Notification: Performance of loadModel(ModelicaTest): time 2.139/2.139, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.64e-05/2.649e-05, allocations: 4 kB / 309.7 MB, free: 1.328 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3176, allocations: 54.85 MB / 364.5 MB, free: 5.555 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1181/0.4358, allocations: 79.61 MB / 444.1 MB, free: 0.8672 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002155/0.436, allocations: 63.97 kB / 444.2 MB, free: 0.8047 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01358/0.4496, allocations: 2.947 MB / 447.2 MB, free: 13.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.808e-06/0.4497, allocations: 0 / 447.2 MB, free: 13.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.261e-05/0.4497, allocations: 0 / 447.2 MB, free: 13.88 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004124/0.4501, allocations: 366.4 kB / 447.5 MB, free: 13.47 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.4502, allocations: 11.97 kB / 447.5 MB, free: 13.46 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.05e-05/0.4502, allocations: 3.906 kB / 447.5 MB, free: 13.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.4504, allocations: 167 kB / 447.7 MB, free: 13.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.4504, allocations: 4 kB / 447.7 MB, free: 13.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.568e-05/0.4505, allocations: 8 kB / 447.7 MB, free: 13.24 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.4506, allocations: 50.72 kB / 447.8 MB, free: 13.19 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.205e-05/0.4506, allocations: 11.94 kB / 447.8 MB, free: 13.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.4507, allocations: 0.875 kB / 447.8 MB, free: 13.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.461e-06/0.4507, allocations: 0 / 447.8 MB, free: 13.18 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.332e-05/0.4508, allocations: 27.94 kB / 447.8 MB, free: 13.15 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002166/0.451, allocations: 174.8 kB / 448 MB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002475/0.4513, allocations: 58.56 kB / 448 MB, free: 12.86 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.806e-05/0.4514, allocations: 25.14 kB / 448 MB, free: 12.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002915/0.4517, allocations: 117 kB / 448.2 MB, free: 12.7 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.4517, allocations: 36.66 kB / 448.2 MB, free: 12.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 2.307e-06/0.4517, allocations: 0 / 448.2 MB, free: 12.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=19): time 0.1311/0.5828, allocations: 5.275 MB / 453.5 MB, free: 7.359 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.087e-05/0.5829, allocations: 55.41 kB / 453.5 MB, free: 7.293 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.583, allocations: 101 kB / 453.6 MB, free: 7.188 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.877e-05/0.5831, allocations: 25.7 kB / 453.6 MB, free: 7.156 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.752e-05/0.5832, allocations: 150.6 kB / 453.8 MB, free: 7.008 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.847e-05/0.5833, allocations: 59.11 kB / 453.9 MB, free: 6.949 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.241e-05/0.5834, allocations: 8 kB / 453.9 MB, free: 6.941 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.5835, allocations: 318.8 kB / 454.2 MB, free: 6.621 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003942/0.584, allocations: 168 kB / 454.3 MB, free: 6.457 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004012/0.5844, allocations: 178.8 kB / 454.5 MB, free: 6.285 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001222/0.5856, allocations: 219.8 kB / 454.7 MB, free: 6.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.027e-06/0.5856, allocations: 8.141 kB / 454.7 MB, free: 6.062 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001887/0.5875, allocations: 497.3 kB / 455.2 MB, free: 5.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.5876, allocations: 11.89 kB / 455.2 MB, free: 5.559 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.5876, allocations: 0 / 455.2 MB, free: 5.559 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.5876, allocations: 0 / 455.2 MB, free: 5.559 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006601/0.5883, allocations: 91.83 kB / 455.3 MB, free: 5.469 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-05/0.5883, allocations: 4 kB / 455.3 MB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003661/0.5887, allocations: 27.98 kB / 455.4 MB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-05/0.5888, allocations: 25.14 kB / 455.4 MB, free: 5.414 MB / 378.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 (19): * Single equations (assignments): 19 * 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.0001502/0.5889, allocations: 109 kB / 455.5 MB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.8e-05/0.589, allocations: 7.906 kB / 455.5 MB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002217/0.5912, allocations: 0.5903 MB / 456.1 MB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.868e-06/0.5913, allocations: 4 kB / 456.1 MB, free: 4.688 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.016e-06/0.5913, allocations: 3.953 kB / 456.1 MB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.932e-06/0.5913, allocations: 0 / 456.1 MB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00356/0.5949, allocations: 0.9884 MB / 457.1 MB, free: 3.625 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.275e-06/0.5949, allocations: 0 / 457.1 MB, free: 3.625 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000562/0.5955, allocations: 87.84 kB / 457.2 MB, free: 3.539 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.1e-05/0.5955, allocations: 4 kB / 457.2 MB, free: 3.535 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.084e-05/0.5956, allocations: 19.98 kB / 457.2 MB, free: 3.516 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.635e-06/0.5956, allocations: 12.42 kB / 457.2 MB, free: 3.504 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.999e-06/0.5956, allocations: 4 kB / 457.2 MB, free: 3.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001695/0.5973, allocations: 0.5492 MB / 457.8 MB, free: 2.879 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.027e-05/0.5974, allocations: 81.11 kB / 457.8 MB, free: 2.781 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.446e-05/0.5975, allocations: 3.984 kB / 457.8 MB, free: 2.777 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003907/0.5979, allocations: 31.98 kB / 457.9 MB, free: 2.746 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.809e-05/0.5979, allocations: 15.98 kB / 457.9 MB, free: 2.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.249e-05/0.598, allocations: 19.97 kB / 457.9 MB, free: 2.711 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.032e-05/0.5981, allocations: 79.28 kB / 458 MB, free: 2.633 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.17e-07/0.5981, allocations: 0 / 458 MB, free: 2.633 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00198/0.6001, allocations: 0.6324 MB / 458.6 MB, free: 2 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.00355/0.6037, allocations: 342.6 kB / 458.9 MB, free: 1.652 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008444/0.6045, allocations: 327.8 kB / 459.3 MB, free: 1.332 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.482e-06/0.6045, allocations: 0 / 459.3 MB, free: 1.332 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003538/0.6049, allocations: 139.8 kB / 459.4 MB, free: 1.195 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002167/0.6051, allocations: 9.359 kB / 459.4 MB, free: 1.188 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001969/0.6071, allocations: 449.2 kB / 459.9 MB, free: 0.7031 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003812/0.6075, allocations: 0.6929 MB / 460.5 MB, free: 15.98 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003176/0.6078, allocations: 67.34 kB / 460.6 MB, free: 15.91 MB / 394.7 MB Notification: Performance of SimCode: time 1.663e-06/0.6079, allocations: 3.938 kB / 460.6 MB, free: 15.91 MB / 394.7 MB Notification: Performance of Templates: time 0.02907/0.6369, allocations: 15.96 MB / 476.6 MB, free: 15.94 MB / 410.7 MB