Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") Notification: Performance of loadModel(Modelica): time 1.938/1.938, allocations: 171.2 MB / 186.7 MB, free: 1.113 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005752/0.0005753, allocations: 8 kB / 233.9 MB, free: 2.379 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09349/0.0941, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.436/0.5302, allocations: 78.61 MB / 351.2 MB, free: 10.86 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003261/0.5306, allocations: 89.95 kB / 351.3 MB, free: 10.81 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3296/0.8602, allocations: 61.66 MB / 413 MB, free: 2.754 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.346e-06/0.8603, allocations: 0 / 413 MB, free: 2.754 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002648/0.8606, allocations: 52 kB / 413 MB, free: 2.703 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.01524/0.8758, allocations: 3.174 MB / 416.2 MB, free: 15.46 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/0.8759, allocations: 12.03 kB / 416.2 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01624/0.8922, allocations: 1.985 MB / 418.2 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01499/0.9072, allocations: 3.557 MB / 421.8 MB, free: 9.852 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003213/0.9076, allocations: 213.3 kB / 422 MB, free: 9.641 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001835/0.9094, allocations: 279.8 kB / 422.2 MB, free: 9.367 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02448/0.9339, allocations: 7.949 MB / 430.2 MB, free: 420 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002056/0.9342, allocations: 55.41 kB / 430.2 MB, free: 364 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001344/0.9356, allocations: 143.9 kB / 430.4 MB, free: 220 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2429/1.179, allocations: 0.7749 MB / 431.2 MB, free: 79.87 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.021/1.2, allocations: 6.547 MB / 437.7 MB, free: 79.87 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05596/1.256, allocations: 41.38 MB / 479.1 MB, free: 51.74 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01077/1.266, allocations: 2.953 MB / 482 MB, free: 50.48 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009642/1.267, allocations: 0.6332 MB / 482.7 MB, free: 49.89 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.447e-05/1.268, allocations: 46.55 kB / 482.7 MB, free: 49.85 MB / 346.7 MB Notification: Performance of pre-optimization done (n=120): time 8.656e-06/1.268, allocations: 3.891 kB / 482.7 MB, free: 49.85 MB / 346.7 MB Notification: Performance of matching and sorting (n=154): time 0.193/1.461, allocations: 23.13 MB / 0.494 GB, free: 44.2 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.114e-05/1.461, allocations: 147.6 kB / 0.4941 GB, free: 44.04 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006707/1.467, allocations: 3.25 MB / 0.4973 GB, free: 42.27 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005217/1.468, allocations: 45.7 kB / 0.4973 GB, free: 42.22 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002132/1.47, allocations: 2.322 MB / 0.4996 GB, free: 40.21 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001099/1.471, allocations: 0.5997 MB / 0.5002 GB, free: 39.69 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000765/1.472, allocations: 107.6 kB / 0.5003 GB, free: 39.59 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003757/1.472, allocations: 0.5214 MB / 0.5008 GB, free: 39.12 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005861/1.478, allocations: 2.396 MB / 0.5032 GB, free: 37.08 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007812/1.486, allocations: 5.558 MB / 0.5086 GB, free: 30.38 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007858/1.494, allocations: 3.568 MB / 0.5121 GB, free: 27.18 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.275e-05/1.494, allocations: 32 kB / 0.5121 GB, free: 27.15 MB / 346.7 MB Notification: Performance of matching and sorting (n=676) (initialization): time 0.0441/1.538, allocations: 11.48 MB / 0.5233 GB, free: 16.24 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001098/1.539, allocations: 56.22 kB / 0.5234 GB, free: 16.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001662/1.539, allocations: 120 kB / 0.5235 GB, free: 16.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03374/1.572, allocations: 4.156 MB / 0.5275 GB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01056/1.583, allocations: 1.17 MB / 0.5287 GB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03885/1.622, allocations: 14.27 MB / 0.5426 GB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006784/1.629, allocations: 355.3 kB / 0.5429 GB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001563/1.631, allocations: 324 kB / 0.5433 GB, free: 11.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.005288/1.636, allocations: 1.595 MB / 0.5448 GB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009617/1.637, allocations: 280.4 kB / 0.5451 GB, free: 9.777 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03593/1.673, allocations: 6.953 MB / 0.5519 GB, free: 2.785 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.459e-05/1.673, allocations: 25.17 kB / 0.5519 GB, free: 2.762 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-05/1.673, allocations: 11.94 kB / 0.5519 GB, free: 2.75 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.357e-05/1.673, allocations: 7.969 kB / 0.5519 GB, free: 2.742 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3266/2, allocations: 14.67 MB / 0.5662 GB, free: 86.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.24e-05/2, allocations: 1.625 kB / 0.5662 GB, free: 86.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002192/2.002, allocations: 231.4 kB / 0.5665 GB, free: 86.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03305/2.035, allocations: 4.766 MB / 0.5711 GB, free: 86.12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005425/2.036, allocations: 43.98 kB / 0.5712 GB, free: 86.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03715/2.073, allocations: 14.38 MB / 0.5852 GB, free: 83.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/2.073, allocations: 4.547 kB / 0.5852 GB, free: 83.62 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04052/2.113, allocations: 11.07 MB / 0.596 GB, free: 80.29 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001019/2.114, allocations: 349.6 kB / 0.5963 GB, free: 80.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00104/2.115, allocations: 41.47 kB / 0.5964 GB, free: 80.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003344/2.119, allocations: 195.4 kB / 0.5966 GB, free: 80.14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006642/2.12, allocations: 117.8 kB / 0.5967 GB, free: 80.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002352/2.12, allocations: 44.39 kB / 0.5967 GB, free: 80.12 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.004291/2.124, allocations: 2.032 MB / 0.5987 GB, free: 79.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.072e-06/2.124, allocations: 3.469 kB / 0.5987 GB, free: 79.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.006176/2.13, allocations: 0.9104 MB / 0.5996 GB, free: 79.3 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.0006564/2.131, allocations: 166.2 kB / 0.5998 GB, free: 79.2 MB / 362.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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.02207/2.153, allocations: 6.868 MB / 0.6065 GB, free: 76.64 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.111e-05/2.153, allocations: 0 / 0.6065 GB, free: 76.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01301/2.166, allocations: 3.227 MB / 0.6096 GB, free: 75.05 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002765/2.169, allocations: 311.4 kB / 0.6099 GB, free: 74.91 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01924/2.188, allocations: 9.064 MB / 0.6188 GB, free: 68.13 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004807/2.193, allocations: 2.555 MB / 0.6213 GB, free: 66.12 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.006801/2.2, allocations: 1.612 MB / 0.6228 GB, free: 65.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001106/2.201, allocations: 202.3 kB / 0.623 GB, free: 64.94 MB / 362.7 MB Notification: Performance of SimCode: time 1.072e-06/2.201, allocations: 0 / 0.623 GB, free: 64.94 MB / 362.7 MB Notification: Performance of Templates: time 0.1104/2.312, allocations: 43.26 MB / 0.6653 GB, free: 22.86 MB / 362.7 MB