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.RollingWheelSetDriving.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.RollingWheelSetDriving,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wheelSet.der_theta1|wheelSet.der_theta2|wheelSet.phi|wheelSet.theta1|wheelSet.theta2|wheelSet.x|wheelSet.y",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving") Notification: Performance of loadModel(Modelica): time 1.769/1.769, allocations: 171.2 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003427/0.0003431, allocations: 8 kB / 233.9 MB, free: 2.395 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07821/0.07858, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving): time 0.3112/0.3899, allocations: 65.37 MB / 338 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.04398/0.4339, allocations: 15.57 MB / 353.6 MB, free: 12.01 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01462/0.4486, allocations: 331.2 kB / 353.9 MB, free: 11.68 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01216/0.4608, allocations: 3.309 MB / 357.2 MB, free: 8.359 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03498/0.4958, allocations: 9.207 MB / 366.4 MB, free: 15.13 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006245/0.5021, allocations: 1.127 MB / 367.5 MB, free: 14 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.009267/0.5114, allocations: 3.623 MB / 371.2 MB, free: 10.37 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01592/0.5274, allocations: 7.43 MB / 378.6 MB, free: 2.887 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003852/0.5313, allocations: 1.589 MB / 380.2 MB, free: 1.293 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004882/0.5362, allocations: 2.228 MB / 382.4 MB, free: 15.06 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001325/0.5376, allocations: 240 kB / 382.6 MB, free: 14.82 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003093/0.5407, allocations: 0.9091 MB / 383.6 MB, free: 13.91 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00391/0.5447, allocations: 2.326 MB / 385.9 MB, free: 11.58 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002226/0.5469, allocations: 1.26 MB / 387.1 MB, free: 10.31 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01398/0.5609, allocations: 9.153 MB / 396.3 MB, free: 1.137 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.561, allocations: 0 / 396.3 MB, free: 1.137 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.986e-06/0.561, allocations: 0 / 396.3 MB, free: 1.137 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003235/0.5614, allocations: 0 / 396.3 MB, free: 1.137 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2062 * Number of variables: 2062 Notification: Performance of Generate backend data structure: time 0.02356/0.5849, allocations: 6.413 MB / 402.7 MB, free: 10.64 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.585, allocations: 8.031 kB / 402.7 MB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01777/0.6028, allocations: 2.624 MB / 405.3 MB, free: 8 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01427/0.6171, allocations: 4.818 MB / 410.2 MB, free: 3.125 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004552/0.6176, allocations: 361.5 kB / 410.5 MB, free: 2.77 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002295/0.6199, allocations: 499.6 kB / 411 MB, free: 2.281 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04325/0.6632, allocations: 14.99 MB / 426 MB, free: 2.383 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002914/0.6635, allocations: 71.36 kB / 426.1 MB, free: 2.312 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001338/0.6649, allocations: 227.8 kB / 426.3 MB, free: 2.09 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006117/0.671, allocations: 2.399 MB / 428.7 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04281/0.7138, allocations: 12.96 MB / 441.6 MB, free: 2.727 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3246/1.039, allocations: 59.54 MB / 0.4894 GB, free: 81.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03505/1.074, allocations: 7.038 MB / 0.4963 GB, free: 74.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001839/1.076, allocations: 1.279 MB / 0.4976 GB, free: 73.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.313e-05/1.076, allocations: 65.27 kB / 0.4976 GB, free: 73.13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=286): time 6.923e-06/1.076, allocations: 3.938 kB / 0.4976 GB, free: 73.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=378): time 0.268/1.344, allocations: 47.99 MB / 0.5445 GB, free: 24.99 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.912e-05/1.344, allocations: 167 kB / 0.5446 GB, free: 24.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009653/1.353, allocations: 5.498 MB / 0.55 GB, free: 19.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001044/1.355, allocations: 83.2 kB / 0.5501 GB, free: 19.21 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003229/1.358, allocations: 3.946 MB / 0.5539 GB, free: 15.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002153/1.36, allocations: 1.367 MB / 0.5553 GB, free: 13.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001061/1.361, allocations: 164 kB / 0.5554 GB, free: 13.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0005469/1.362, allocations: 0.649 MB / 0.5561 GB, free: 13.1 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01022/1.372, allocations: 4.264 MB / 0.5602 GB, free: 8.824 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2484/1.62, allocations: 8.461 MB / 0.5685 GB, free: 108.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02052/1.641, allocations: 5.969 MB / 0.5743 GB, free: 106.9 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001851/1.641, allocations: 43.97 kB / 0.5744 GB, free: 106.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=1055) (initialization): time 0.05384/1.695, allocations: 17.25 MB / 0.5912 GB, free: 100.9 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001319/1.695, allocations: 65.56 kB / 0.5913 GB, free: 100.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000208/1.695, allocations: 149.4 kB / 0.5914 GB, free: 100.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02514/1.721, allocations: 5.38 MB / 0.5967 GB, free: 99.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0106/1.731, allocations: 1.755 MB / 0.5984 GB, free: 99.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08841/1.82, allocations: 33.66 MB / 0.6313 GB, free: 68.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01408/1.834, allocations: 0.5397 MB / 0.6318 GB, free: 67.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001835/1.836, allocations: 473.4 kB / 0.6322 GB, free: 67.51 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 668 * Number of states: 0 () * Number of discrete variables: 51 (shape.color[3],shape.color[2],shape.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],wheelSet.wheelSetJoint.revolute2.cylinderColor[3],wheelSet.wheelSetJoint.revolute2.cylinderColor[2],wheelSet.wheelSetJoint.revolute2.cylinderColor[1],wheelSet.wheelSetJoint.revolute1.cylinderColor[3],wheelSet.wheelSetJoint.revolute1.cylinderColor[2],wheelSet.wheelSetJoint.revolute1.cylinderColor[1],wheelSet.wheelSetJoint.rod2.color[3],wheelSet.wheelSetJoint.rod2.color[2],wheelSet.wheelSetJoint.rod2.color[1],wheelSet.wheelSetJoint.revolute.cylinderColor[3],wheelSet.wheelSetJoint.revolute.cylinderColor[2],wheelSet.wheelSetJoint.revolute.cylinderColor[1],wheelSet.wheelSetJoint.prismatic2.boxColor[3],wheelSet.wheelSetJoint.prismatic2.boxColor[2],wheelSet.wheelSetJoint.prismatic2.boxColor[1],wheelSet.wheelSetJoint.prismatic1.boxColor[3],wheelSet.wheelSetJoint.prismatic1.boxColor[2],wheelSet.wheelSetJoint.prismatic1.boxColor[1],wheelSet.wheelSetJoint.rod1.color[3],wheelSet.wheelSetJoint.rod1.color[2],wheelSet.wheelSetJoint.rod1.color[1],wheelSet.wheelSetJoint.fixed.color[3],wheelSet.wheelSetJoint.fixed.color[2],wheelSet.wheelSetJoint.fixed.color[1],wheelSet.body1.sphereColor[3],wheelSet.body1.sphereColor[2],wheelSet.body1.sphereColor[1],wheelSet.body2.sphereColor[3],wheelSet.body2.sphereColor[2],wheelSet.body2.sphereColor[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],ground.fixed.color[3],ground.fixed.color[2],ground.fixed.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (896): * Single equations (assignments): 888 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,57.8%) 101,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009219/1.845, allocations: 2.996 MB / 0.6352 GB, free: 64.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001905/1.847, allocations: 0.4928 MB / 0.6357 GB, free: 64.38 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05028/1.897, allocations: 11.97 MB / 0.6473 GB, free: 52.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.092e-05/1.897, allocations: 15.94 kB / 0.6474 GB, free: 52.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.49e-05/1.897, allocations: 4 kB / 0.6474 GB, free: 52.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004816/1.902, allocations: 1.305 MB / 0.6486 GB, free: 51.05 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002535/1.905, allocations: 64.66 kB / 0.6487 GB, free: 50.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00923/1.914, allocations: 295.5 kB / 0.649 GB, free: 50.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002116/1.916, allocations: 346.6 kB / 0.6493 GB, free: 50.36 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.06216/1.978, allocations: 11.99 MB / 0.661 GB, free: 38.39 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.03299/2.011, allocations: 12.61 MB / 0.6733 GB, free: 25.71 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01149/2.023, allocations: 3.675 MB / 0.6769 GB, free: 22.02 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.01054/2.034, allocations: 3.53 MB / 0.6804 GB, free: 18.5 MB / 362.7 MB Notification: Performance of Backend: time 2.124e-06/2.034, allocations: 0 / 0.6804 GB, free: 18.5 MB / 362.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:2805:5-2808:55:writable] Warning: Variable $DER.wheelSet.der_theta1 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:2809:5-2812:55:writable] Warning: Variable $DER.wheelSet.der_theta2 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:2805:5-2808:55:writable] Warning: Variable $DER.wheelSet.der_theta1 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:2809:5-2812:55:writable] Warning: Variable $DER.wheelSet.der_theta2 has attribute stateSelect=StateSelect.always, but can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.02251/2.056, allocations: 8.273 MB / 0.6884 GB, free: 10.2 MB / 362.7 MB Notification: Performance of SimCode: time 0.2672/2.323, allocations: 16.66 MB / 0.7047 GB, free: 118.6 MB / 378.7 MB Notification: Performance of Templates: time 0.2108/2.534, allocations: 89.47 MB / 0.7921 GB, free: 51.14 MB / 378.7 MB