Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|q|qd",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3") Notification: Performance of loadModel(Modelica): time 1.678/1.678, allocations: 171.3 MB / 179.2 MB, free: 8.184 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.279e-05/2.294e-05, allocations: 4 kB / 222.5 MB, free: 8.793 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07041/0.07046, allocations: 38.77 MB / 261.3 MB, free: 1.945 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2711/0.3416, allocations: 64.98 MB / 326.3 MB, free: 7.203 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000214/0.3419, allocations: 65.78 kB / 326.3 MB, free: 7.172 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01491/0.3568, allocations: 3.513 MB / 329.8 MB, free: 4.188 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.48e-06/0.3569, allocations: 0 / 329.8 MB, free: 4.188 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.934e-06/0.3569, allocations: 0 / 329.8 MB, free: 4.188 MB / 266.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.0004239/0.3573, allocations: 377.4 kB / 330.2 MB, free: 3.777 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.3574, allocations: 8.031 kB / 330.2 MB, free: 3.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.659e-05/0.3574, allocations: 0 / 330.2 MB, free: 3.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001807/0.3576, allocations: 167.1 kB / 330.4 MB, free: 3.566 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.3576, allocations: 4 kB / 330.4 MB, free: 3.562 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.558e-05/0.3577, allocations: 0 / 330.4 MB, free: 3.562 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.65e-05/0.3577, allocations: 19.77 kB / 330.4 MB, free: 3.547 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.626e-05/0.3578, allocations: 37.67 kB / 330.4 MB, free: 3.504 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.3578, allocations: 0 / 330.4 MB, free: 3.504 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.561e-06/0.3579, allocations: 0 / 330.4 MB, free: 3.504 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.003e-06/0.3579, allocations: 0 / 330.4 MB, free: 3.504 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000174/0.3581, allocations: 129.4 kB / 330.6 MB, free: 3.344 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.526e-05/0.3581, allocations: 38.48 kB / 330.6 MB, free: 3.301 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.357e-05/0.3582, allocations: 8.859 kB / 330.6 MB, free: 3.289 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.3582, allocations: 4 kB / 330.6 MB, free: 3.285 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.3582, allocations: 34.5 kB / 330.6 MB, free: 3.242 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 2.254e-06/0.3583, allocations: 0 / 330.6 MB, free: 3.242 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001379/0.3584, allocations: 49.58 kB / 330.7 MB, free: 3.191 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/0.3585, allocations: 51.41 kB / 330.7 MB, free: 3.129 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.813e-05/0.3586, allocations: 100.8 kB / 330.8 MB, free: 3.027 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.3586, allocations: 29.7 kB / 330.9 MB, free: 2.992 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.903e-05/0.3587, allocations: 150.6 kB / 331 MB, free: 2.844 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.164e-05/0.3587, allocations: 11.83 kB / 331 MB, free: 2.832 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.137e-06/0.3587, allocations: 0 / 331 MB, free: 2.832 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.3589, allocations: 314.7 kB / 331.3 MB, free: 2.52 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.055e-05/0.3589, allocations: 4 kB / 331.3 MB, free: 2.516 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.182e-05/0.359, allocations: 17.16 kB / 331.4 MB, free: 2.496 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.663e-05/0.359, allocations: 14.56 kB / 331.4 MB, free: 2.484 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.189e-06/0.359, allocations: 0 / 331.4 MB, free: 2.484 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001116/0.3591, allocations: 49.19 kB / 331.4 MB, free: 2.434 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.3592, allocations: 8 kB / 331.4 MB, free: 2.426 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.3592, allocations: 0 / 331.4 MB, free: 2.426 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.3592, allocations: 0 / 331.4 MB, free: 2.426 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.679e-05/0.3593, allocations: 11.98 kB / 331.4 MB, free: 2.414 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.603e-06/0.3593, allocations: 3.953 kB / 331.4 MB, free: 2.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.202e-05/0.3594, allocations: 4.781 kB / 331.4 MB, free: 2.406 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.979e-06/0.3594, allocations: 8.031 kB / 331.5 MB, free: 2.398 MB / 266.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 8.196e-05/0.3595, allocations: 101 kB / 331.6 MB, free: 2.293 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.25e-05/0.3595, allocations: 0 / 331.6 MB, free: 2.293 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.342e-05/0.3595, allocations: 11.25 kB / 331.6 MB, free: 2.281 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.3596, allocations: 0 / 331.6 MB, free: 2.281 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.644e-06/0.3596, allocations: 0 / 331.6 MB, free: 2.281 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.806e-06/0.3596, allocations: 7.891 kB / 331.6 MB, free: 2.273 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001326/0.3597, allocations: 134.2 kB / 331.7 MB, free: 2.105 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.199e-06/0.3597, allocations: 128 / 331.7 MB, free: 2.105 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.645e-05/0.3598, allocations: 15.16 kB / 331.7 MB, free: 2.094 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.219e-06/0.3599, allocations: 4 kB / 331.7 MB, free: 2.09 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.3599, allocations: 3.984 kB / 331.7 MB, free: 2.086 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.367e-06/0.3599, allocations: 0 / 331.7 MB, free: 2.086 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.973e-06/0.3599, allocations: 3.938 kB / 331.7 MB, free: 2.082 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001524/0.3601, allocations: 76.94 kB / 331.8 MB, free: 1.992 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.99e-05/0.3601, allocations: 81.02 kB / 331.9 MB, free: 1.895 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.948e-05/0.3602, allocations: 4.031 kB / 331.9 MB, free: 1.891 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.659e-05/0.3602, allocations: 1.656 kB / 331.9 MB, free: 1.891 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.642e-05/0.3602, allocations: 4.062 kB / 331.9 MB, free: 1.887 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.689e-06/0.3602, allocations: 3.688 kB / 331.9 MB, free: 1.887 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.727e-05/0.3603, allocations: 83.27 kB / 332 MB, free: 1.805 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.24e-07/0.3603, allocations: 3.938 kB / 332 MB, free: 1.801 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004245/0.3608, allocations: 67.88 kB / 332 MB, free: 1.734 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (q,qd) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0003531/0.3611, allocations: 170.8 kB / 332.2 MB, free: 1.559 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.879e-05/0.3612, allocations: 15.44 kB / 332.2 MB, free: 1.547 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.141e-06/0.3612, allocations: 4.062 kB / 332.2 MB, free: 1.543 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.667e-05/0.3613, allocations: 8 kB / 332.2 MB, free: 1.535 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001226/0.3614, allocations: 3.953 kB / 332.2 MB, free: 1.531 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002673/0.3617, allocations: 116.6 kB / 332.4 MB, free: 1.391 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/0.3621, allocations: 0.6845 MB / 333 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.554e-05/0.3621, allocations: 11.44 kB / 333.1 MB, free: 0.668 MB / 266.7 MB Notification: Performance of SimCode: time 1.421e-06/0.3621, allocations: 0 / 333.1 MB, free: 0.668 MB / 266.7 MB Notification: Performance of Templates: time 0.003604/0.3657, allocations: 1.242 MB / 334.3 MB, free: 15.43 MB / 282.7 MB