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 1.888/1.888, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003563/0.0003568, allocations: 8 kB / 264.6 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09038/0.09076, allocations: 44.52 MB / 309.1 MB, free: 372 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.02757/0.1184, allocations: 17.84 MB / 326.9 MB, free: 14.47 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01353/0.132, allocations: 5.266 MB / 332.2 MB, free: 9.188 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002792/0.1348, allocations: 79.81 kB / 332.3 MB, free: 9.109 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002504/0.1373, allocations: 0.8671 MB / 333.1 MB, free: 8.238 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009627/0.147, allocations: 2.716 MB / 335.8 MB, free: 5.516 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00177/0.1488, allocations: 443.3 kB / 336.3 MB, free: 5.082 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003603/0.1524, allocations: 1.626 MB / 337.9 MB, free: 3.449 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003359/0.1558, allocations: 1.817 MB / 339.7 MB, free: 1.598 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001087/0.1569, allocations: 0.6734 MB / 340.4 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001714/0.1586, allocations: 0.993 MB / 341.4 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000363/0.159, allocations: 96 kB / 341.5 MB, free: 15.83 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001973/0.161, allocations: 0.7645 MB / 342.2 MB, free: 15.07 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001447/0.1625, allocations: 1.087 MB / 343.3 MB, free: 13.98 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007408/0.1632, allocations: 0.5741 MB / 343.9 MB, free: 13.39 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005735/0.169, allocations: 3.749 MB / 347.6 MB, free: 9.637 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.169, allocations: 0 / 347.6 MB, free: 9.637 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.169, allocations: 3.938 kB / 347.7 MB, free: 9.633 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.089e-05/0.1691, allocations: 4 kB / 347.7 MB, free: 9.629 MB / 298.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.01008/0.1792, allocations: 3.009 MB / 350.7 MB, free: 6.559 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.1793, allocations: 8.031 kB / 350.7 MB, free: 6.551 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01263/0.1919, allocations: 2.036 MB / 352.7 MB, free: 4.508 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00552/0.1975, allocations: 1.858 MB / 354.6 MB, free: 2.602 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001928/0.1977, allocations: 143.6 kB / 354.7 MB, free: 2.461 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008971/0.1986, allocations: 195.8 kB / 354.9 MB, free: 2.27 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01682/0.2155, allocations: 7.241 MB / 362.1 MB, free: 10.4 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001097/0.2156, allocations: 35.69 kB / 362.2 MB, free: 10.36 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004549/0.2161, allocations: 107.8 kB / 362.3 MB, free: 10.26 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003758/0.2199, allocations: 1.436 MB / 363.7 MB, free: 8.816 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0175/0.2374, allocations: 6.203 MB / 369.9 MB, free: 2.609 MB / 314.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2848/0.5222, allocations: 31.18 MB / 401.1 MB, free: 36.48 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009454/0.5317, allocations: 2.762 MB / 403.9 MB, free: 35.04 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000839/0.5326, allocations: 0.6365 MB / 404.5 MB, free: 34.42 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.5326, allocations: 45.62 kB / 404.5 MB, free: 34.37 MB / 314.7 MB Notification: Performance of pre-optimization done (n=120): time 4.659e-06/0.5326, allocations: 0 / 404.5 MB, free: 34.37 MB / 314.7 MB Notification: Performance of matching and sorting (n=154): time 0.1206/0.6532, allocations: 21.15 MB / 425.7 MB, free: 16.76 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.6533, allocations: 153.5 kB / 425.8 MB, free: 16.58 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005158/0.6585, allocations: 3.364 MB / 429.2 MB, free: 13.2 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000349/0.6589, allocations: 45.7 kB / 429.2 MB, free: 13.15 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001477/0.6604, allocations: 2.312 MB / 431.6 MB, free: 10.84 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006778/0.661, allocations: 0.6058 MB / 432.2 MB, free: 10.24 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003881/0.6614, allocations: 101.3 kB / 432.3 MB, free: 10.14 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002766/0.6617, allocations: 0.5211 MB / 432.8 MB, free: 9.617 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004403/0.6661, allocations: 2.267 MB / 435.1 MB, free: 7.344 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005835/0.672, allocations: 5.404 MB / 440.5 MB, free: 348 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007654/0.6797, allocations: 3.419 MB / 443.9 MB, free: 12.92 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.574e-05/0.6798, allocations: 39.94 kB / 443.9 MB, free: 12.88 MB / 330.7 MB Notification: Performance of matching and sorting (n=675) (initialization): time 0.04013/0.7199, allocations: 10.59 MB / 454.5 MB, free: 2.27 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.256e-05/0.7201, allocations: 55.94 kB / 454.6 MB, free: 2.215 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00014/0.7202, allocations: 112 kB / 454.7 MB, free: 2.105 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02255/0.7428, allocations: 3.524 MB / 458.2 MB, free: 14.56 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006686/0.7495, allocations: 1.166 MB / 459.4 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03344/0.783, allocations: 12.47 MB / 471.8 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00597/0.789, allocations: 347.4 kB / 472.2 MB, free: 456 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008384/0.7898, allocations: 320 kB / 472.5 MB, free: 136 kB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 511 * 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 (615): * Single equations (assignments): 605 * 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 {(6,80.6%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003565/0.7934, allocations: 1.6 MB / 474.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007604/0.7942, allocations: 272.4 kB / 474.3 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02904/0.8232, allocations: 6.05 MB / 480.4 MB, free: 8.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-05/0.8233, allocations: 7.984 kB / 480.4 MB, free: 8.152 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-06/0.8233, allocations: 0 / 480.4 MB, free: 8.152 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009287/0.8243, allocations: 349.3 kB / 480.7 MB, free: 7.789 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007768/0.8251, allocations: 39.94 kB / 480.8 MB, free: 7.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002826/0.8279, allocations: 141.3 kB / 480.9 MB, free: 7.613 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005515/0.8285, allocations: 128.8 kB / 481 MB, free: 7.488 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02058/0.8491, allocations: 5.611 MB / 486.7 MB, free: 1.879 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01241/0.8615, allocations: 5.756 MB / 492.4 MB, free: 12.1 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003406/0.865, allocations: 1.581 MB / 494 MB, free: 10.52 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.004504/0.8695, allocations: 2.111 MB / 496.1 MB, free: 8.406 MB / 378.7 MB Notification: Performance of Backend: time 1.022e-06/0.8695, allocations: 0 / 496.1 MB, free: 8.406 MB / 378.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.01565/0.8852, allocations: 5.073 MB / 0.4894 GB, free: 3.219 MB / 378.7 MB Notification: Performance of SimCode: time 0.01785/0.903, allocations: 8.539 MB / 0.4978 GB, free: 10.64 MB / 394.7 MB Notification: Performance of Templates: time 0.3596/1.263, allocations: 45.26 MB / 0.542 GB, free: 109.2 MB / 394.7 MB