Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3") Notification: Performance of loadModel(Modelica): time 1.876/1.876, allocations: 194.9 MB / 211.7 MB, free: 2.984 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003583/0.0003584, allocations: 8 kB / 263.9 MB, free: 13.57 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07977/0.08015, allocations: 44.51 MB / 308.4 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3755/0.4557, allocations: 71.04 MB / 379.5 MB, free: 18.92 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000329/0.4561, allocations: 70.06 kB / 379.6 MB, free: 18.92 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02224/0.4783, allocations: 3.537 MB / 383.1 MB, free: 18.45 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.78e-06/0.4784, allocations: 0 / 383.1 MB, free: 18.45 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.171e-06/0.4784, allocations: 0 / 383.1 MB, free: 18.45 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.0004191/0.4789, allocations: 381.6 kB / 383.5 MB, free: 18.06 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.4789, allocations: 8.938 kB / 383.5 MB, free: 18.06 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.852e-05/0.479, allocations: 9.625 kB / 383.5 MB, free: 18.05 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.4791, allocations: 166.6 kB / 383.6 MB, free: 17.85 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.4792, allocations: 7.156 kB / 383.6 MB, free: 17.85 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/0.4792, allocations: 1.812 kB / 383.7 MB, free: 17.85 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.192e-05/0.4793, allocations: 32.91 kB / 383.7 MB, free: 17.82 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.4793, allocations: 3.984 kB / 383.7 MB, free: 17.82 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.613e-06/0.4794, allocations: 0 / 383.7 MB, free: 17.82 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.4794, allocations: 5.938 kB / 383.7 MB, free: 17.81 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.32e-05/0.4795, allocations: 13.66 kB / 383.7 MB, free: 17.81 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001818/0.4797, allocations: 162.9 kB / 383.9 MB, free: 17.61 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.4798, allocations: 34.5 kB / 383.9 MB, free: 17.59 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.4798, allocations: 1.438 kB / 383.9 MB, free: 17.59 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.4799, allocations: 30.56 kB / 383.9 MB, free: 17.55 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 2.752e-06/0.4799, allocations: 5.438 kB / 383.9 MB, free: 17.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002024/0.4801, allocations: 46.81 kB / 384 MB, free: 17.51 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/0.4801, allocations: 58.83 kB / 384 MB, free: 17.45 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.508e-05/0.4802, allocations: 94.81 kB / 384.1 MB, free: 17.36 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.4803, allocations: 27.2 kB / 384.2 MB, free: 17.32 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.589e-05/0.4803, allocations: 154.3 kB / 384.3 MB, free: 17.18 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.516e-05/0.4804, allocations: 10.91 kB / 384.3 MB, free: 17.17 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.244e-06/0.4804, allocations: 0 / 384.3 MB, free: 17.17 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.808e-05/0.4805, allocations: 315.8 kB / 384.6 MB, free: 16.86 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.498e-05/0.4805, allocations: 9.953 kB / 384.6 MB, free: 16.85 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.785e-05/0.4806, allocations: 20.61 kB / 384.7 MB, free: 16.84 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.561e-05/0.4807, allocations: 7.938 kB / 384.7 MB, free: 16.84 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.736e-06/0.4807, allocations: 0 / 384.7 MB, free: 16.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001694/0.4809, allocations: 61.41 kB / 384.7 MB, free: 16.8 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.4809, allocations: 5.531 kB / 384.7 MB, free: 16.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.204e-06/0.4809, allocations: 0 / 384.7 MB, free: 16.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.481, allocations: 1.375 kB / 384.7 MB, free: 16.8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.4811, allocations: 12.73 kB / 384.7 MB, free: 16.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.259e-06/0.4811, allocations: 1.375 kB / 384.7 MB, free: 16.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.669e-05/0.4812, allocations: 1 kB / 384.7 MB, free: 16.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.731e-06/0.4812, allocations: 2.75 kB / 384.7 MB, free: 16.79 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.884e-05/0.4813, allocations: 107.2 kB / 384.9 MB, free: 16.68 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.347e-05/0.4813, allocations: 11.11 kB / 384.9 MB, free: 16.67 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.337e-05/0.4814, allocations: 8.438 kB / 384.9 MB, free: 16.67 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.564e-06/0.4814, allocations: 0 / 384.9 MB, free: 16.67 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.621e-06/0.4814, allocations: 0 / 384.9 MB, free: 16.67 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.898e-06/0.4814, allocations: 9.312 kB / 384.9 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001136/0.4816, allocations: 161.3 kB / 385 MB, free: 16.47 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.86e-06/0.4816, allocations: 3.188 kB / 385 MB, free: 16.47 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001239/0.4817, allocations: 7.656 kB / 385 MB, free: 16.47 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.354e-06/0.4818, allocations: 4.375 kB / 385.1 MB, free: 16.46 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.4818, allocations: 5.312 kB / 385.1 MB, free: 16.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.71e-06/0.4818, allocations: 0 / 385.1 MB, free: 16.46 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.334e-06/0.4818, allocations: 1.375 kB / 385.1 MB, free: 16.46 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001761/0.482, allocations: 81.05 kB / 385.1 MB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.441e-05/0.4821, allocations: 80.31 kB / 385.2 MB, free: 16.3 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.508e-05/0.4821, allocations: 3.953 kB / 385.2 MB, free: 16.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.225e-05/0.4822, allocations: 4.875 kB / 385.2 MB, free: 16.29 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.819e-05/0.4822, allocations: 1.875 kB / 385.2 MB, free: 16.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.923e-06/0.4822, allocations: 1.375 kB / 385.2 MB, free: 16.29 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.949e-05/0.4823, allocations: 81.42 kB / 385.3 MB, free: 16.22 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.45e-07/0.4823, allocations: 3.938 kB / 385.3 MB, free: 16.21 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007156/0.483, allocations: 73.42 kB / 385.4 MB, free: 16.19 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.0004513/0.4835, allocations: 171.7 kB / 385.6 MB, free: 16.08 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001227/0.4837, allocations: 20.09 kB / 385.6 MB, free: 16.08 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/0.4837, allocations: 0 / 385.6 MB, free: 16.08 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.651e-05/0.4838, allocations: 9.219 kB / 385.6 MB, free: 16.08 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000188/0.484, allocations: 5.25 kB / 385.6 MB, free: 16.07 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003331/0.4843, allocations: 168.4 kB / 385.8 MB, free: 15.91 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001361/0.4845, allocations: 0.6814 MB / 386.4 MB, free: 15.21 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.858e-05/0.4845, allocations: 9.312 kB / 386.4 MB, free: 15.21 MB / 314.7 MB Notification: Performance of SimCode: time 1.891e-06/0.4845, allocations: 1 kB / 386.4 MB, free: 15.21 MB / 314.7 MB Notification: Performance of Templates: time 0.004295/0.4888, allocations: 1.23 MB / 387.7 MB, free: 15.08 MB / 314.7 MB