Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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_Modelica.Math.Nonlinear.Examples.quadratureLobatto3") Notification: Performance of loadModel(Modelica): time 1.969/1.969, allocations: 171.1 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003693/0.0003694, allocations: 8 kB / 233.9 MB, free: 2.398 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0857/0.08609, allocations: 38.77 MB / 272.6 MB, free: 11.56 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4061/0.4923, allocations: 65.72 MB / 338.3 MB, free: 7.727 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002288/0.4925, allocations: 77.72 kB / 338.4 MB, free: 7.688 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0169/0.5095, allocations: 3.553 MB / 342 MB, free: 4.621 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.5095, allocations: 0 / 342 MB, free: 4.621 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.5095, allocations: 4 kB / 342 MB, free: 4.617 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.000482/0.51, allocations: 378.5 kB / 342.3 MB, free: 4.203 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.5101, allocations: 12.03 kB / 342.4 MB, free: 4.191 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.94e-05/0.5101, allocations: 0 / 342.4 MB, free: 4.191 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/0.5103, allocations: 167.1 kB / 342.5 MB, free: 3.988 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.5103, allocations: 4 kB / 342.5 MB, free: 3.984 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.5104, allocations: 3.953 kB / 342.5 MB, free: 3.98 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.76e-05/0.5104, allocations: 36.75 kB / 342.6 MB, free: 3.941 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.5105, allocations: 3.906 kB / 342.6 MB, free: 3.938 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.5105, allocations: 0 / 342.6 MB, free: 3.938 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.5105, allocations: 0 / 342.6 MB, free: 3.938 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.026e-05/0.5106, allocations: 11.25 kB / 342.6 MB, free: 3.93 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002042/0.5108, allocations: 156.7 kB / 342.7 MB, free: 3.73 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.124e-05/0.5109, allocations: 41.98 kB / 342.8 MB, free: 3.684 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.247e-05/0.5109, allocations: 0 / 342.8 MB, free: 3.684 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.5109, allocations: 34.52 kB / 342.8 MB, free: 3.641 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 1.383e-06/0.511, allocations: 0 / 342.8 MB, free: 3.641 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.000172/0.5111, allocations: 51.47 kB / 342.9 MB, free: 3.59 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.5112, allocations: 51.41 kB / 342.9 MB, free: 3.527 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.5113, allocations: 104.8 kB / 343 MB, free: 3.418 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.5113, allocations: 25.7 kB / 343 MB, free: 3.387 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.195e-05/0.5114, allocations: 86.89 kB / 343.1 MB, free: 3.301 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.382e-05/0.5114, allocations: 15.8 kB / 343.1 MB, free: 3.285 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.708e-06/0.5115, allocations: 3.312 kB / 343.1 MB, free: 3.285 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.5116, allocations: 318.8 kB / 343.4 MB, free: 2.965 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.505e-05/0.5117, allocations: 6.75 kB / 343.5 MB, free: 2.961 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.638e-05/0.5117, allocations: 17.22 kB / 343.5 MB, free: 2.941 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.744e-05/0.5117, allocations: 13.25 kB / 343.5 MB, free: 2.934 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.5118, allocations: 4 kB / 343.5 MB, free: 2.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001232/0.5119, allocations: 53.56 kB / 343.5 MB, free: 2.875 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.5119, allocations: 7.953 kB / 343.5 MB, free: 2.867 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.5119, allocations: 0 / 343.5 MB, free: 2.867 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.512, allocations: 4 kB / 343.5 MB, free: 2.863 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.5121, allocations: 7.984 kB / 343.6 MB, free: 2.855 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.5121, allocations: 7.938 kB / 343.6 MB, free: 2.848 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.098e-05/0.5121, allocations: 4.375 kB / 343.6 MB, free: 2.848 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.5121, allocations: 48 / 343.6 MB, free: 2.848 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.299e-05/0.5122, allocations: 113.9 kB / 343.7 MB, free: 2.727 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.546e-05/0.5123, allocations: 3.984 kB / 343.7 MB, free: 2.723 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.867e-05/0.5123, allocations: 10.89 kB / 343.7 MB, free: 2.707 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.5123, allocations: 3.938 kB / 343.7 MB, free: 2.703 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.5123, allocations: 4 kB / 343.7 MB, free: 2.699 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.5124, allocations: 0 / 343.7 MB, free: 2.699 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001498/0.5125, allocations: 157.1 kB / 343.9 MB, free: 2.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.5125, allocations: 128 / 343.9 MB, free: 2.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.5126, allocations: 11.98 kB / 343.9 MB, free: 2.488 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.5127, allocations: 4 kB / 343.9 MB, free: 2.484 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.5127, allocations: 4 kB / 343.9 MB, free: 2.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/0.5127, allocations: 3.953 kB / 343.9 MB, free: 2.477 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.5127, allocations: 0 / 343.9 MB, free: 2.477 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001623/0.5129, allocations: 70.94 kB / 343.9 MB, free: 2.395 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.686e-05/0.513, allocations: 84.47 kB / 344 MB, free: 2.297 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.513, allocations: 4.031 kB / 344 MB, free: 2.293 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.558e-05/0.513, allocations: 0 / 344 MB, free: 2.293 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.961e-05/0.513, allocations: 3.953 kB / 344 MB, free: 2.289 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.5131, allocations: 4.062 kB / 344 MB, free: 2.285 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.179e-05/0.5131, allocations: 86.78 kB / 344.1 MB, free: 2.203 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5131, allocations: 0 / 344.1 MB, free: 2.203 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004868/0.5136, allocations: 71.86 kB / 344.2 MB, free: 2.133 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.0003948/0.514, allocations: 170.5 kB / 344.4 MB, free: 1.961 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001016/0.5142, allocations: 15.56 kB / 344.4 MB, free: 1.949 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.5142, allocations: 3.938 kB / 344.4 MB, free: 1.945 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.935e-05/0.5142, allocations: 11.98 kB / 344.4 MB, free: 1.934 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001263/0.5143, allocations: 15.88 kB / 344.4 MB, free: 1.918 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003136/0.5147, allocations: 134.7 kB / 344.5 MB, free: 1.762 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003174/0.515, allocations: 0.6848 MB / 345.2 MB, free: 1.051 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.203e-05/0.5151, allocations: 0 / 345.2 MB, free: 1.051 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.701e-05/0.5151, allocations: 11.44 kB / 345.2 MB, free: 1.039 MB / 266.7 MB Notification: Performance of SimCode: time 7.21e-07/0.5151, allocations: 0 / 345.2 MB, free: 1.039 MB / 266.7 MB Notification: Performance of Templates: time 0.00444/0.5196, allocations: 1.022 MB / 346.3 MB, free: 28 kB / 266.7 MB