Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") Notification: Performance of loadModel(Modelica): time 1.003/1.003, allocations: 111.1 MB / 127.3 MB, free: 6.145 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002732/0.0002734, allocations: 8 kB / 158.9 MB, free: 15.22 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05128/0.05158, allocations: 25.16 MB / 184 MB, free: 6.016 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2223/0.2739, allocations: 44.39 MB / 228.4 MB, free: 2.289 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/0.2742, allocations: 78.95 kB / 228.5 MB, free: 2.25 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.302/3.576, allocations: 374.8 MB / 0.5892 GB, free: 36.51 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.474e-06/3.577, allocations: 0 / 0.5892 GB, free: 36.51 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.000168/3.577, allocations: 78.25 kB / 0.5893 GB, free: 36.5 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1501 * Number of variables: 1501 Notification: Performance of Generate backend data structure: time 0.2472/3.824, allocations: 33.7 MB / 0.6222 GB, free: 23.14 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/3.824, allocations: 8.031 kB / 0.6222 GB, free: 23.14 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.445/12.27, allocations: 0.8338 GB / 1.456 GB, free: 56.8 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05171/12.32, allocations: 14.33 MB / 1.47 GB, free: 56.12 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005176/12.32, allocations: 313.1 kB / 1.47 GB, free: 56.02 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01509/12.34, allocations: 398.3 kB / 1.471 GB, free: 55.91 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 2.329/14.67, allocations: 267.4 MB / 1.732 GB, free: 24.05 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002706/14.67, allocations: 32.41 kB / 1.732 GB, free: 24.04 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01254/14.68, allocations: 178.3 kB / 1.732 GB, free: 23.89 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006007/14.68, allocations: 1.481 MB / 1.733 GB, free: 22.42 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.829/19.51, allocations: 0.5118 GB / 2.245 GB, free: 39.68 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.179/25.69, allocations: 0.7685 GB / 3.014 GB, free: 35.35 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.6848/26.38, allocations: 68.31 MB / 3.08 GB, free: 62.16 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001211/26.38, allocations: 0.6608 MB / 3.081 GB, free: 61.6 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.162e-05/26.38, allocations: 73.59 kB / 3.081 GB, free: 61.56 MB / 282.7 MB Notification: Performance of pre-optimization done (n=213): time 6.923e-06/26.38, allocations: 0 / 3.081 GB, free: 61.56 MB / 282.7 MB Notification: Performance of matching and sorting (n=246): time 1.929/28.31, allocations: 212.6 MB / 3.289 GB, free: 61.82 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001445/28.31, allocations: 468.5 kB / 3.289 GB, free: 61.29 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009234/28.32, allocations: 4.241 MB / 3.293 GB, free: 61.04 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00421/28.32, allocations: 64.78 kB / 3.293 GB, free: 61.01 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002497/28.32, allocations: 2.944 MB / 3.296 GB, free: 59.43 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004833/28.33, allocations: 0.9365 MB / 3.297 GB, free: 58.89 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004316/28.33, allocations: 134.8 kB / 3.297 GB, free: 58.89 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0005015/28.33, allocations: 0.6015 MB / 3.298 GB, free: 58.56 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.6821/29.02, allocations: 67.45 MB / 3.364 GB, free: 61.38 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.5026/29.52, allocations: 71.51 MB / 3.434 GB, free: 44.68 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.6232/30.14, allocations: 55.43 MB / 3.488 GB, free: 55.75 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001517/30.14, allocations: 37.84 kB / 3.488 GB, free: 55.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=893) (initialization): time 1.165/31.31, allocations: 130.1 MB / 3.615 GB, free: 48.96 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001213/31.31, allocations: 64 kB / 3.615 GB, free: 48.89 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002182/31.31, allocations: 144 kB / 3.615 GB, free: 48.75 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0252/31.33, allocations: 4.211 MB / 3.619 GB, free: 44.56 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.4211/31.75, allocations: 28.09 MB / 3.647 GB, free: 53.3 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03741/31.79, allocations: 14.31 MB / 3.661 GB, free: 51.82 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2244/32.02, allocations: 25.7 MB / 3.686 GB, free: 51.69 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005796/32.02, allocations: 1.1 MB / 3.687 GB, free: 51.57 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 653 * 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 (833): * Single equations (assignments): 823 * 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.01214/32.03, allocations: 2.121 MB / 3.689 GB, free: 50.68 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004476/32.04, allocations: 369.1 kB / 3.689 GB, free: 50.67 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0323/32.07, allocations: 7.201 MB / 3.696 GB, free: 48.56 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.529e-05/32.07, allocations: 32.03 kB / 3.696 GB, free: 48.56 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.694e-05/32.07, allocations: 10.94 kB / 3.696 GB, free: 48.56 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.038e-05/32.07, allocations: 16.73 kB / 3.696 GB, free: 48.56 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.857/32.93, allocations: 113.2 MB / 3.807 GB, free: 47.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.978e-05/32.93, allocations: 8 kB / 3.807 GB, free: 47.56 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2249/33.15, allocations: 26.86 MB / 3.833 GB, free: 21.06 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02503/33.18, allocations: 3.952 MB / 3.837 GB, free: 17.74 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.1995/33.38, allocations: 0.699 MB / 3.838 GB, free: 52.02 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03611/33.41, allocations: 13.31 MB / 3.851 GB, free: 50.75 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.265e-05/33.41, allocations: 17 kB / 3.851 GB, free: 50.75 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.874/35.29, allocations: 200 MB / 4.046 GB, free: 51.68 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001631/35.29, allocations: 0.4989 MB / 4.046 GB, free: 51.57 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006425/35.3, allocations: 59.73 kB / 4.046 GB, free: 51.57 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.2215/35.52, allocations: 25.4 MB / 4.071 GB, free: 51.57 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001209/35.52, allocations: 224.1 kB / 4.072 GB, free: 51.57 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004492/35.52, allocations: 0.7475 MB / 4.072 GB, free: 51.57 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.007358/35.53, allocations: 2.676 MB / 4.075 GB, free: 51.43 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.21e-07/35.53, allocations: 3.031 kB / 4.075 GB, free: 51.43 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.02043/35.55, allocations: 2.399 MB / 4.077 GB, free: 51.43 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * 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 (196): * Single equations (assignments): 186 * 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.004168/35.56, allocations: 205.1 kB / 4.077 GB, free: 51.33 MB / 282.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Mechanics/MultiBody/Parts.mo:2404:7-2406:80: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/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Mechanics/MultiBody/Parts.mo:2404:7-2406:80: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 1.203/36.76, allocations: 138 MB / 4.212 GB, free: 33.17 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.475e-05/36.76, allocations: 4 kB / 4.212 GB, free: 33.17 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.6948/37.45, allocations: 68.91 MB / 4.279 GB, free: 54.99 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006278/37.46, allocations: 372.2 kB / 4.28 GB, free: 54.97 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7556/38.22, allocations: 82.25 MB / 4.36 GB, free: 51.73 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006413/38.22, allocations: 3.282 MB / 4.363 GB, free: 50.95 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0269/38.25, allocations: 2.39 MB / 4.366 GB, free: 50.94 MB / 282.7 MB Notification: Performance of SimCode: time 2.144e-06/38.25, allocations: 0 / 4.366 GB, free: 50.94 MB / 282.7 MB Notification: Performance of Templates: time 1.483/39.73, allocations: 379.3 MB / 4.736 GB, free: 57.4 MB / 298.7 MB