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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.62/1.62, allocations: 171.3 MB / 179.2 MB, free: 164 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 1.698e-05/1.705e-05, allocations: 4 kB / 222.5 MB, free: 4.746 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2082, allocations: 38.77 MB / 261.3 MB, free: 13 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1203/0.3286, allocations: 77.85 MB / 339.1 MB, free: 15.66 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000245/0.3289, allocations: 83.95 kB / 339.2 MB, free: 15.58 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4105/0.7394, allocations: 60.25 MB / 399.5 MB, free: 77.09 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.895e-06/0.7394, allocations: 0 / 399.5 MB, free: 77.09 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001022/0.7395, allocations: 48 kB / 399.5 MB, free: 77.04 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: 1051 * Number of variables: 1051 Notification: Performance of Generate backend data structure: time 0.008213/0.7478, allocations: 3.034 MB / 402.5 MB, free: 73.96 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.7478, allocations: 8.031 kB / 402.6 MB, free: 73.95 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01047/0.7583, allocations: 1.997 MB / 404.5 MB, free: 71.95 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009814/0.7681, allocations: 3.526 MB / 408.1 MB, free: 68.41 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001127/0.7683, allocations: 88 kB / 408.2 MB, free: 68.32 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008311/0.7692, allocations: 160 kB / 408.3 MB, free: 68.16 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008655/0.7778, allocations: 4.542 MB / 412.9 MB, free: 63.62 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01263/0.7905, allocations: 7.171 MB / 420 MB, free: 55.44 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001519/0.7907, allocations: 55.45 kB / 420.1 MB, free: 55.39 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008262/0.7915, allocations: 32 kB / 420.1 MB, free: 55.36 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001169/0.7927, allocations: 0.7762 MB / 420.9 MB, free: 54.58 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03864/0.8314, allocations: 39.98 MB / 460.9 MB, free: 13.53 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003146/0.8346, allocations: 2.327 MB / 463.2 MB, free: 11.05 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001913/0.8365, allocations: 1.362 MB / 464.6 MB, free: 9.68 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006845/0.8372, allocations: 0.6302 MB / 465.2 MB, free: 8.941 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.8373, allocations: 51.06 kB / 465.2 MB, free: 8.883 MB / 314.7 MB Notification: Performance of pre-optimization done (n=120): time 4.728e-06/0.8373, allocations: 0 / 465.2 MB, free: 8.883 MB / 314.7 MB Notification: Performance of matching and sorting (n=152): time 0.05121/0.8885, allocations: 16 MB / 481.2 MB, free: 8.844 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/0.8887, allocations: 149.5 kB / 481.4 MB, free: 8.668 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005897/0.8946, allocations: 2.453 MB / 483.8 MB, free: 6.203 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003853/0.895, allocations: 33.64 kB / 483.9 MB, free: 6.164 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002545/0.8976, allocations: 2.379 MB / 486.2 MB, free: 3.75 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001052/0.8987, allocations: 0.5939 MB / 486.8 MB, free: 3.148 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005353/0.8992, allocations: 4 kB / 486.8 MB, free: 3.145 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0005505/0.8998, allocations: 0.534 MB / 487.4 MB, free: 2.602 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005039/0.9048, allocations: 2.279 MB / 489.7 MB, free: 324 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008441/0.9133, allocations: 5.547 MB / 495.2 MB, free: 9.105 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007461/0.9208, allocations: 3.508 MB / 498.7 MB, free: 5.594 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000124/0.921, allocations: 36 kB / 498.7 MB, free: 5.559 MB / 346.7 MB Notification: Performance of matching and sorting (n=698) (initialization): time 0.2281/1.149, allocations: 10.73 MB / 0.4975 GB, free: 92.3 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.194e-05/1.149, allocations: 61.2 kB / 0.4976 GB, free: 92.29 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001229/1.149, allocations: 114.3 kB / 0.4977 GB, free: 92.29 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01903/1.168, allocations: 4.119 MB / 0.5017 GB, free: 92.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004814/1.173, allocations: 1.212 MB / 0.5029 GB, free: 92.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02642/1.2, allocations: 12.7 MB / 0.5153 GB, free: 89.35 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005523/1.205, allocations: 263.3 kB / 0.5156 GB, free: 89.35 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001016/1.206, allocations: 340.3 kB / 0.5159 GB, free: 89.3 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 536 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (638): * Single equations (assignments): 628 * 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.001008/1.207, allocations: 396.7 kB / 0.5163 GB, free: 89.16 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006329/1.208, allocations: 247.9 kB / 0.5165 GB, free: 89.16 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02226/1.23, allocations: 6.734 MB / 0.5231 GB, free: 87.32 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.066e-05/1.23, allocations: 19.75 kB / 0.5231 GB, free: 87.32 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-05/1.23, allocations: 8.016 kB / 0.5231 GB, free: 87.32 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.189e-05/1.23, allocations: 9.453 kB / 0.5231 GB, free: 87.32 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03691/1.267, allocations: 13.92 MB / 0.5367 GB, free: 79.47 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.161e-05/1.267, allocations: 7.953 kB / 0.5367 GB, free: 79.46 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001329/1.269, allocations: 218.6 kB / 0.5369 GB, free: 79.26 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01785/1.287, allocations: 4.662 MB / 0.5415 GB, free: 74.61 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003967/1.287, allocations: 31.95 kB / 0.5415 GB, free: 74.58 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02319/1.31, allocations: 12.69 MB / 0.5539 GB, free: 61.87 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.046e-06/1.31, allocations: 3.375 kB / 0.5539 GB, free: 61.87 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02635/1.337, allocations: 10.85 MB / 0.5645 GB, free: 51.04 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006874/1.337, allocations: 310.5 kB / 0.5648 GB, free: 50.73 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005802/1.338, allocations: 15.98 kB / 0.5648 GB, free: 50.71 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002222/1.34, allocations: 171.7 kB / 0.565 GB, free: 50.54 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005092/1.341, allocations: 112.1 kB / 0.5651 GB, free: 50.44 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002358/1.341, allocations: 53.22 kB / 0.5651 GB, free: 50.39 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002778/1.344, allocations: 1.618 MB / 0.5667 GB, free: 48.76 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.073e-06/1.344, allocations: 1.219 kB / 0.5667 GB, free: 48.76 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.005828/1.35, allocations: 0.7791 MB / 0.5675 GB, free: 47.99 MB / 346.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 92 * 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.0005831/1.35, allocations: 147.5 kB / 0.5676 GB, free: 47.85 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 was selected as a continuous variable. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 was selected as a continuous variable. Notification: Performance of simCode: created initialization part: time 0.01328/1.364, allocations: 6.578 MB / 0.574 GB, free: 41.21 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/1.364, allocations: 0 / 0.574 GB, free: 41.21 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007055/1.371, allocations: 3.161 MB / 0.5771 GB, free: 37.92 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00176/1.373, allocations: 238.3 kB / 0.5773 GB, free: 37.68 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01372/1.386, allocations: 6.966 MB / 0.5841 GB, free: 30.73 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003679/1.39, allocations: 2.55 MB / 0.5866 GB, free: 28.15 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008652/1.391, allocations: 227.4 kB / 0.5869 GB, free: 27.93 MB / 346.7 MB Notification: Performance of SimCode: time 1.85e-06/1.391, allocations: 0 / 0.5869 GB, free: 27.93 MB / 346.7 MB Notification: Performance of Templates: time 0.3447/1.736, allocations: 132.1 MB / 0.7159 GB, free: 30.77 MB / 362.7 MB