Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.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.Mechanics.MultiBody.Examples.Elementary.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wheel1.angles.1.|wheel1.angles.2.|wheel1.angles.3.|wheel1.der_angles.1.|wheel1.der_angles.2.|wheel1.der_angles.3.|wheel1.x|wheel1.y",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") Notification: Performance of loadModel(Modelica): time 1.533/1.533, allocations: 171.2 MB / 186.7 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006072/0.0006077, allocations: 8 kB / 233.2 MB, free: 3.023 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07747/0.07812, allocations: 38.78 MB / 272 MB, free: 12.17 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2986/0.3767, allocations: 78.6 MB / 350.6 MB, free: 11.56 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/0.3771, allocations: 86.2 kB / 350.7 MB, free: 11.51 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2383/0.6154, allocations: 61.18 MB / 411.9 MB, free: 3.832 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.602e-06/0.6154, allocations: 0 / 411.9 MB, free: 3.832 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001572/0.6156, allocations: 52 kB / 411.9 MB, free: 3.781 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1051 * Number of variables: 1051 Notification: Performance of Generate backend data structure: time 0.01076/0.6264, allocations: 3.174 MB / 415.1 MB, free: 0.543 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.6264, allocations: 8.031 kB / 415.1 MB, free: 0.5352 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01133/0.6378, allocations: 1.985 MB / 417.1 MB, free: 14.54 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01148/0.6493, allocations: 3.553 MB / 420.7 MB, free: 10.94 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002544/0.6496, allocations: 205.5 kB / 420.9 MB, free: 10.74 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001104/0.6507, allocations: 283.8 kB / 421.1 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01777/0.6685, allocations: 7.953 MB / 429.1 MB, free: 1.496 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001578/0.6687, allocations: 55.47 kB / 429.1 MB, free: 1.441 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006607/0.6694, allocations: 143.9 kB / 429.3 MB, free: 1.301 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001514/0.6709, allocations: 0.7806 MB / 430.1 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2088/0.8797, allocations: 6.543 MB / 436.6 MB, free: 79.74 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0427/0.9225, allocations: 41.38 MB / 478 MB, free: 52.07 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008297/0.9308, allocations: 2.956 MB / 480.9 MB, free: 50.81 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007196/0.9316, allocations: 0.6355 MB / 481.6 MB, free: 50.23 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.9316, allocations: 48.47 kB / 481.6 MB, free: 50.18 MB / 346.7 MB Notification: Performance of pre-optimization done (n=120): time 6.501e-06/0.9316, allocations: 0 / 481.6 MB, free: 50.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=154): time 0.0972/1.029, allocations: 23.14 MB / 0.4929 GB, free: 44.54 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.379e-05/1.029, allocations: 147.2 kB / 0.4931 GB, free: 44.38 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005234/1.034, allocations: 2.916 MB / 0.4959 GB, free: 43.36 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003775/1.035, allocations: 49.61 kB / 0.496 GB, free: 43.3 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001534/1.036, allocations: 2.289 MB / 0.4982 GB, free: 41.54 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007583/1.037, allocations: 0.6099 MB / 0.4988 GB, free: 41.11 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004696/1.037, allocations: 105.7 kB / 0.4989 GB, free: 41.02 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003128/1.038, allocations: 0.5215 MB / 0.4994 GB, free: 40.62 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004461/1.042, allocations: 2.4 MB / 0.5017 GB, free: 38.72 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006058/1.048, allocations: 5.555 MB / 0.5072 GB, free: 32.02 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006265/1.055, allocations: 3.569 MB / 0.5107 GB, free: 28.82 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-05/1.055, allocations: 32 kB / 0.5107 GB, free: 28.79 MB / 346.7 MB Notification: Performance of matching and sorting (n=676) (initialization): time 0.03099/1.086, allocations: 11.4 MB / 0.5218 GB, free: 18.25 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.971e-05/1.086, allocations: 56 kB / 0.5219 GB, free: 18.19 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001211/1.086, allocations: 116.1 kB / 0.522 GB, free: 18.08 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01694/1.103, allocations: 4.163 MB / 0.526 GB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004457/1.107, allocations: 1.166 MB / 0.5272 GB, free: 12.72 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02725/1.135, allocations: 14.25 MB / 0.5411 GB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005627/1.14, allocations: 363.4 kB / 0.5415 GB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001144/1.142, allocations: 325.8 kB / 0.5418 GB, free: 13.66 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 512 * Number of states: 0 () * Number of discrete variables: 15 (ground.fixed.color[3],ground.fixed.color[2],ground.fixed.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],wheel1.body.sphereColor[3],wheel1.body.sphereColor[2],wheel1.body.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (616): * Single equations (assignments): 606 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(2,100.0%),(2,100.0%),(2,100.0%),(3,88.9%),(3,88.9%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,60.0%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004062/1.146, allocations: 1.594 MB / 0.5433 GB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008147/1.147, allocations: 280.3 kB / 0.5436 GB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02408/1.171, allocations: 6.954 MB / 0.5504 GB, free: 4.793 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.518e-05/1.171, allocations: 20 kB / 0.5504 GB, free: 4.773 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.553e-05/1.171, allocations: 15.94 kB / 0.5504 GB, free: 4.758 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.999e-05/1.171, allocations: 9.75 kB / 0.5504 GB, free: 4.75 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3532/1.524, allocations: 14.65 MB / 0.5647 GB, free: 87.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.508e-05/1.524, allocations: 0.9062 kB / 0.5647 GB, free: 87.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001429/1.525, allocations: 225.3 kB / 0.5649 GB, free: 87.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01976/1.545, allocations: 4.772 MB / 0.5696 GB, free: 87.33 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004214/1.546, allocations: 46.75 kB / 0.5697 GB, free: 87.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0292/1.575, allocations: 14.37 MB / 0.5837 GB, free: 85.63 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.434e-06/1.575, allocations: 3.469 kB / 0.5837 GB, free: 85.63 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02928/1.604, allocations: 11.14 MB / 0.5946 GB, free: 82.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000869/1.605, allocations: 351.7 kB / 0.5949 GB, free: 82.09 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006334/1.606, allocations: 36.81 kB / 0.5949 GB, free: 82.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002337/1.608, allocations: 195.9 kB / 0.5951 GB, free: 82.05 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005014/1.609, allocations: 108.6 kB / 0.5952 GB, free: 82.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002295/1.609, allocations: 51.3 kB / 0.5953 GB, free: 82.04 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003596/1.613, allocations: 2.032 MB / 0.5973 GB, free: 81.32 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.37e-07/1.613, allocations: 0 / 0.5973 GB, free: 81.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005734/1.618, allocations: 0.9094 MB / 0.5982 GB, free: 81.22 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (wheel1.x,wheel1.y,wheel1.angles[1],wheel1.angles[2],wheel1.angles[3],wheel1.der_angles[1],wheel1.der_angles[2],wheel1.der_angles[3]) * 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 (104): * Single equations (assignments): 94 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(2,100.0%),(2,100.0%),(3,88.9%),(2,100.0%),(3,88.9%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,65.6%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005303/1.619, allocations: 178.4 kB / 0.5983 GB, free: 81.11 MB / 362.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:2674:5-2678:74:writable] Warning: Variable $DER.wheel1.der_angles[2] has attribute stateSelect=StateSelect.always, but can't be selected as a state. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:2674:5-2678:74:writable] Warning: Variable $DER.wheel1.der_angles[1] has attribute stateSelect=StateSelect.always, but can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.01428/1.633, allocations: 6.865 MB / 0.605 GB, free: 78.55 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.635e-06/1.633, allocations: 0 / 0.605 GB, free: 78.55 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007774/1.641, allocations: 3.227 MB / 0.6082 GB, free: 76.97 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002216/1.643, allocations: 321.3 kB / 0.6085 GB, free: 76.83 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01525/1.659, allocations: 9.391 MB / 0.6177 GB, free: 70.34 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003056/1.662, allocations: 2.555 MB / 0.6202 GB, free: 68.34 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009174/1.663, allocations: 248.8 kB / 0.6204 GB, free: 68.12 MB / 362.7 MB Notification: Performance of SimCode: time 1.81e-06/1.663, allocations: 0 / 0.6204 GB, free: 68.12 MB / 362.7 MB Notification: Performance of Templates: time 0.355/2.018, allocations: 134.6 MB / 0.7518 GB, free: 57.21 MB / 362.7 MB