Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.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.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.2_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") Notification: Performance of loadModel(Modelica): time 1.851/1.851, allocations: 194.9 MB / 211.7 MB, free: 2.98 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003731/0.0003732, allocations: 12 kB / 263.9 MB, free: 13.55 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08262/0.08302, allocations: 44.51 MB / 308.5 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3456/0.4286, allocations: 84.24 MB / 392.7 MB, free: 18.74 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002463/0.4289, allocations: 92.17 kB / 392.8 MB, free: 18.74 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2242/0.6531, allocations: 61.16 MB / 453.9 MB, free: 3.285 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.535e-06/0.6532, allocations: 0 / 453.9 MB, free: 3.285 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001624/0.6533, allocations: 55.94 kB / 454 MB, free: 3.23 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.01165/0.665, allocations: 3.172 MB / 457.2 MB, free: 208 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.6651, allocations: 8.031 kB / 457.2 MB, free: 200 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01186/0.677, allocations: 1.995 MB / 459.2 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01162/0.6886, allocations: 3.55 MB / 462.7 MB, free: 11.15 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003047/0.689, allocations: 217.4 kB / 462.9 MB, free: 10.94 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001343/0.6903, allocations: 271.9 kB / 463.2 MB, free: 10.67 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01918/0.7095, allocations: 7.946 MB / 471.1 MB, free: 1.719 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001763/0.7097, allocations: 55.47 kB / 471.2 MB, free: 1.664 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008993/0.7106, allocations: 147.9 kB / 471.3 MB, free: 1.52 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001644/0.7123, allocations: 0.7845 MB / 472.1 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0179/0.7302, allocations: 6.537 MB / 478.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08159/0.8119, allocations: 41.4 MB / 0.5079 GB, free: 15.4 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00907/0.821, allocations: 2.947 MB / 0.5108 GB, free: 12.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001012/0.8221, allocations: 0.6394 MB / 0.5114 GB, free: 11.56 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.838e-05/0.8221, allocations: 43.12 kB / 0.5114 GB, free: 11.51 MB / 410.7 MB Notification: Performance of pre-optimization done (n=120): time 5.68e-06/0.8221, allocations: 0 / 0.5114 GB, free: 11.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=154): time 0.3977/1.22, allocations: 23.13 MB / 0.534 GB, free: 109.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.076e-05/1.22, allocations: 142.6 kB / 0.5341 GB, free: 109.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0103/1.23, allocations: 2.916 MB / 0.537 GB, free: 109.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005421/1.231, allocations: 48.83 kB / 0.537 GB, free: 109.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001782/1.233, allocations: 2.29 MB / 0.5393 GB, free: 107.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008566/1.234, allocations: 0.6134 MB / 0.5399 GB, free: 107.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005382/1.234, allocations: 102 kB / 0.54 GB, free: 107.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003394/1.234, allocations: 0.5225 MB / 0.5405 GB, free: 107.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004665/1.239, allocations: 2.401 MB / 0.5428 GB, free: 107.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006232/1.245, allocations: 5.558 MB / 0.5483 GB, free: 103.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00623/1.252, allocations: 3.57 MB / 0.5517 GB, free: 103.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.506e-05/1.252, allocations: 31.44 kB / 0.5518 GB, free: 103.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=676) (initialization): time 0.03281/1.285, allocations: 11.4 MB / 0.5629 GB, free: 99.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.38e-05/1.285, allocations: 57.56 kB / 0.563 GB, free: 99.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001291/1.285, allocations: 114.2 kB / 0.5631 GB, free: 99.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02523/1.31, allocations: 4.153 MB / 0.5671 GB, free: 98.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009347/1.32, allocations: 1.169 MB / 0.5683 GB, free: 98.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05545/1.375, allocations: 14.26 MB / 0.5822 GB, free: 92.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01082/1.386, allocations: 354.8 kB / 0.5825 GB, free: 92.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001088/1.387, allocations: 327 kB / 0.5828 GB, free: 92.62 MB / 410.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.003633/1.391, allocations: 1.608 MB / 0.5844 GB, free: 91.82 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007834/1.392, allocations: 279 kB / 0.5847 GB, free: 91.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02145/1.413, allocations: 6.963 MB / 0.5915 GB, free: 86.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.708e-05/1.413, allocations: 19.95 kB / 0.5915 GB, free: 86.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.418e-05/1.413, allocations: 12 kB / 0.5915 GB, free: 86.95 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.824e-05/1.413, allocations: 7.938 kB / 0.5915 GB, free: 86.94 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0393/1.452, allocations: 14.64 MB / 0.6058 GB, free: 74.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.332e-05/1.453, allocations: 4 kB / 0.6058 GB, free: 74.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001373/1.454, allocations: 239.5 kB / 0.606 GB, free: 74.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01823/1.472, allocations: 4.768 MB / 0.6107 GB, free: 69.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004371/1.473, allocations: 52.91 kB / 0.6108 GB, free: 69.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02634/1.499, allocations: 14.38 MB / 0.6248 GB, free: 55.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.494e-06/1.499, allocations: 0 / 0.6248 GB, free: 55.11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02748/1.527, allocations: 11.14 MB / 0.6357 GB, free: 43.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009707/1.528, allocations: 353.2 kB / 0.636 GB, free: 43.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009552/1.529, allocations: 41.16 kB / 0.636 GB, free: 43.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002708/1.531, allocations: 191.7 kB / 0.6362 GB, free: 43.31 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006063/1.532, allocations: 108.8 kB / 0.6363 GB, free: 43.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002281/1.532, allocations: 49.45 kB / 0.6364 GB, free: 43.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004164/1.536, allocations: 2.032 MB / 0.6384 GB, free: 41.13 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.136e-06/1.536, allocations: 0 / 0.6384 GB, free: 41.13 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006072/1.542, allocations: 0.9012 MB / 0.6392 GB, free: 40.23 MB / 410.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.0005748/1.543, allocations: 175.2 kB / 0.6394 GB, free: 40.06 MB / 410.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Mechanics/MultiBody/Parts.mo:2651:5-2655: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.2/Mechanics/MultiBody/Parts.mo:2651:5-2655: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.01389/1.557, allocations: 6.867 MB / 0.6461 GB, free: 33.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.278e-06/1.557, allocations: 0 / 0.6461 GB, free: 33.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007071/1.564, allocations: 3.229 MB / 0.6493 GB, free: 29.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002292/1.566, allocations: 310.3 kB / 0.6496 GB, free: 29.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01606/1.583, allocations: 9.395 MB / 0.6587 GB, free: 20.05 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003637/1.586, allocations: 2.555 MB / 0.6612 GB, free: 17.48 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009253/1.587, allocations: 239.4 kB / 0.6615 GB, free: 17.24 MB / 410.7 MB Notification: Performance of SimCode: time 1.964e-06/1.587, allocations: 0 / 0.6615 GB, free: 17.24 MB / 410.7 MB Notification: Performance of Templates: time 0.4096/1.997, allocations: 134.6 MB / 0.7929 GB, free: 15.75 MB / 410.7 MB