Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Bodies.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.Bodies,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyShape.frame_b.r_0.1.|bodyShape.frame_b.r_0.2.|bodyShape.frame_b.r_0.3.|bodyShape.frame_b.f.1.|bodyShape.frame_b.f.2.|bodyShape.frame_b.f.3.|bodyShape.frame_b.t.1.|bodyShape.frame_b.t.2.|bodyShape.frame_b.t.3.|bodyShape.frameTranslation.frame_b.r_0.1.|bodyShape.frameTranslation.frame_b.r_0.2.|bodyShape.frameTranslation.frame_b.r_0.3.|bodyShape.frameTranslation.frame_b.f.1.|bodyShape.frameTranslation.frame_b.f.2.|bodyShape.frameTranslation.frame_b.f.3.|bodyShape.frameTranslation.frame_b.t.1.|bodyShape.frameTranslation.frame_b.t.2.|bodyShape.frameTranslation.frame_b.t.3.|BodyBox1.frame_b.r_0.1.|BodyBox1.frame_b.r_0.2.|BodyBox1.frame_b.r_0.3.|BodyBox1.frame_b.f.1.|BodyBox1.frame_b.f.2.|BodyBox1.frame_b.f.3.|BodyBox1.frame_b.t.1.|BodyBox1.frame_b.t.2.|BodyBox1.frame_b.t.3.|BodyBox1.frameTranslation.frame_b.r_0.1.|BodyBox1.frameTranslation.frame_b.r_0.2.|BodyBox1.frameTranslation.frame_b.r_0.3.|BodyBox1.frameTranslation.frame_b.f.1.|BodyBox1.frameTranslation.frame_b.f.2.|BodyBox1.frameTranslation.frame_b.f.3.|BodyBox1.frameTranslation.frame_b.t.1.|BodyBox1.frameTranslation.frame_b.t.2.|BodyBox1.frameTranslation.frame_b.t.3.|bodyCylinder.frame_b.r_0.1.|bodyCylinder.frame_b.r_0.2.|bodyCylinder.frame_b.r_0.3.|bodyCylinder.frame_b.f.1.|bodyCylinder.frame_b.f.2.|bodyCylinder.frame_b.f.3.|bodyCylinder.frame_b.t.1.|bodyCylinder.frame_b.t.2.|bodyCylinder.frame_b.t.3.|bodyCylinder.frameTranslation.frame_b.r_0.1.|bodyCylinder.frameTranslation.frame_b.r_0.2.|bodyCylinder.frameTranslation.frame_b.r_0.3.|bodyCylinder.frameTranslation.frame_b.f.1.|bodyCylinder.frameTranslation.frame_b.f.2.|bodyCylinder.frameTranslation.frame_b.f.3.|bodyCylinder.frameTranslation.frame_b.t.1.|bodyCylinder.frameTranslation.frame_b.t.2.|bodyCylinder.frameTranslation.frame_b.t.3.|Fixed3.frame_b.r_0.1.|Fixed3.frame_b.r_0.2.|Fixed3.frame_b.r_0.3.|Fixed3.frame_b.f.1.|Fixed3.frame_b.f.2.|Fixed3.frame_b.f.3.|Fixed3.frame_b.t.1.|Fixed3.frame_b.t.2.|Fixed3.frame_b.t.3.|Fixed4.frame_b.r_0.1.|Fixed4.frame_b.r_0.2.|Fixed4.frame_b.r_0.3.|Fixed4.frame_b.f.1.|Fixed4.frame_b.f.2.|Fixed4.frame_b.f.3.|Fixed4.frame_b.t.1.|Fixed4.frame_b.t.2.|Fixed4.frame_b.t.3.|Fixed5.frame_b.r_0.1.|Fixed5.frame_b.r_0.2.|Fixed5.frame_b.r_0.3.|Fixed5.frame_b.f.1.|Fixed5.frame_b.f.2.|Fixed5.frame_b.f.3.|Fixed5.frame_b.t.1.|Fixed5.frame_b.t.2.|Fixed5.frame_b.t.3.|Fixed1.frame_b.r_0.1.|Fixed1.frame_b.r_0.2.|Fixed1.frame_b.r_0.3.|Fixed1.frame_b.f.1.|Fixed1.frame_b.f.2.|Fixed1.frame_b.f.3.|Fixed1.frame_b.t.1.|Fixed1.frame_b.t.2.|Fixed1.frame_b.t.3.|Fixed2.frame_b.r_0.1.|Fixed2.frame_b.r_0.2.|Fixed2.frame_b.r_0.3.|Fixed2.frame_b.f.1.|Fixed2.frame_b.f.2.|Fixed2.frame_b.f.3.|Fixed2.frame_b.t.1.|Fixed2.frame_b.t.2.|Fixed2.frame_b.t.3.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Bodies") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003857/0.003863, allocations: 369.9 kB / 15.96 MB, free: 6.199 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.061/4.061, allocations: 388.9 MB / 405.6 MB, free: 9.648 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003492/0.003492, allocations: 228.6 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5676/0.5676, allocations: 80.02 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006751/0.0006754, allocations: 15.98 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1075, allocations: 54.86 MB / 0.6801 GB, free: 41.63 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.409/0.5165, allocations: 61.45 MB / 0.7401 GB, free: 11.64 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.03712/0.5536, allocations: 12.78 MB / 0.7526 GB, free: 7.785 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01617/0.5699, allocations: 293.9 kB / 0.7529 GB, free: 7.738 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01146/0.5814, allocations: 2.996 MB / 0.7558 GB, free: 6.273 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03828/0.6197, allocations: 10.55 MB / 0.7661 GB, free: 14.97 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006104/0.6259, allocations: 0.9332 MB / 0.767 GB, free: 14.4 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0633/0.6892, allocations: 28.67 MB / 0.795 GB, free: 3.785 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00998/0.6993, allocations: 4.231 MB / 0.7991 GB, free: 15.51 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004369/0.7037, allocations: 1.487 MB / 0.8006 GB, free: 14.02 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006061/0.7098, allocations: 2.552 MB / 0.8031 GB, free: 11.46 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00127/0.7111, allocations: 140 kB / 0.8032 GB, free: 11.32 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00325/0.7144, allocations: 0.6243 MB / 0.8038 GB, free: 10.7 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004192/0.7187, allocations: 2.061 MB / 0.8058 GB, free: 8.633 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002075/0.7208, allocations: 0.7922 MB / 0.8066 GB, free: 7.832 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009177/0.73, allocations: 5.183 MB / 0.8117 GB, free: 2.637 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.7301, allocations: 0 / 0.8117 GB, free: 2.637 MB / 394.7 MB Notification: Performance of FrontEnd: time 6.723e-06/0.7301, allocations: 4 kB / 0.8117 GB, free: 2.633 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002414/0.7304, allocations: 0 / 0.8117 GB, free: 2.633 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1018 * Number of variables: 1018 Notification: Performance of Generate backend data structure: time 0.02058/0.751, allocations: 4.419 MB / 0.816 GB, free: 14.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.427e-05/0.7511, allocations: 8.031 kB / 0.816 GB, free: 14.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0654/0.8165, allocations: 2.051 MB / 0.818 GB, free: 12.08 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02/0.8366, allocations: 4.294 MB / 0.8222 GB, free: 7.711 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000448/0.8371, allocations: 213.2 kB / 0.8224 GB, free: 7.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001648/0.8387, allocations: 283.7 kB / 0.8227 GB, free: 7.223 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02293/0.8617, allocations: 7.127 MB / 0.8296 GB, free: 15.54 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000237/0.862, allocations: 59.45 kB / 0.8297 GB, free: 15.48 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006407/0.8626, allocations: 123.9 kB / 0.8298 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00283/0.8655, allocations: 1.002 MB / 0.8308 GB, free: 14.36 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02034/0.8859, allocations: 5.267 MB / 0.8359 GB, free: 9.094 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05413/0.9401, allocations: 27.44 MB / 0.8627 GB, free: 12.92 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005137/0.9453, allocations: 0.727 MB / 0.8634 GB, free: 12.15 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006547/0.946, allocations: 220.2 kB / 0.8636 GB, free: 11.92 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.864e-05/0.946, allocations: 12.3 kB / 0.8637 GB, free: 11.91 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.455e-05/0.9461, allocations: 38.56 kB / 0.8637 GB, free: 11.86 MB / 458.7 MB Notification: Performance of pre-optimization done (n=37): time 3.627e-06/0.9461, allocations: 0 / 0.8637 GB, free: 11.86 MB / 458.7 MB Notification: Performance of matching and sorting (n=37): time 0.01267/0.9588, allocations: 2.069 MB / 0.8657 GB, free: 9.777 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001388/0.959, allocations: 239.3 kB / 0.8659 GB, free: 9.488 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.012/0.971, allocations: 4.72 MB / 0.8706 GB, free: 4.762 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001001/0.9712, allocations: 33.7 kB / 0.8706 GB, free: 4.723 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003573/0.9748, allocations: 2.69 MB / 0.8732 GB, free: 2 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003478/0.9752, allocations: 206 kB / 0.8734 GB, free: 1.797 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002816/0.9754, allocations: 76 kB / 0.8735 GB, free: 1.723 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003566/0.9758, allocations: 482.2 kB / 0.8739 GB, free: 1.246 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002717/0.9785, allocations: 0.8936 MB / 0.8748 GB, free: 360 kB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005726/0.9843, allocations: 3.589 MB / 0.8783 GB, free: 11.41 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00444/0.9888, allocations: 1.678 MB / 0.88 GB, free: 9.73 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.923e-05/0.989, allocations: 32 kB / 0.88 GB, free: 9.699 MB / 474.7 MB Notification: Performance of matching and sorting (n=496) (initialization): time 0.01252/1.001, allocations: 4.344 MB / 0.8842 GB, free: 5.348 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001014/1.002, allocations: 48.38 kB / 0.8843 GB, free: 5.301 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001544/1.002, allocations: 96 kB / 0.8844 GB, free: 5.207 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001988/1.002, allocations: 140 kB / 0.8845 GB, free: 5.07 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005389/1.007, allocations: 0.9282 MB / 0.8854 GB, free: 4.141 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002485/1.008, allocations: 195.2 kB / 0.8856 GB, free: 3.949 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005285/1.013, allocations: 0.5684 MB / 0.8861 GB, free: 3.375 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006891/1.014, allocations: 244 kB / 0.8864 GB, free: 3.137 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 439 * Number of states: 0 () * Number of discrete variables: 51 (world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],Fixed2.color[3],Fixed2.color[2],Fixed2.color[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],Fixed5.color[3],Fixed5.color[2],Fixed5.color[1],Fixed4.color[3],Fixed4.color[2],Fixed4.color[1],Fixed3.color[3],Fixed3.color[2],Fixed3.color[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (496): * Single equations (assignments): 496 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003979/1.018, allocations: 1.633 MB / 0.888 GB, free: 1.496 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001067/1.019, allocations: 367.3 kB / 0.8883 GB, free: 1.133 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009927/1.02, allocations: 384.2 kB / 0.8887 GB, free: 0.7539 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.914e-06/1.02, allocations: 0 / 0.8887 GB, free: 0.7539 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/1.02, allocations: 0 / 0.8887 GB, free: 0.7539 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00137/1.021, allocations: 472.2 kB / 0.8891 GB, free: 276 kB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008588/1.022, allocations: 8 kB / 0.8891 GB, free: 268 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002073/1.024, allocations: 43.91 kB / 0.8892 GB, free: 224 kB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/1.024, allocations: 16.16 kB / 0.8892 GB, free: 208 kB / 474.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001269/1.026, allocations: 0.7789 MB / 0.89 GB, free: 15.41 MB / 490.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002124/1.028, allocations: 1.204 MB / 0.8911 GB, free: 14.19 MB / 490.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003744/1.028, allocations: 164.9 kB / 0.8913 GB, free: 14.03 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.008325/1.037, allocations: 3.07 MB / 0.8943 GB, free: 10.96 MB / 490.7 MB Notification: Performance of Backend: time 1.172e-06/1.037, allocations: 4 kB / 0.8943 GB, free: 10.96 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00799/1.045, allocations: 2.032 MB / 0.8963 GB, free: 8.941 MB / 490.7 MB Notification: Performance of SimCode: time 0.3985/1.443, allocations: 9.103 MB / 0.9052 GB, free: 173.4 MB / 490.7 MB Notification: Performance of Templates: time 0.1486/1.592, allocations: 32.81 MB / 0.9372 GB, free: 159.3 MB / 490.7 MB