Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3") Notification: Performance of loadModel(Modelica): time 1.729/1.729, allocations: 171.2 MB / 187.3 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003804/0.0003806, allocations: 8 kB / 233.8 MB, free: 3.074 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08249/0.0829, allocations: 38.76 MB / 272.5 MB, free: 12.23 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3288/0.4117, allocations: 65.72 MB / 338.3 MB, free: 8.324 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/0.412, allocations: 78.27 kB / 338.3 MB, free: 8.281 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01699/0.429, allocations: 3.548 MB / 341.9 MB, free: 5.223 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4291, allocations: 0 / 341.9 MB, free: 5.223 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.4291, allocations: 0 / 341.9 MB, free: 5.223 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.0004876/0.4296, allocations: 382.9 kB / 342.3 MB, free: 4.805 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.4296, allocations: 8.031 kB / 342.3 MB, free: 4.797 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.234e-05/0.4297, allocations: 8 kB / 342.3 MB, free: 4.789 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.4299, allocations: 159.1 kB / 342.4 MB, free: 4.594 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.4299, allocations: 4 kB / 342.4 MB, free: 4.59 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.559e-05/0.4299, allocations: 3.953 kB / 342.4 MB, free: 4.586 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.252e-05/0.43, allocations: 40.69 kB / 342.5 MB, free: 4.543 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.43, allocations: 3.906 kB / 342.5 MB, free: 4.539 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.4301, allocations: 0 / 342.5 MB, free: 4.539 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.4301, allocations: 7.922 kB / 342.5 MB, free: 4.531 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.229e-05/0.4301, allocations: 7.984 kB / 342.5 MB, free: 4.523 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002029/0.4303, allocations: 168.3 kB / 342.7 MB, free: 4.316 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.407e-05/0.4304, allocations: 30.33 kB / 342.7 MB, free: 4.281 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.284e-05/0.4305, allocations: 4 kB / 342.7 MB, free: 4.277 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.4305, allocations: 38.59 kB / 342.7 MB, free: 4.23 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 1.433e-06/0.4305, allocations: 0 / 342.7 MB, free: 4.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.00017/0.4307, allocations: 45.12 kB / 342.8 MB, free: 4.184 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.4308, allocations: 51.41 kB / 342.8 MB, free: 4.121 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.885e-05/0.4309, allocations: 105.2 kB / 342.9 MB, free: 4.012 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.4309, allocations: 29.45 kB / 343 MB, free: 3.98 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.225e-05/0.431, allocations: 150.6 kB / 343.1 MB, free: 3.832 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.217e-05/0.431, allocations: 11.8 kB / 343.1 MB, free: 3.82 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-06/0.431, allocations: 0 / 343.1 MB, free: 3.82 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.4312, allocations: 320.2 kB / 343.4 MB, free: 3.504 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.546e-05/0.4312, allocations: 7.938 kB / 343.4 MB, free: 3.496 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.877e-05/0.4312, allocations: 17.41 kB / 343.5 MB, free: 3.477 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.738e-05/0.4313, allocations: 14.98 kB / 343.5 MB, free: 3.465 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.4313, allocations: 0 / 343.5 MB, free: 3.465 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001167/0.4314, allocations: 51.33 kB / 343.5 MB, free: 3.414 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.4315, allocations: 17.03 kB / 343.5 MB, free: 3.398 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.4315, allocations: 0 / 343.5 MB, free: 3.398 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.4315, allocations: 0 / 343.5 MB, free: 3.398 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.4316, allocations: 8 kB / 343.5 MB, free: 3.391 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.4316, allocations: 0 / 343.5 MB, free: 3.391 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.198e-05/0.4317, allocations: 6.562 kB / 343.5 MB, free: 3.387 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.4317, allocations: 9.656 kB / 343.6 MB, free: 3.379 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 8.617e-05/0.4318, allocations: 105.8 kB / 343.7 MB, free: 3.266 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.408e-05/0.4318, allocations: 4 kB / 343.7 MB, free: 3.262 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.64e-05/0.4319, allocations: 14.56 kB / 343.7 MB, free: 3.242 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.4319, allocations: 0 / 343.7 MB, free: 3.242 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.4319, allocations: 0 / 343.7 MB, free: 3.242 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.4319, allocations: 0 / 343.7 MB, free: 3.242 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/0.4321, allocations: 152.5 kB / 343.8 MB, free: 3.047 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.4321, allocations: 4 kB / 343.8 MB, free: 3.043 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.4322, allocations: 8 kB / 343.8 MB, free: 3.035 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.4322, allocations: 0 / 343.8 MB, free: 3.035 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.4322, allocations: 2.438 kB / 343.8 MB, free: 3.035 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.733e-06/0.4323, allocations: 3.953 kB / 343.8 MB, free: 3.031 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.4323, allocations: 7.938 kB / 343.9 MB, free: 3.023 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001719/0.4324, allocations: 80.31 kB / 343.9 MB, free: 2.934 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.032e-05/0.4325, allocations: 81.14 kB / 344 MB, free: 2.836 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.4325, allocations: 3.938 kB / 344 MB, free: 2.832 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.902e-05/0.4326, allocations: 4.062 kB / 344 MB, free: 2.828 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.506e-05/0.4326, allocations: 11.11 kB / 344 MB, free: 2.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.4326, allocations: 0 / 344 MB, free: 2.82 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.662e-05/0.4327, allocations: 83.27 kB / 344.1 MB, free: 2.738 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.4327, allocations: 0 / 344.1 MB, free: 2.738 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004543/0.4332, allocations: 70.81 kB / 344.2 MB, free: 2.672 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.0003913/0.4336, allocations: 177.5 kB / 344.4 MB, free: 2.492 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001036/0.4337, allocations: 19.11 kB / 344.4 MB, free: 2.477 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.4337, allocations: 8.062 kB / 344.4 MB, free: 2.469 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.152e-05/0.4337, allocations: 7.938 kB / 344.4 MB, free: 2.461 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001226/0.4339, allocations: 7.5 kB / 344.4 MB, free: 2.457 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000329/0.4342, allocations: 160.3 kB / 344.6 MB, free: 2.266 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.4345, allocations: 0.6809 MB / 345.2 MB, free: 1.559 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.603e-05/0.4345, allocations: 11.44 kB / 345.2 MB, free: 1.547 MB / 266.7 MB Notification: Performance of SimCode: time 2.495e-06/0.4345, allocations: 4 kB / 345.2 MB, free: 1.543 MB / 266.7 MB Notification: Performance of Templates: time 0.00389/0.4384, allocations: 1.226 MB / 346.5 MB, free: 324 kB / 266.7 MB