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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") Notification: Performance of loadModel(Modelica): time 1.592/1.592, allocations: 171.2 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003579/0.0003581, allocations: 12 kB / 233.2 MB, free: 3.055 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0682/0.06859, allocations: 38.78 MB / 271.9 MB, free: 12.2 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.02494/0.09357, allocations: 17.84 MB / 289.8 MB, free: 10.29 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01237/0.106, allocations: 5.238 MB / 295 MB, free: 5.039 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003233/0.1093, allocations: 79.81 kB / 295.1 MB, free: 4.961 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002798/0.1121, allocations: 0.8672 MB / 296 MB, free: 4.09 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009104/0.1213, allocations: 2.716 MB / 298.7 MB, free: 1.367 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001793/0.1231, allocations: 463.3 kB / 299.1 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.2095/0.3326, allocations: 1.616 MB / 300.7 MB, free: 8.816 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003432/0.3361, allocations: 1.814 MB / 302.6 MB, free: 8.641 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001296/0.3374, allocations: 0.6744 MB / 303.2 MB, free: 8.641 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001712/0.3391, allocations: 0.9902 MB / 304.2 MB, free: 8.637 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004071/0.3396, allocations: 96.19 kB / 304.3 MB, free: 8.637 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001954/0.3415, allocations: 0.7706 MB / 305.1 MB, free: 8.637 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001608/0.3432, allocations: 1.086 MB / 306.2 MB, free: 8.637 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007861/0.344, allocations: 0.573 MB / 306.7 MB, free: 8.605 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005218/0.3492, allocations: 3.742 MB / 310.5 MB, free: 8.148 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.554e-06/0.3493, allocations: 5.859 kB / 310.5 MB, free: 8.145 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.284e-06/0.3493, allocations: 1 kB / 310.5 MB, free: 8.145 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0001132/0.3494, allocations: 0 / 310.5 MB, free: 8.145 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.008241/0.3577, allocations: 3.005 MB / 313.5 MB, free: 6.297 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.3577, allocations: 8.406 kB / 313.5 MB, free: 6.297 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009499/0.3672, allocations: 2.034 MB / 315.5 MB, free: 5.395 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004236/0.3715, allocations: 1.875 MB / 317.4 MB, free: 4.75 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001402/0.3717, allocations: 145.4 kB / 317.6 MB, free: 4.746 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006697/0.3724, allocations: 186 kB / 317.7 MB, free: 4.746 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01617/0.3886, allocations: 7.262 MB / 325 MB, free: 2.039 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002171/0.3889, allocations: 39.66 kB / 325 MB, free: 2.035 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008316/0.3897, allocations: 97 kB / 325.1 MB, free: 2.035 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005054/0.3948, allocations: 1.447 MB / 326.6 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02857/0.4234, allocations: 6.204 MB / 332.8 MB, free: 12.57 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.06993/0.4934, allocations: 31.18 MB / 364 MB, free: 14.49 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008399/0.5019, allocations: 2.761 MB / 366.7 MB, free: 11.59 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009904/0.5029, allocations: 0.6275 MB / 367.4 MB, free: 10.86 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.08e-05/0.503, allocations: 52.92 kB / 367.4 MB, free: 10.8 MB / 298.7 MB Notification: Performance of pre-optimization done (n=120): time 6.542e-06/0.503, allocations: 0 / 367.4 MB, free: 10.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=154): time 0.104/0.6071, allocations: 21.16 MB / 388.6 MB, free: 5.492 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/0.6072, allocations: 145.5 kB / 388.7 MB, free: 5.316 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007434/0.6147, allocations: 3.355 MB / 392.1 MB, free: 1.949 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003709/0.6151, allocations: 49.7 kB / 392.1 MB, free: 1.895 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002571/0.6177, allocations: 2.286 MB / 394.4 MB, free: 15.62 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001056/0.6188, allocations: 0.612 MB / 395 MB, free: 15.02 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006021/0.6194, allocations: 100 kB / 395.1 MB, free: 14.92 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0005473/0.6199, allocations: 0.5297 MB / 395.6 MB, free: 14.38 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005342/0.6253, allocations: 2.255 MB / 397.9 MB, free: 12.12 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008584/0.6339, allocations: 5.429 MB / 403.3 MB, free: 5.105 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007506/0.6415, allocations: 3.432 MB / 406.8 MB, free: 1.684 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000101/0.6416, allocations: 32 kB / 406.8 MB, free: 1.652 MB / 330.7 MB Notification: Performance of matching and sorting (n=675) (initialization): time 0.03258/0.6742, allocations: 10.51 MB / 417.3 MB, free: 7.113 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001197/0.6744, allocations: 52 kB / 417.3 MB, free: 7.062 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001676/0.6746, allocations: 112 kB / 417.5 MB, free: 6.953 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01554/0.6901, allocations: 3.524 MB / 421 MB, free: 3.406 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004961/0.6951, allocations: 1.164 MB / 422.1 MB, free: 2.242 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0453/0.7405, allocations: 12.48 MB / 434.6 MB, free: 5.637 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009537/0.7501, allocations: 347.4 kB / 435 MB, free: 5.297 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001743/0.7519, allocations: 327 kB / 435.3 MB, free: 4.98 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.006643/0.7585, allocations: 1.602 MB / 436.9 MB, free: 3.363 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001343/0.7599, allocations: 272.4 kB / 437.1 MB, free: 3.094 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.236/0.996, allocations: 6.039 MB / 443.2 MB, free: 103 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.877e-05/0.9961, allocations: 19.66 kB / 443.2 MB, free: 103 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.913e-05/0.9961, allocations: 10.58 kB / 443.2 MB, free: 103 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.972e-05/0.9961, allocations: 8.188 kB / 443.2 MB, free: 103 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0363/1.032, allocations: 13.44 MB / 456.7 MB, free: 102.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.734e-05/1.033, allocations: 6.75 kB / 456.7 MB, free: 102.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001509/1.034, allocations: 231.8 kB / 456.9 MB, free: 102.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01615/1.05, allocations: 4.138 MB / 461 MB, free: 101 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003917/1.051, allocations: 49.09 kB / 461.1 MB, free: 101 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02401/1.075, allocations: 12.52 MB / 473.6 MB, free: 97.25 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.183e-06/1.075, allocations: 0.5625 kB / 473.6 MB, free: 97.25 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02354/1.098, allocations: 9.952 MB / 483.5 MB, free: 87.46 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008607/1.099, allocations: 347.5 kB / 483.9 MB, free: 87.26 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00071/1.1, allocations: 43.86 kB / 483.9 MB, free: 87.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002493/1.102, allocations: 183.7 kB / 484.1 MB, free: 87.04 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005242/1.103, allocations: 110.1 kB / 484.2 MB, free: 86.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002129/1.103, allocations: 52.7 kB / 484.3 MB, free: 86.89 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003763/1.107, allocations: 2.114 MB / 486.4 MB, free: 84.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.202e-06/1.107, allocations: 0 / 486.4 MB, free: 84.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005476/1.113, allocations: 0.8951 MB / 487.3 MB, free: 83.89 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 {(6,80.6%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000619/1.113, allocations: 178.5 kB / 487.5 MB, free: 83.72 MB / 362.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/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.01214/1.125, allocations: 6.333 MB / 493.8 MB, free: 77.59 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.825e-06/1.125, allocations: 1.969 kB / 493.8 MB, free: 77.59 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005926/1.131, allocations: 2.859 MB / 496.6 MB, free: 74.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002056/1.133, allocations: 309.9 kB / 497 MB, free: 74.32 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01536/1.149, allocations: 9.31 MB / 0.4944 GB, free: 65.01 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003148/1.152, allocations: 2.559 MB / 0.4969 GB, free: 62.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009137/1.153, allocations: 243.4 kB / 0.4971 GB, free: 62.19 MB / 362.7 MB Notification: Performance of SimCode: time 1.844e-06/1.153, allocations: 0 / 0.4971 GB, free: 62.19 MB / 362.7 MB Notification: Performance of Templates: time 0.3422/1.495, allocations: 134.3 MB / 0.6283 GB, free: 88.12 MB / 378.7 MB