Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForceAndTorque.force.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002636/0.002641, allocations: 347.4 kB / 15.95 MB, free: 6.199 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.371/3.371, allocations: 341.5 MB / 358.2 MB, free: 12.63 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.004503/0.004502, allocations: 217.2 kB / 397.9 MB, free: 4.992 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.4809/0.4809, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004615/0.0004617, allocations: 12 kB / 0.5592 GB, free: 53.47 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08237/0.08286, allocations: 48.71 MB / 0.6067 GB, free: 4.656 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.3372/0.4201, allocations: 47.37 MB / 0.653 GB, free: 61.56 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0274/0.4475, allocations: 9.553 MB / 0.6623 GB, free: 55.12 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01142/0.459, allocations: 207.7 kB / 0.6625 GB, free: 55.1 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008784/0.4678, allocations: 2.346 MB / 0.6648 GB, free: 53.32 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0254/0.4933, allocations: 7.889 MB / 0.6725 GB, free: 45.42 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00333/0.4967, allocations: 323.6 kB / 0.6728 GB, free: 45.11 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00522/0.5019, allocations: 3.376 MB / 0.6761 GB, free: 41.73 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0069/0.5089, allocations: 3.907 MB / 0.6799 GB, free: 37.89 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001846/0.5108, allocations: 0.86 MB / 0.6808 GB, free: 37.03 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002649/0.5135, allocations: 1.386 MB / 0.6821 GB, free: 35.64 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000681/0.5142, allocations: 124 kB / 0.6823 GB, free: 35.52 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001664/0.5159, allocations: 0.5578 MB / 0.6828 GB, free: 34.96 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001629/0.5176, allocations: 1.309 MB / 0.6841 GB, free: 33.64 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009109/0.5185, allocations: 0.6753 MB / 0.6847 GB, free: 32.96 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005726/0.5242, allocations: 4.645 MB / 0.6893 GB, free: 28.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.872e-06/0.5243, allocations: 0 / 0.6893 GB, free: 28.3 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.5243, allocations: 0 / 0.6893 GB, free: 28.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001758/0.5245, allocations: 0 / 0.6893 GB, free: 28.3 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1328 * Number of variables: 1328 Notification: Performance of Generate backend data structure: time 0.008075/0.5326, allocations: 3.112 MB / 0.6923 GB, free: 25.13 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/0.5327, allocations: 8.031 kB / 0.6923 GB, free: 25.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01173/0.5444, allocations: 2.05 MB / 0.6943 GB, free: 23.06 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004508/0.549, allocations: 1.608 MB / 0.6959 GB, free: 21.41 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003045/0.5493, allocations: 210.9 kB / 0.6961 GB, free: 21.2 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001516/0.5509, allocations: 263.9 kB / 0.6963 GB, free: 20.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02704/0.5779, allocations: 8.407 MB / 0.7046 GB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001223/0.5781, allocations: 15.88 kB / 0.7046 GB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000858/0.579, allocations: 119.9 kB / 0.7047 GB, free: 12.08 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006054/0.5851, allocations: 1.756 MB / 0.7064 GB, free: 10.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02765/0.6128, allocations: 7.053 MB / 0.7133 GB, free: 3.258 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07464/0.6875, allocations: 25.8 MB / 0.7385 GB, free: 8.891 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01361/0.7012, allocations: 2.547 MB / 0.741 GB, free: 6.227 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003839/0.7051, allocations: 0.9775 MB / 0.7419 GB, free: 5.246 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01851/0.7236, allocations: 4.445 MB / 0.7463 GB, free: 0.6602 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.051e-05/0.7238, allocations: 39.56 kB / 0.7463 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of pre-optimization done (n=120): time 7.534e-06/0.7238, allocations: 0 / 0.7463 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of matching and sorting (n=120): time 0.01831/0.7421, allocations: 2.711 MB / 0.749 GB, free: 13.89 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.467e-05/0.7422, allocations: 64.34 kB / 0.749 GB, free: 13.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00704/0.7493, allocations: 2.224 MB / 0.7512 GB, free: 11.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00028/0.7496, allocations: 41.7 kB / 0.7512 GB, free: 11.51 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002622/0.7523, allocations: 2.302 MB / 0.7535 GB, free: 9.172 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007574/0.7531, allocations: 466 kB / 0.7539 GB, free: 8.711 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002613/0.7534, allocations: 76 kB / 0.754 GB, free: 8.637 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003424/0.7537, allocations: 462 kB / 0.7544 GB, free: 8.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002957/0.7567, allocations: 1.104 MB / 0.7555 GB, free: 7.074 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004864/0.7616, allocations: 3.253 MB / 0.7587 GB, free: 2.762 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004833/0.7665, allocations: 1.886 MB / 0.7605 GB, free: 0.8789 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.674e-05/0.7666, allocations: 28 kB / 0.7606 GB, free: 0.8516 MB / 410.7 MB Notification: Performance of matching and sorting (n=481) (initialization): time 0.3095/1.076, allocations: 4.259 MB / 0.7647 GB, free: 120.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.033e-05/1.076, allocations: 37.48 kB / 0.7648 GB, free: 120.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001271/1.076, allocations: 75.12 kB / 0.7648 GB, free: 120.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001737/1.077, allocations: 111.2 kB / 0.7649 GB, free: 120.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005012/1.082, allocations: 0.8122 MB / 0.7657 GB, free: 120.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001901/1.082, allocations: 148.2 kB / 0.7659 GB, free: 120.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003584/1.085, allocations: 0.4913 MB / 0.7663 GB, free: 120.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006357/1.086, allocations: 222.2 kB / 0.7666 GB, free: 120.7 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 344 * Number of states: 0 () * Number of discrete variables: 27 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.forceColor[1],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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (447): * Single equations (assignments): 442 * Array equations: 5 * 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.004375/1.09, allocations: 1.696 MB / 0.7682 GB, free: 120.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004795/1.091, allocations: 192.3 kB / 0.7684 GB, free: 120.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00414/1.095, allocations: 1.511 MB / 0.7699 GB, free: 120.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.092e-05/1.095, allocations: 6.047 kB / 0.7699 GB, free: 120.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/1.095, allocations: 0 / 0.7699 GB, free: 120.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006657/1.096, allocations: 275.3 kB / 0.7701 GB, free: 120.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004042/1.096, allocations: 17.58 kB / 0.7702 GB, free: 120.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001055/1.097, allocations: 33.34 kB / 0.7702 GB, free: 120.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001817/1.098, allocations: 59.48 kB / 0.7702 GB, free: 120.1 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003909/1.101, allocations: 1.409 MB / 0.7716 GB, free: 119.6 MB / 410.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003599/1.105, allocations: 1.588 MB / 0.7732 GB, free: 118.9 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00155/1.107, allocations: 0.6083 MB / 0.7738 GB, free: 118.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003301/1.11, allocations: 1.365 MB / 0.7751 GB, free: 118.1 MB / 410.7 MB Notification: Performance of Backend: time 1.433e-06/1.11, allocations: 0 / 0.7751 GB, free: 118.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006856/1.117, allocations: 2.175 MB / 0.7772 GB, free: 117.4 MB / 410.7 MB Notification: Performance of SimCode: time 0.01834/1.135, allocations: 8.297 MB / 0.7853 GB, free: 112.8 MB / 410.7 MB Notification: Performance of Templates: time 0.07172/1.207, allocations: 22.85 MB / 0.8076 GB, free: 99.64 MB / 410.7 MB