Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_Modelica.Math.Nonlinear.Examples.quadratureLobatto3") Notification: Performance of loadModel(Modelica): time 2.22/2.22, allocations: 194.8 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003554/0.0003557, allocations: 23.98 kB / 264.5 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1235, allocations: 44.51 MB / 309 MB, free: 376 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4/0.5235, allocations: 71.03 MB / 380.1 MB, free: 15.46 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003149/0.5239, allocations: 75.47 kB / 380.2 MB, free: 15.46 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.017/0.5409, allocations: 3.543 MB / 383.7 MB, free: 14.99 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.541, allocations: 0 / 383.7 MB, free: 14.99 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.541, allocations: 1.375 kB / 383.7 MB, free: 14.99 MB / 314.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.0004431/0.5414, allocations: 374.7 kB / 384.1 MB, free: 14.61 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.5415, allocations: 9.625 kB / 384.1 MB, free: 14.61 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.195e-05/0.5415, allocations: 5.281 kB / 384.1 MB, free: 14.6 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.5417, allocations: 165.8 kB / 384.2 MB, free: 14.4 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.5417, allocations: 4 kB / 384.2 MB, free: 14.4 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.5417, allocations: 8 kB / 384.3 MB, free: 14.4 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.802e-05/0.5418, allocations: 37.19 kB / 384.3 MB, free: 14.36 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.5418, allocations: 5.312 kB / 384.3 MB, free: 14.36 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.5419, allocations: 3.938 kB / 384.3 MB, free: 14.36 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.5419, allocations: 3.984 kB / 384.3 MB, free: 14.35 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.47e-05/0.5419, allocations: 8.875 kB / 384.3 MB, free: 14.35 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001585/0.5421, allocations: 163.8 kB / 384.5 MB, free: 14.16 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.029e-05/0.5422, allocations: 36.19 kB / 384.5 MB, free: 14.13 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.284e-05/0.5422, allocations: 3.938 kB / 384.5 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.5422, allocations: 31.94 kB / 384.5 MB, free: 14.09 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.813e-06/0.5423, allocations: 0 / 384.5 MB, free: 14.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.000169/0.5424, allocations: 51.19 kB / 384.6 MB, free: 14.05 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.744e-05/0.5425, allocations: 52.78 kB / 384.6 MB, free: 13.99 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.044e-05/0.5426, allocations: 102.6 kB / 384.7 MB, free: 13.89 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/0.5426, allocations: 29.7 kB / 384.8 MB, free: 13.86 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.908e-05/0.5426, allocations: 81.52 kB / 384.8 MB, free: 13.78 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.166e-05/0.5427, allocations: 12.75 kB / 384.9 MB, free: 13.77 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-06/0.5427, allocations: 0 / 384.9 MB, free: 13.77 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.828e-05/0.5427, allocations: 315.4 kB / 385.2 MB, free: 13.46 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.564e-05/0.5428, allocations: 11.19 kB / 385.2 MB, free: 13.45 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.497e-05/0.5428, allocations: 19.03 kB / 385.2 MB, free: 13.44 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.659e-05/0.5429, allocations: 13.77 kB / 385.2 MB, free: 13.43 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.5429, allocations: 5.328 kB / 385.2 MB, free: 13.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001066/0.543, allocations: 51.45 kB / 385.3 MB, free: 13.4 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.543, allocations: 9.438 kB / 385.3 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.543, allocations: 0 / 385.3 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.5431, allocations: 1.375 kB / 385.3 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.5432, allocations: 9.781 kB / 385.3 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.5432, allocations: 1.375 kB / 385.3 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.227e-05/0.5432, allocations: 4.906 kB / 385.3 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.5433, allocations: 2.75 kB / 385.3 MB, free: 13.39 MB / 314.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 6.023e-05/0.5433, allocations: 111.2 kB / 385.4 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.396e-05/0.5434, allocations: 9.016 kB / 385.4 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.98e-05/0.5434, allocations: 4.875 kB / 385.4 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.5434, allocations: 0 / 385.4 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.5434, allocations: 0 / 385.4 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.5434, allocations: 4.141 kB / 385.4 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.91e-05/0.5435, allocations: 155.2 kB / 385.6 MB, free: 13.08 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.5436, allocations: 1.375 kB / 385.6 MB, free: 13.08 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/0.5437, allocations: 13.89 kB / 385.6 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.5437, allocations: 6.719 kB / 385.6 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.5437, allocations: 1.375 kB / 385.6 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.5437, allocations: 128 / 385.6 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.5437, allocations: 4 kB / 385.6 MB, free: 13.06 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001536/0.5439, allocations: 91.62 kB / 385.7 MB, free: 12.99 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.154e-05/0.544, allocations: 84.52 kB / 385.8 MB, free: 12.89 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.841e-05/0.544, allocations: 5.328 kB / 385.8 MB, free: 12.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.574e-05/0.544, allocations: 0 / 385.8 MB, free: 12.89 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.565e-05/0.544, allocations: 7.5 kB / 385.8 MB, free: 12.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.5441, allocations: 1.375 kB / 385.8 MB, free: 12.88 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.754e-05/0.5441, allocations: 82.41 kB / 385.9 MB, free: 12.81 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5441, allocations: 0 / 385.9 MB, free: 12.81 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005025/0.5446, allocations: 71.72 kB / 385.9 MB, free: 12.79 MB / 314.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.000362/0.545, allocations: 168.9 kB / 386.1 MB, free: 12.68 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001179/0.5451, allocations: 20.06 kB / 386.1 MB, free: 12.68 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.5452, allocations: 5.438 kB / 386.1 MB, free: 12.67 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.317e-05/0.5452, allocations: 7 kB / 386.1 MB, free: 12.67 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001267/0.5453, allocations: 0 / 386.1 MB, free: 12.67 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000305/0.5456, allocations: 134.5 kB / 386.3 MB, free: 12.55 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000127/0.5458, allocations: 0.6829 MB / 386.9 MB, free: 11.85 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.148e-05/0.5459, allocations: 2.031 kB / 387 MB, free: 11.85 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.298e-05/0.5459, allocations: 13.88 kB / 387 MB, free: 11.84 MB / 314.7 MB Notification: Performance of SimCode: time 7.71e-07/0.5459, allocations: 0 / 387 MB, free: 11.84 MB / 314.7 MB Notification: Performance of Templates: time 0.004664/0.5506, allocations: 1.016 MB / 388 MB, free: 11.76 MB / 314.7 MB