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.556/1.556, allocations: 171.2 MB / 186.7 MB, free: 1.137 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003414/0.0003414, allocations: 8 kB / 233.9 MB, free: 2.391 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07651/0.07687, allocations: 38.76 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.02683/0.1037, allocations: 17.85 MB / 290.5 MB, free: 9.637 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01348/0.1173, allocations: 5.227 MB / 295.7 MB, free: 4.395 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002966/0.1203, allocations: 83.81 kB / 295.8 MB, free: 4.312 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003014/0.1233, allocations: 0.8593 MB / 296.7 MB, free: 3.449 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009855/0.1332, allocations: 2.723 MB / 299.4 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002029/0.1353, allocations: 467.3 kB / 299.8 MB, free: 268 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.2141/0.3494, allocations: 1.608 MB / 301.4 MB, free: 9.43 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004225/0.3537, allocations: 1.82 MB / 303.3 MB, free: 9.246 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001914/0.3556, allocations: 0.6717 MB / 303.9 MB, free: 9.246 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002513/0.3582, allocations: 0.9906 MB / 304.9 MB, free: 9.242 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001028/0.3593, allocations: 93.81 kB / 305 MB, free: 9.242 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00284/0.3621, allocations: 0.7719 MB / 305.8 MB, free: 9.242 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00227/0.3645, allocations: 1.086 MB / 306.9 MB, free: 9.238 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001143/0.3656, allocations: 0.569 MB / 307.4 MB, free: 9.207 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00614/0.3718, allocations: 3.753 MB / 311.2 MB, free: 8.578 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3719, allocations: 0 / 311.2 MB, free: 8.578 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.815e-06/0.3719, allocations: 2.078 kB / 311.2 MB, free: 8.578 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0001591/0.372, allocations: 1.375 kB / 311.2 MB, free: 8.578 MB / 250.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.01126/0.3833, allocations: 2.998 MB / 314.2 MB, free: 6.73 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.3834, allocations: 7.406 kB / 314.2 MB, free: 6.73 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01892/0.4023, allocations: 2.038 MB / 316.2 MB, free: 5.828 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007717/0.4101, allocations: 1.882 MB / 318.1 MB, free: 5.176 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001746/0.4103, allocations: 141.8 kB / 318.3 MB, free: 5.172 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001142/0.4114, allocations: 188.4 kB / 318.4 MB, free: 5.172 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01715/0.4286, allocations: 7.243 MB / 325.7 MB, free: 2.16 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001565/0.4288, allocations: 42.66 kB / 325.7 MB, free: 2.137 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008889/0.4297, allocations: 103.3 kB / 325.8 MB, free: 2.102 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003575/0.4333, allocations: 1.441 MB / 327.3 MB, free: 0.9219 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01824/0.4516, allocations: 6.208 MB / 333.5 MB, free: 12.64 MB / 266.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.05415/0.5058, allocations: 31.18 MB / 364.7 MB, free: 14.32 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01084/0.5167, allocations: 2.754 MB / 367.4 MB, free: 11.42 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001117/0.5179, allocations: 0.6351 MB / 368 MB, free: 10.68 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.198e-05/0.5179, allocations: 47.11 kB / 368.1 MB, free: 10.62 MB / 298.7 MB Notification: Performance of pre-optimization done (n=120): time 6.192e-06/0.518, allocations: 2.078 kB / 368.1 MB, free: 10.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=154): time 0.1576/0.6756, allocations: 21.17 MB / 389.3 MB, free: 5.312 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.007771/0.6834, allocations: 145.5 kB / 389.4 MB, free: 5.137 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01459/0.698, allocations: 3.347 MB / 392.8 MB, free: 1.777 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005656/0.6987, allocations: 48.28 kB / 392.8 MB, free: 1.727 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.01034/0.709, allocations: 2.316 MB / 395.1 MB, free: 15.42 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001463/0.7105, allocations: 0.6073 MB / 395.7 MB, free: 14.82 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008306/0.7114, allocations: 100 kB / 395.8 MB, free: 14.72 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0006265/0.712, allocations: 0.5211 MB / 396.3 MB, free: 14.19 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008873/0.7209, allocations: 2.263 MB / 398.6 MB, free: 11.92 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01288/0.7339, allocations: 5.413 MB / 404 MB, free: 4.922 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01176/0.7457, allocations: 3.428 MB / 407.5 MB, free: 1.5 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001224/0.7459, allocations: 32 kB / 407.5 MB, free: 1.469 MB / 330.7 MB Notification: Performance of matching and sorting (n=675) (initialization): time 0.04802/0.7939, allocations: 10.58 MB / 418.1 MB, free: 6.852 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001035/0.7941, allocations: 52 kB / 418.1 MB, free: 6.801 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001712/0.7942, allocations: 112 kB / 418.2 MB, free: 6.691 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02324/0.8175, allocations: 3.517 MB / 421.7 MB, free: 3.152 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007194/0.8247, allocations: 1.174 MB / 422.9 MB, free: 1.977 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03505/0.8598, allocations: 12.47 MB / 435.4 MB, free: 5.379 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006324/0.8662, allocations: 351.4 kB / 435.7 MB, free: 5.035 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001195/0.8674, allocations: 328.4 kB / 436.1 MB, free: 4.715 MB / 362.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.004478/0.8719, allocations: 1.592 MB / 437.6 MB, free: 3.109 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000873/0.8728, allocations: 284.4 kB / 437.9 MB, free: 2.828 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3151/1.188, allocations: 6.041 MB / 444 MB, free: 124.1 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.063e-05/1.188, allocations: 8.312 kB / 444 MB, free: 124.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.899e-06/1.188, allocations: 5.125 kB / 444 MB, free: 124.1 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001028/1.189, allocations: 346.5 kB / 444.3 MB, free: 124 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009508/1.19, allocations: 37.19 kB / 444.4 MB, free: 124 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003031/1.193, allocations: 142 kB / 444.5 MB, free: 124 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006448/1.194, allocations: 136.1 kB / 444.6 MB, free: 124 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02103/1.215, allocations: 5.605 MB / 450.2 MB, free: 123 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01118/1.226, allocations: 5.755 MB / 456 MB, free: 120.6 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003101/1.229, allocations: 1.58 MB / 457.6 MB, free: 120 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.004429/1.234, allocations: 2.116 MB / 459.7 MB, free: 119.3 MB / 362.7 MB Notification: Performance of Backend: time 1.282e-06/1.234, allocations: 0 / 459.7 MB, free: 119.3 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.01497/1.249, allocations: 5.064 MB / 464.7 MB, free: 117 MB / 362.7 MB Notification: Performance of SimCode: time 0.01684/1.266, allocations: 8.548 MB / 473.3 MB, free: 110 MB / 362.7 MB Notification: Performance of Templates: time 0.1121/1.378, allocations: 45.27 MB / 0.5064 GB, free: 65.43 MB / 362.7 MB