Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.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.Sensors.CutForceAndTorque1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce1a.torque.3.|cutForce1b.torque.3.|cutForce2a.force.3.|cutForce2a.torque.3.|cutForce2b.force.3.|cutForce2b.torque.3.|cutForce1a.force.2.|cutForce1a.torque.2.|cutForce1b.torque.2.|cutForce2a.force.2.|cutForce2a.torque.2.|cutForce2b.force.2.|cutForce2b.torque.2.|cutForce1a.force.1.|cutForce1a.torque.1.|cutForce1b.torque.1.|cutForce2a.force.1.|cutForce2a.torque.1.|cutForce2b.force.1.|cutForce2b.torque.1.",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003971/0.003975, allocations: 355 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.317/3.317, allocations: 341.5 MB / 358.2 MB, free: 28.63 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003529/0.003529, allocations: 213.1 kB / 397.9 MB, free: 6.016 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5228/0.5228, allocations: 76.09 MB / 0.5014 GB, free: 0.8125 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006253/0.0006255, allocations: 12 kB / 0.5592 GB, free: 60.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08255/0.08322, allocations: 48.71 MB / 0.6067 GB, free: 11.54 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1): time 0.4494/0.5326, allocations: 115.8 MB / 0.7198 GB, free: 5.77 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.06857/0.6013, allocations: 22.69 MB / 0.742 GB, free: 15.01 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02486/0.6262, allocations: 0.5301 MB / 0.7425 GB, free: 14.48 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02057/0.6468, allocations: 5.74 MB / 0.7481 GB, free: 8.711 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.06524/0.7121, allocations: 19.36 MB / 0.767 GB, free: 5.277 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009764/0.7219, allocations: 1.42 MB / 0.7684 GB, free: 3.855 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.02073/0.7427, allocations: 11.32 MB / 0.7795 GB, free: 8.52 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02589/0.7686, allocations: 11.46 MB / 0.7906 GB, free: 12.98 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007564/0.7763, allocations: 3.024 MB / 0.7936 GB, free: 9.938 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01056/0.7869, allocations: 4.759 MB / 0.7982 GB, free: 5.164 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002608/0.7895, allocations: 376 kB / 0.7986 GB, free: 4.797 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005122/0.7947, allocations: 1.057 MB / 0.7996 GB, free: 3.734 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00786/0.8026, allocations: 4.212 MB / 0.8037 GB, free: 15.51 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004296/0.8069, allocations: 1.952 MB / 0.8057 GB, free: 13.55 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02172/0.8287, allocations: 13.08 MB / 0.8184 GB, free: 432 kB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.247e-06/0.8288, allocations: 4 kB / 0.8184 GB, free: 428 kB / 442.7 MB Notification: Performance of FrontEnd: time 5.37e-06/0.8288, allocations: 7.938 kB / 0.8184 GB, free: 420 kB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000596/0.8294, allocations: 0 / 0.8184 GB, free: 420 kB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3662 * Number of variables: 3662 Notification: Performance of Generate backend data structure: time 0.6755/1.505, allocations: 9.532 MB / 0.8277 GB, free: 40.42 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.286e-05/1.505, allocations: 12.12 kB / 0.8278 GB, free: 40.42 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02487/1.53, allocations: 3.431 MB / 0.8311 GB, free: 39.73 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01808/1.548, allocations: 5.594 MB / 0.8366 GB, free: 38.74 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009565/1.549, allocations: 0.5962 MB / 0.8372 GB, free: 38.73 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003804/1.553, allocations: 0.7561 MB / 0.8379 GB, free: 38.72 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06795/1.621, allocations: 24.69 MB / 0.862 GB, free: 35.07 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005707/1.621, allocations: 79.11 kB / 0.8621 GB, free: 35.07 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003327/1.625, allocations: 365.5 kB / 0.8624 GB, free: 35.07 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01153/1.636, allocations: 4.544 MB / 0.8669 GB, free: 33.43 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06138/1.698, allocations: 19.38 MB / 0.8858 GB, free: 20.88 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.205/1.903, allocations: 85.58 MB / 0.9694 GB, free: 10.8 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0603/1.963, allocations: 7.785 MB / 0.977 GB, free: 2.887 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01379/1.977, allocations: 3.097 MB / 0.98 GB, free: 15.78 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06129/2.038, allocations: 13.11 MB / 0.9928 GB, free: 2.344 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001217/2.039, allocations: 77.7 kB / 0.9929 GB, free: 2.262 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=336): time 1.282e-05/2.039, allocations: 0 / 0.9929 GB, free: 2.262 MB / 0.5105 GB Notification: Performance of matching and sorting (n=360): time 0.5358/2.574, allocations: 20.65 MB / 1.013 GB, free: 236.2 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.95e-05/2.575, allocations: 163.6 kB / 1.013 GB, free: 236 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01921/2.594, allocations: 7.337 MB / 1.02 GB, free: 234.4 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.0007282/2.595, allocations: 82.48 kB / 1.02 GB, free: 234.3 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.005809/2.6, allocations: 6.757 MB / 1.027 GB, free: 229.4 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.002036/2.603, allocations: 1.35 MB / 1.028 GB, free: 228.4 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001052/2.604, allocations: 218.9 kB / 1.029 GB, free: 228.3 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.0007647/2.604, allocations: 0.7809 MB / 1.029 GB, free: 227.8 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009955/2.614, allocations: 3.267 MB / 1.033 GB, free: 226.8 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01347/2.628, allocations: 9.857 MB / 1.042 GB, free: 216.9 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01308/2.641, allocations: 5.478 MB / 1.047 GB, free: 214.9 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000245/2.641, allocations: 67.16 kB / 1.048 GB, free: 214.9 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1454) (initialization): time 0.03934/2.681, allocations: 12.83 MB / 1.06 GB, free: 209.5 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002631/2.681, allocations: 105 kB / 1.06 GB, free: 209.4 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004498/2.681, allocations: 232 kB / 1.06 GB, free: 209.2 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005594/2.682, allocations: 347.1 kB / 1.061 GB, free: 208.8 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02131/2.703, allocations: 2.571 MB / 1.063 GB, free: 206.6 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006092/2.704, allocations: 459.8 kB / 1.064 GB, free: 206.2 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01775/2.722, allocations: 0.5168 MB / 1.064 GB, free: 205.7 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002496/2.724, allocations: 0.6557 MB / 1.065 GB, free: 205.1 MB / 0.5262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1060 * Number of states: 0 () * Number of discrete variables: 69 (body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],cutForce1a.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1390): * Single equations (assignments): 1379 * Array equations: 11 * 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.01473/2.739, allocations: 4.521 MB / 1.069 GB, free: 201.1 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0024/2.742, allocations: 0.6592 MB / 1.07 GB, free: 200.4 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01384/2.755, allocations: 4.08 MB / 1.074 GB, free: 197 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.773e-05/2.756, allocations: 22.23 kB / 1.074 GB, free: 196.9 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.278e-05/2.756, allocations: 0 / 1.074 GB, free: 196.9 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002672/2.758, allocations: 0.662 MB / 1.075 GB, free: 196.2 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002736/2.761, allocations: 56.88 kB / 1.075 GB, free: 196.2 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005414/2.767, allocations: 175.8 kB / 1.075 GB, free: 196 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007979/2.767, allocations: 191.7 kB / 1.075 GB, free: 195.8 MB / 0.5262 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01289/2.78, allocations: 4.429 MB / 1.079 GB, free: 191.4 MB / 0.5262 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01148/2.792, allocations: 4.726 MB / 1.084 GB, free: 186.6 MB / 0.5262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004467/2.796, allocations: 1.851 MB / 1.086 GB, free: 184.8 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.0105/2.807, allocations: 4.559 MB / 1.09 GB, free: 180.2 MB / 0.5262 GB Notification: Performance of Backend: time 1.302e-06/2.807, allocations: 0 / 1.09 GB, free: 180.2 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.02001/2.827, allocations: 6.317 MB / 1.096 GB, free: 174 MB / 0.5262 GB Notification: Performance of SimCode: time 0.04924/2.876, allocations: 23.54 MB / 1.119 GB, free: 150.4 MB / 0.5262 GB Notification: Performance of Templates: time 0.2349/3.111, allocations: 70.54 MB / 1.188 GB, free: 80.08 MB / 0.5262 GB