Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Bodies.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.1_ModelicaTest.MultiBody.Parts.Bodies") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002624/0.002629, allocations: 346.9 kB / 15.95 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.799/3.799, allocations: 341.5 MB / 358.2 MB, free: 12.57 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.005069/0.005068, allocations: 221.2 kB / 397.9 MB, free: 4.91 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4735/0.4735, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004456/0.0004459, allocations: 8 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08571/0.08618, allocations: 48.7 MB / 0.6067 GB, free: 4.629 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.3509/0.4371, allocations: 61.44 MB / 0.6667 GB, free: 50.63 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.03738/0.4746, allocations: 12.77 MB / 0.6792 GB, free: 38.5 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01503/0.4897, allocations: 295.2 kB / 0.6795 GB, free: 38.21 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01125/0.501, allocations: 2.982 MB / 0.6824 GB, free: 35.21 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.035/0.536, allocations: 10.55 MB / 0.6927 GB, free: 24.62 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006075/0.5422, allocations: 0.9378 MB / 0.6936 GB, free: 23.69 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.07202/0.6142, allocations: 28.67 MB / 0.7216 GB, free: 10.98 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01551/0.6298, allocations: 4.245 MB / 0.7258 GB, free: 6.789 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00628/0.6362, allocations: 1.483 MB / 0.7272 GB, free: 5.301 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008908/0.6452, allocations: 2.552 MB / 0.7297 GB, free: 2.742 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001883/0.6471, allocations: 136 kB / 0.7298 GB, free: 2.609 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004595/0.6518, allocations: 0.632 MB / 0.7305 GB, free: 1.977 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006063/0.6579, allocations: 2.057 MB / 0.7325 GB, free: 15.91 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003178/0.6612, allocations: 0.7883 MB / 0.7332 GB, free: 15.12 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01217/0.6734, allocations: 5.186 MB / 0.7383 GB, free: 9.918 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.759e-06/0.6735, allocations: 11.94 kB / 0.7383 GB, free: 9.906 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.166e-06/0.6735, allocations: 0 / 0.7383 GB, free: 9.906 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002368/0.6738, allocations: 0 / 0.7383 GB, free: 9.906 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.01604/0.6898, allocations: 4.415 MB / 0.7426 GB, free: 5.422 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/0.6899, allocations: 8.031 kB / 0.7426 GB, free: 5.414 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03423/0.7241, allocations: 2.054 MB / 0.7446 GB, free: 3.352 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01483/0.739, allocations: 4.282 MB / 0.7488 GB, free: 15 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003146/0.7394, allocations: 213.2 kB / 0.749 GB, free: 14.79 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001324/0.7407, allocations: 283.7 kB / 0.7493 GB, free: 14.51 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02227/0.763, allocations: 7.128 MB / 0.7563 GB, free: 6.836 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002948/0.7634, allocations: 63.39 kB / 0.7563 GB, free: 6.773 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009815/0.7644, allocations: 127.9 kB / 0.7564 GB, free: 6.648 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002972/0.7674, allocations: 0.9978 MB / 0.7574 GB, free: 5.652 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3382/1.106, allocations: 5.272 MB / 0.7626 GB, free: 124.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06415/1.17, allocations: 27.43 MB / 0.7894 GB, free: 107.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005641/1.176, allocations: 0.7307 MB / 0.7901 GB, free: 107.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006449/1.176, allocations: 225.1 kB / 0.7903 GB, free: 107.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.483e-05/1.176, allocations: 8.016 kB / 0.7903 GB, free: 107.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.288e-05/1.176, allocations: 40.67 kB / 0.7903 GB, free: 107.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=37): time 4.188e-06/1.176, allocations: 0 / 0.7903 GB, free: 107.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=37): time 0.01281/1.189, allocations: 2.07 MB / 0.7924 GB, free: 107.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.405e-05/1.189, allocations: 240.5 kB / 0.7926 GB, free: 106.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01096/1.2, allocations: 4.717 MB / 0.7972 GB, free: 105.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001087/1.2, allocations: 32.64 kB / 0.7972 GB, free: 105 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0029/1.203, allocations: 2.703 MB / 0.7999 GB, free: 102.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003387/1.204, allocations: 199.6 kB / 0.8 GB, free: 102.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002693/1.204, allocations: 74.84 kB / 0.8001 GB, free: 102.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002501/1.204, allocations: 467.8 kB / 0.8006 GB, free: 102 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002578/1.207, allocations: 0.8979 MB / 0.8014 GB, free: 101.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004444/1.211, allocations: 3.591 MB / 0.8049 GB, free: 97.46 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004289/1.216, allocations: 1.676 MB / 0.8066 GB, free: 96.71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001493/1.216, allocations: 27.53 kB / 0.8066 GB, free: 96.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=496) (initialization): time 0.01215/1.228, allocations: 4.346 MB / 0.8109 GB, free: 94.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.221e-05/1.228, allocations: 49.97 kB / 0.8109 GB, free: 94.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001126/1.228, allocations: 94.88 kB / 0.811 GB, free: 94.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001586/1.229, allocations: 140.9 kB / 0.8111 GB, free: 94.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005037/1.234, allocations: 0.9244 MB / 0.812 GB, free: 94.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001668/1.234, allocations: 186.4 kB / 0.8122 GB, free: 94.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006393/1.24, allocations: 0.5758 MB / 0.8128 GB, free: 93.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000648/1.241, allocations: 246.6 kB / 0.813 GB, free: 93.84 MB / 410.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.004088/1.245, allocations: 1.634 MB / 0.8146 GB, free: 92.87 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001248/1.246, allocations: 376.5 kB / 0.815 GB, free: 92.67 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001065/1.247, allocations: 380.2 kB / 0.8153 GB, free: 92.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/1.247, allocations: 0.5625 kB / 0.8153 GB, free: 92.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/1.247, allocations: 0.6875 kB / 0.8153 GB, free: 92.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001772/1.249, allocations: 496.2 kB / 0.8158 GB, free: 91.78 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001121/1.25, allocations: 11.95 kB / 0.8158 GB, free: 91.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002659/1.253, allocations: 39.95 kB / 0.8158 GB, free: 91.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.557e-05/1.253, allocations: 19.97 kB / 0.8159 GB, free: 91.71 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001394/1.255, allocations: 0.7902 MB / 0.8166 GB, free: 90.93 MB / 410.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001519/1.256, allocations: 1.196 MB / 0.8178 GB, free: 89.71 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003021/1.256, allocations: 164.7 kB / 0.818 GB, free: 89.55 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.006658/1.263, allocations: 3.074 MB / 0.821 GB, free: 86.48 MB / 410.7 MB Notification: Performance of Backend: time 1.293e-06/1.263, allocations: 3.938 kB / 0.821 GB, free: 86.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007093/1.27, allocations: 2.035 MB / 0.823 GB, free: 84.47 MB / 410.7 MB Notification: Performance of SimCode: time 0.02418/1.294, allocations: 9.104 MB / 0.8318 GB, free: 75.34 MB / 410.7 MB Notification: Performance of Templates: time 0.1315/1.426, allocations: 32.81 MB / 0.8639 GB, free: 43.14 MB / 410.7 MB