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/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) 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.757/1.757, allocations: 171.2 MB / 186.8 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003573/0.0003574, allocations: 12 kB / 233.3 MB, free: 3.004 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07019/0.07057, allocations: 38.76 MB / 272 MB, free: 12.17 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2732/0.3438, allocations: 65.73 MB / 337.7 MB, free: 8.172 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002209/0.3441, allocations: 70.09 kB / 337.8 MB, free: 8.137 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01486/0.359, allocations: 3.551 MB / 341.4 MB, free: 5.074 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.155e-06/0.359, allocations: 0 / 341.4 MB, free: 5.074 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.617e-06/0.3591, allocations: 7.875 kB / 341.4 MB, free: 5.066 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.0004524/0.3595, allocations: 374.8 kB / 341.7 MB, free: 4.656 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.3596, allocations: 16.02 kB / 341.7 MB, free: 4.641 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.734e-05/0.3596, allocations: 0 / 341.7 MB, free: 4.641 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001678/0.3598, allocations: 163.1 kB / 341.9 MB, free: 4.441 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.3598, allocations: 3.188 kB / 341.9 MB, free: 4.441 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.3598, allocations: 7.953 kB / 341.9 MB, free: 4.434 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.881e-05/0.3599, allocations: 33.69 kB / 341.9 MB, free: 4.395 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.36, allocations: 3.906 kB / 341.9 MB, free: 4.391 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.36, allocations: 3.438 kB / 342 MB, free: 4.391 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.249e-06/0.36, allocations: 4 kB / 342 MB, free: 4.387 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.963e-05/0.3601, allocations: 7.984 kB / 342 MB, free: 4.379 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002054/0.3603, allocations: 153.3 kB / 342.1 MB, free: 4.184 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.231e-05/0.3604, allocations: 42.48 kB / 342.2 MB, free: 4.137 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.854e-06/0.3604, allocations: 0 / 342.2 MB, free: 4.137 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.3604, allocations: 34.52 kB / 342.2 MB, free: 4.094 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 1.552e-06/0.3604, allocations: 0 / 342.2 MB, free: 4.094 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001623/0.3606, allocations: 56.66 kB / 342.2 MB, free: 4.039 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/0.3607, allocations: 55.41 kB / 342.3 MB, free: 3.973 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.409e-05/0.3608, allocations: 96.48 kB / 342.4 MB, free: 3.875 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.3608, allocations: 25.7 kB / 342.4 MB, free: 3.844 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.824e-05/0.3609, allocations: 154.6 kB / 342.6 MB, free: 3.691 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.167e-05/0.3609, allocations: 11.81 kB / 342.6 MB, free: 3.68 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-06/0.361, allocations: 3.812 kB / 342.6 MB, free: 3.68 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.3611, allocations: 310.8 kB / 342.9 MB, free: 3.367 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.526e-05/0.3612, allocations: 7.984 kB / 342.9 MB, free: 3.359 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.842e-05/0.3612, allocations: 17.03 kB / 342.9 MB, free: 3.34 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3e-05/0.3612, allocations: 7.812 kB / 342.9 MB, free: 3.336 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.622e-06/0.3613, allocations: 4 kB / 342.9 MB, free: 3.332 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001155/0.3614, allocations: 60.38 kB / 343 MB, free: 3.273 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.3614, allocations: 4 kB / 343 MB, free: 3.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.477e-06/0.3614, allocations: 3.953 kB / 343 MB, free: 3.266 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.3614, allocations: 0 / 343 MB, free: 3.266 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.803e-05/0.3615, allocations: 11.98 kB / 343 MB, free: 3.254 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.585e-06/0.3616, allocations: 0 / 343 MB, free: 3.254 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.043e-05/0.3616, allocations: 8.812 kB / 343 MB, free: 3.246 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.279e-06/0.3616, allocations: 0 / 343 MB, free: 3.246 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 () * 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.713e-05/0.3617, allocations: 113.1 kB / 343.1 MB, free: 3.129 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.463e-05/0.3618, allocations: 7.938 kB / 343.1 MB, free: 3.121 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.979e-05/0.3618, allocations: 3.5 kB / 343.1 MB, free: 3.109 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.534e-06/0.3618, allocations: 3.953 kB / 343.1 MB, free: 3.105 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.864e-06/0.3618, allocations: 0 / 343.1 MB, free: 3.105 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.669e-06/0.3618, allocations: 3.938 kB / 343.1 MB, free: 3.102 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/0.362, allocations: 161.5 kB / 343.3 MB, free: 2.898 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.82e-06/0.362, allocations: 4 kB / 343.3 MB, free: 2.895 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.407e-05/0.3621, allocations: 11.3 kB / 343.3 MB, free: 2.887 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.3621, allocations: 0 / 343.3 MB, free: 2.887 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.3621, allocations: 4 kB / 343.3 MB, free: 2.883 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.3621, allocations: 4 kB / 343.3 MB, free: 2.879 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.572e-06/0.3622, allocations: 3.953 kB / 343.3 MB, free: 2.875 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001575/0.3623, allocations: 75.97 kB / 343.4 MB, free: 2.789 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.377e-05/0.3624, allocations: 77.11 kB / 343.5 MB, free: 2.695 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.3624, allocations: 0 / 343.5 MB, free: 2.695 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.185e-05/0.3625, allocations: 8.016 kB / 343.5 MB, free: 2.688 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.727e-05/0.3625, allocations: 7.891 kB / 343.5 MB, free: 2.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-06/0.3625, allocations: 4.062 kB / 343.5 MB, free: 2.676 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.831e-05/0.3626, allocations: 82.47 kB / 343.6 MB, free: 2.598 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.56e-07/0.3626, allocations: 0 / 343.6 MB, free: 2.598 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004373/0.363, allocations: 71.86 kB / 343.6 MB, free: 2.527 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 () * Number of clocked 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.000344/0.3634, allocations: 172.3 kB / 343.8 MB, free: 2.352 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.939e-05/0.3635, allocations: 19.89 kB / 343.8 MB, free: 2.336 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.2e-06/0.3635, allocations: 0 / 343.8 MB, free: 2.336 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.392e-05/0.3636, allocations: 11.88 kB / 343.8 MB, free: 2.324 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001186/0.3637, allocations: 9.297 kB / 343.9 MB, free: 2.32 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003185/0.364, allocations: 164.4 kB / 344 MB, free: 2.129 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000348/0.3644, allocations: 0.6809 MB / 344.7 MB, free: 1.422 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.533e-05/0.3644, allocations: 11.44 kB / 344.7 MB, free: 1.41 MB / 266.7 MB Notification: Performance of SimCode: time 1.259e-06/0.3644, allocations: 0 / 344.7 MB, free: 1.41 MB / 266.7 MB Notification: Performance of Templates: time 0.003374/0.3678, allocations: 1.223 MB / 345.9 MB, free: 192 kB / 266.7 MB