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.715/1.715, allocations: 171.2 MB / 184.2 MB, free: 11.96 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.751e-05/2.773e-05, allocations: 4 kB / 228.8 MB, free: 15.33 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2091/0.2092, allocations: 38.76 MB / 267.6 MB, free: 9.449 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1005/0.3097, allocations: 65.65 MB / 333.2 MB, free: 7.703 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/0.31, allocations: 67.95 kB / 333.3 MB, free: 7.637 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01568/0.3257, allocations: 3.521 MB / 336.8 MB, free: 4.113 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.115e-06/0.3258, allocations: 0 / 336.8 MB, free: 4.113 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.173e-06/0.3258, allocations: 4 kB / 336.8 MB, free: 4.109 MB / 282.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.0004372/0.3262, allocations: 370.8 kB / 337.2 MB, free: 3.703 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.3263, allocations: 12.03 kB / 337.2 MB, free: 3.691 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.789e-05/0.3263, allocations: 0 / 337.2 MB, free: 3.691 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001806/0.3265, allocations: 167.1 kB / 337.4 MB, free: 3.488 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.3265, allocations: 3.938 kB / 337.4 MB, free: 3.484 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.3266, allocations: 4 kB / 337.4 MB, free: 3.48 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.404e-05/0.3267, allocations: 41.58 kB / 337.4 MB, free: 3.434 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.3267, allocations: 8 kB / 337.4 MB, free: 3.426 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.412e-06/0.3267, allocations: 0 / 337.4 MB, free: 3.426 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.075e-06/0.3267, allocations: 0 / 337.4 MB, free: 3.426 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.362e-05/0.3268, allocations: 8 kB / 337.4 MB, free: 3.418 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001984/0.327, allocations: 157.7 kB / 337.6 MB, free: 3.215 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.301e-05/0.3271, allocations: 34.55 kB / 337.6 MB, free: 3.172 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.145e-05/0.3271, allocations: 8.859 kB / 337.6 MB, free: 3.16 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.345e-05/0.3272, allocations: 4 kB / 337.6 MB, free: 3.156 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.3272, allocations: 38.52 kB / 337.7 MB, free: 3.109 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 2.088e-06/0.3272, allocations: 0 / 337.7 MB, free: 3.109 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001354/0.3274, allocations: 45.69 kB / 337.7 MB, free: 3.059 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.57e-05/0.3274, allocations: 55.41 kB / 337.8 MB, free: 2.992 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.84e-05/0.3275, allocations: 93 kB / 337.8 MB, free: 2.895 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.3276, allocations: 25.7 kB / 337.9 MB, free: 2.863 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.012e-05/0.3277, allocations: 150.6 kB / 338 MB, free: 2.715 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.969e-05/0.3277, allocations: 15.78 kB / 338 MB, free: 2.699 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.247e-06/0.3277, allocations: 8 kB / 338 MB, free: 2.691 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.3279, allocations: 314.8 kB / 338.4 MB, free: 2.375 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.412e-05/0.3279, allocations: 4 kB / 338.4 MB, free: 2.371 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.195e-05/0.328, allocations: 25.66 kB / 338.4 MB, free: 2.34 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.27e-05/0.328, allocations: 8 kB / 338.4 MB, free: 2.332 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.289e-06/0.328, allocations: 0 / 338.4 MB, free: 2.332 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001198/0.3282, allocations: 53.89 kB / 338.4 MB, free: 2.273 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.3282, allocations: 8 kB / 338.4 MB, free: 2.266 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.402e-06/0.3282, allocations: 4.047 kB / 338.5 MB, free: 2.262 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.3283, allocations: 8.062 kB / 338.5 MB, free: 2.254 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.629e-05/0.3284, allocations: 15.98 kB / 338.5 MB, free: 2.238 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.85e-06/0.3284, allocations: 0 / 338.5 MB, free: 2.238 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.426e-05/0.3284, allocations: 5.609 kB / 338.5 MB, free: 2.234 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.567e-06/0.3284, allocations: 0 / 338.5 MB, free: 2.234 MB / 282.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 () * 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 7.877e-05/0.3285, allocations: 105 kB / 338.6 MB, free: 2.125 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.576e-05/0.3286, allocations: 4 kB / 338.6 MB, free: 2.121 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.713e-05/0.3286, allocations: 7.5 kB / 338.6 MB, free: 2.105 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.577e-06/0.3286, allocations: 7.953 kB / 338.6 MB, free: 2.098 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.05e-06/0.3286, allocations: 0 / 338.6 MB, free: 2.098 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.082e-06/0.3286, allocations: 0 / 338.6 MB, free: 2.098 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/0.3288, allocations: 153.7 kB / 338.8 MB, free: 1.898 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3288, allocations: 0 / 338.8 MB, free: 1.898 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.033e-05/0.3289, allocations: 11.98 kB / 338.8 MB, free: 1.887 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.706e-06/0.3289, allocations: 0 / 338.8 MB, free: 1.887 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.283e-06/0.329, allocations: 3.938 kB / 338.8 MB, free: 1.883 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.306e-06/0.329, allocations: 3.938 kB / 338.8 MB, free: 1.879 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.485e-06/0.329, allocations: 7.953 kB / 338.8 MB, free: 1.871 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001585/0.3292, allocations: 73.12 kB / 338.9 MB, free: 1.781 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.005e-05/0.3292, allocations: 85.05 kB / 338.9 MB, free: 1.68 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.3293, allocations: 0 / 338.9 MB, free: 1.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.526e-05/0.3293, allocations: 0 / 338.9 MB, free: 1.68 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.124e-05/0.3293, allocations: 3.984 kB / 338.9 MB, free: 1.676 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.49e-06/0.3293, allocations: 7.953 kB / 338.9 MB, free: 1.668 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.293e-05/0.3294, allocations: 83.28 kB / 339 MB, free: 1.586 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.21e-07/0.3294, allocations: 4.062 kB / 339 MB, free: 1.582 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004393/0.3299, allocations: 71.86 kB / 339.1 MB, free: 1.512 MB / 282.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 () * 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.000353/0.3302, allocations: 171 kB / 339.3 MB, free: 1.336 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.785e-05/0.3304, allocations: 16 kB / 339.3 MB, free: 1.32 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.029e-06/0.3304, allocations: 0 / 339.3 MB, free: 1.32 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.767e-05/0.3304, allocations: 11.98 kB / 339.3 MB, free: 1.309 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001241/0.3306, allocations: 6.703 kB / 339.3 MB, free: 1.305 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002767/0.3309, allocations: 122.6 kB / 339.4 MB, free: 1.152 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003359/0.3312, allocations: 0.6848 MB / 340.1 MB, free: 452 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.42e-05/0.3312, allocations: 7.438 kB / 340.1 MB, free: 444 kB / 282.7 MB Notification: Performance of SimCode: time 1.415e-06/0.3313, allocations: 0 / 340.1 MB, free: 444 kB / 282.7 MB Notification: Performance of Templates: time 0.00352/0.3348, allocations: 1.215 MB / 341.3 MB, free: 15.21 MB / 298.7 MB