Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") Notification: Performance of loadModel(Modelica): time 2.067/2.067, allocations: 194.8 MB / 211.7 MB, free: 2.879 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003516/0.0003517, allocations: 15.94 kB / 264.5 MB, free: 12.9 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09983/0.1002, allocations: 44.5 MB / 309.1 MB, free: 340 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4424/0.5427, allocations: 84.24 MB / 393.3 MB, free: 15.46 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003118/0.5431, allocations: 96.38 kB / 393.4 MB, free: 15.45 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2849/0.828, allocations: 61.64 MB / 455 MB, free: 14.52 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.086e-06/0.828, allocations: 0 / 455 MB, free: 14.52 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002036/0.8282, allocations: 52 kB / 455.1 MB, free: 14.47 MB / 346.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.01507/0.8433, allocations: 3.176 MB / 458.3 MB, free: 11.46 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.8434, allocations: 8.031 kB / 458.3 MB, free: 11.45 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01613/0.8595, allocations: 1.995 MB / 460.3 MB, free: 9.477 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01541/0.875, allocations: 3.556 MB / 463.8 MB, free: 6.094 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003227/0.8754, allocations: 209 kB / 464 MB, free: 5.91 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001798/0.8772, allocations: 273.3 kB / 464.3 MB, free: 5.664 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02449/0.9017, allocations: 7.945 MB / 472.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002355/0.902, allocations: 55.47 kB / 472.3 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001558/0.9036, allocations: 144.8 kB / 472.4 MB, free: 12.6 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002197/0.9058, allocations: 0.7845 MB / 473.2 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02046/0.9263, allocations: 6.544 MB / 479.7 MB, free: 5.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06623/0.9926, allocations: 41.39 MB / 0.5089 GB, free: 10.65 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01197/1.005, allocations: 2.956 MB / 0.5118 GB, free: 7.543 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001175/1.006, allocations: 0.635 MB / 0.5124 GB, free: 6.805 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.788e-05/1.006, allocations: 43.12 kB / 0.5125 GB, free: 6.754 MB / 410.7 MB Notification: Performance of pre-optimization done (n=120): time 4.959e-06/1.006, allocations: 0 / 0.5125 GB, free: 6.754 MB / 410.7 MB Notification: Performance of matching and sorting (n=154): time 0.4366/1.443, allocations: 23.13 MB / 0.5351 GB, free: 109.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.851e-05/1.443, allocations: 143.5 kB / 0.5352 GB, free: 109.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007239/1.45, allocations: 3.259 MB / 0.5384 GB, free: 109.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005245/1.451, allocations: 49.52 kB / 0.5384 GB, free: 109.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002384/1.453, allocations: 2.318 MB / 0.5407 GB, free: 108.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001122/1.454, allocations: 0.6057 MB / 0.5413 GB, free: 107.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000849/1.455, allocations: 101.2 kB / 0.5414 GB, free: 107.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004435/1.455, allocations: 0.5247 MB / 0.5419 GB, free: 107.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005758/1.461, allocations: 2.4 MB / 0.5442 GB, free: 107.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007935/1.469, allocations: 5.55 MB / 0.5497 GB, free: 103.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007802/1.477, allocations: 3.569 MB / 0.5531 GB, free: 103.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001278/1.477, allocations: 32.25 kB / 0.5532 GB, free: 103.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=676) (initialization): time 0.04459/1.522, allocations: 11.49 MB / 0.5644 GB, free: 99.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.923e-05/1.522, allocations: 55.66 kB / 0.5644 GB, free: 99.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001566/1.522, allocations: 113.9 kB / 0.5646 GB, free: 99.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02629/1.548, allocations: 4.152 MB / 0.5686 GB, free: 99.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006855/1.555, allocations: 1.172 MB / 0.5697 GB, free: 98.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0372/1.593, allocations: 14.25 MB / 0.5837 GB, free: 91.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006968/1.6, allocations: 366.3 kB / 0.584 GB, free: 91.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001395/1.601, allocations: 326.7 kB / 0.5843 GB, free: 90.8 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.004933/1.606, allocations: 1.59 MB / 0.5859 GB, free: 89.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009566/1.607, allocations: 284.3 kB / 0.5861 GB, free: 89.11 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03282/1.64, allocations: 6.958 MB / 0.5929 GB, free: 84.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.834e-05/1.64, allocations: 22.66 kB / 0.593 GB, free: 84.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.833e-05/1.64, allocations: 8 kB / 0.593 GB, free: 84.06 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.489e-05/1.64, allocations: 7.688 kB / 0.593 GB, free: 84.06 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06268/1.703, allocations: 14.66 MB / 0.6073 GB, free: 70.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.661e-05/1.703, allocations: 0 / 0.6073 GB, free: 70.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003303/1.706, allocations: 231.4 kB / 0.6075 GB, free: 69.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03341/1.74, allocations: 4.767 MB / 0.6122 GB, free: 65.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005786/1.74, allocations: 49.38 kB / 0.6122 GB, free: 65.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03586/1.776, allocations: 14.38 MB / 0.6263 GB, free: 50.61 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/1.776, allocations: 4 kB / 0.6263 GB, free: 50.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0399/1.816, allocations: 11.08 MB / 0.6371 GB, free: 39.49 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001027/1.817, allocations: 341.4 kB / 0.6374 GB, free: 39.13 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009182/1.818, allocations: 41.66 kB / 0.6375 GB, free: 39.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00319/1.821, allocations: 196.1 kB / 0.6376 GB, free: 38.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006616/1.822, allocations: 108.8 kB / 0.6377 GB, free: 38.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002352/1.822, allocations: 47.97 kB / 0.6378 GB, free: 38.75 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004304/1.827, allocations: 2.032 MB / 0.6398 GB, free: 36.72 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.61e-07/1.827, allocations: 0 / 0.6398 GB, free: 36.72 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006563/1.833, allocations: 0.9117 MB / 0.6407 GB, free: 35.81 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.0008112/1.834, allocations: 175 kB / 0.6408 GB, free: 35.64 MB / 410.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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.01859/1.853, allocations: 6.861 MB / 0.6475 GB, free: 28.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/1.853, allocations: 0 / 0.6475 GB, free: 28.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01022/1.863, allocations: 3.223 MB / 0.6507 GB, free: 25.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002871/1.866, allocations: 308.8 kB / 0.651 GB, free: 25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01935/1.885, allocations: 9.079 MB / 0.6598 GB, free: 15.96 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003684/1.889, allocations: 2.552 MB / 0.6623 GB, free: 13.39 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.2726/2.162, allocations: 1.61 MB / 0.6639 GB, free: 98.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001117/2.163, allocations: 197.6 kB / 0.6641 GB, free: 98.66 MB / 410.7 MB Notification: Performance of SimCode: time 1.042e-06/2.163, allocations: 1.031 kB / 0.6641 GB, free: 98.66 MB / 410.7 MB Notification: Performance of Templates: time 0.1054/2.268, allocations: 43.26 MB / 0.7063 GB, free: 95.29 MB / 410.7 MB