Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.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.CutForceAndTorque2,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.CutForceAndTorque2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002633/0.002638, allocations: 354.8 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.319/3.319, allocations: 341.5 MB / 358.2 MB, free: 12.65 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.00354/0.00354, allocations: 225.1 kB / 397.9 MB, free: 4.988 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.4948/0.4948, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004593/0.0004596, allocations: 8 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09868/0.09916, allocations: 48.7 MB / 0.6067 GB, free: 4.664 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2): time 0.4346/0.5339, allocations: 115.8 MB / 0.7198 GB, free: 12.75 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.08045/0.6144, allocations: 22.7 MB / 0.742 GB, free: 6.105 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02784/0.6423, allocations: 0.5301 MB / 0.7425 GB, free: 5.574 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02007/0.6624, allocations: 5.74 MB / 0.7481 GB, free: 15.81 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.4124/1.075, allocations: 19.35 MB / 0.767 GB, free: 8.172 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00952/1.084, allocations: 1.419 MB / 0.7684 GB, free: 8.148 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01949/1.104, allocations: 11.31 MB / 0.7794 GB, free: 8.098 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0236/1.128, allocations: 11.45 MB / 0.7906 GB, free: 7.387 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007987/1.136, allocations: 3.022 MB / 0.7936 GB, free: 7.383 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01012/1.146, allocations: 4.764 MB / 0.7982 GB, free: 7.027 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002788/1.149, allocations: 376.8 kB / 0.7986 GB, free: 7.027 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005537/1.154, allocations: 1.052 MB / 0.7996 GB, free: 6.82 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007033/1.161, allocations: 4.213 MB / 0.8037 GB, free: 5.754 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004736/1.166, allocations: 1.951 MB / 0.8056 GB, free: 5.723 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0267/1.193, allocations: 13.6 MB / 0.8189 GB, free: 0 / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.834e-06/1.193, allocations: 176 / 0.8189 GB, free: 0 / 410.7 MB Notification: Performance of FrontEnd: time 3.487e-06/1.193, allocations: 0.5312 kB / 0.8189 GB, free: 0 / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006788/1.194, allocations: 0.5156 kB / 0.8189 GB, free: 0 / 410.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.03292/1.227, allocations: 9.552 MB / 0.8282 GB, free: 7.797 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.053e-05/1.227, allocations: 12.03 kB / 0.8283 GB, free: 7.785 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02516/1.252, allocations: 3.434 MB / 0.8316 GB, free: 4.484 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01758/1.269, allocations: 5.591 MB / 0.8371 GB, free: 484 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001337/1.271, allocations: 0.5944 MB / 0.8377 GB, free: 144 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00631/1.277, allocations: 0.7575 MB / 0.8384 GB, free: 15.64 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07929/1.357, allocations: 24.69 MB / 0.8625 GB, free: 12.71 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004598/1.357, allocations: 82.53 kB / 0.8626 GB, free: 12.67 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003536/1.361, allocations: 372.4 kB / 0.8629 GB, free: 12.57 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01291/1.374, allocations: 4.536 MB / 0.8674 GB, free: 8.871 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06795/1.442, allocations: 19.39 MB / 0.8863 GB, free: 11.41 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8621/2.304, allocations: 85.56 MB / 0.9699 GB, free: 155.1 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05642/2.36, allocations: 7.838 MB / 0.9775 GB, free: 154.4 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008741/2.369, allocations: 3.107 MB / 0.9805 GB, free: 154.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03762/2.407, allocations: 13.12 MB / 0.9934 GB, free: 151.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.048e-05/2.407, allocations: 69.38 kB / 0.9934 GB, free: 151.1 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=336): time 8.425e-06/2.407, allocations: 3.375 kB / 0.9934 GB, free: 151.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=360): time 0.08752/2.494, allocations: 20.64 MB / 1.014 GB, free: 144.6 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.873e-05/2.494, allocations: 166.2 kB / 1.014 GB, free: 144.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01554/2.51, allocations: 7.341 MB / 1.021 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007762/2.511, allocations: 87.81 kB / 1.021 GB, free: 141.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005335/2.516, allocations: 6.756 MB / 1.028 GB, free: 135.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001847/2.518, allocations: 1.356 MB / 1.029 GB, free: 134.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001086/2.519, allocations: 217.8 kB / 1.029 GB, free: 134.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006545/2.52, allocations: 0.7821 MB / 1.03 GB, free: 133.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008887/2.529, allocations: 3.262 MB / 1.033 GB, free: 132.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0134/2.542, allocations: 9.861 MB / 1.043 GB, free: 121.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01299/2.555, allocations: 5.464 MB / 1.048 GB, free: 117.9 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002161/2.556, allocations: 68 kB / 1.048 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1454) (initialization): time 0.03321/2.589, allocations: 12.82 MB / 1.061 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001596/2.589, allocations: 111.1 kB / 1.061 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002813/2.589, allocations: 232 kB / 1.061 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003391/2.59, allocations: 344 kB / 1.061 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01578/2.605, allocations: 2.569 MB / 1.064 GB, free: 102 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000452/2.606, allocations: 458.2 kB / 1.064 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01119/2.617, allocations: 0.5174 MB / 1.065 GB, free: 101 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002008/2.619, allocations: 0.6615 MB / 1.065 GB, free: 100.4 MB / 0.5105 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 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[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.01072/2.63, allocations: 4.524 MB / 1.07 GB, free: 95.84 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001453/2.631, allocations: 0.6516 MB / 1.07 GB, free: 95.18 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01189/2.643, allocations: 4.08 MB / 1.074 GB, free: 91.05 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.575e-05/2.643, allocations: 15.94 kB / 1.074 GB, free: 91.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-05/2.643, allocations: 0 / 1.074 GB, free: 91.04 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001973/2.645, allocations: 0.6674 MB / 1.075 GB, free: 90.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002288/2.648, allocations: 52.78 kB / 1.075 GB, free: 90.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00522/2.653, allocations: 171.8 kB / 1.075 GB, free: 90.13 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008424/2.654, allocations: 196.8 kB / 1.075 GB, free: 89.94 MB / 0.5105 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01321/2.667, allocations: 4.434 MB / 1.08 GB, free: 85.52 MB / 0.5105 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01101/2.678, allocations: 4.722 MB / 1.084 GB, free: 80.73 MB / 0.5105 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004461/2.683, allocations: 1.85 MB / 1.086 GB, free: 78.87 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01079/2.694, allocations: 4.559 MB / 1.091 GB, free: 74.35 MB / 0.5105 GB Notification: Performance of Backend: time 1.352e-06/2.694, allocations: 0 / 1.091 GB, free: 74.35 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0196/2.713, allocations: 6.323 MB / 1.097 GB, free: 68.11 MB / 0.5105 GB Notification: Performance of SimCode: time 0.05177/2.765, allocations: 23.58 MB / 1.12 GB, free: 44.48 MB / 0.5105 GB Notification: Performance of Templates: time 0.5201/3.285, allocations: 70.51 MB / 1.189 GB, free: 190.2 MB / 0.5105 GB