Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.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.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.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002802/0.002801, allocations: 361.2 kB / 15.95 MB, free: 6.207 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.032/4.032, allocations: 388.9 MB / 405.6 MB, free: 10.22 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.009496/0.009495, allocations: 230 kB / 451 MB, free: 145.1 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.6156/0.6156, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004835/0.0004838, allocations: 12 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09921/0.09972, allocations: 54.86 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5156/0.6154, allocations: 100.9 MB / 0.7786 GB, free: 0.6914 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000292/0.6157, allocations: 88 kB / 0.7787 GB, free: 0.6445 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.23/1.846, allocations: 199.3 MB / 0.9733 GB, free: 78.16 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.386e-06/1.846, allocations: 0 / 0.9733 GB, free: 78.16 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0005386/1.847, allocations: 197.3 kB / 0.9735 GB, free: 78.15 MB / 474.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.06264/1.909, allocations: 9.788 MB / 0.983 GB, free: 73.54 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/1.909, allocations: 10.94 kB / 0.9831 GB, free: 73.54 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05354/1.963, allocations: 3.913 MB / 0.9869 GB, free: 71.77 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02761/1.991, allocations: 9.127 MB / 0.9958 GB, free: 68.3 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001089/1.992, allocations: 0.7966 MB / 0.9966 GB, free: 67.57 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006067/1.998, allocations: 1.044 MB / 0.9976 GB, free: 66.59 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07761/2.076, allocations: 24.28 MB / 1.021 GB, free: 40.88 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007165/2.076, allocations: 95.16 kB / 1.021 GB, free: 40.79 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005568/2.082, allocations: 497.4 kB / 1.022 GB, free: 40.37 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006948/2.089, allocations: 2.274 MB / 1.024 GB, free: 38.09 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06343/2.152, allocations: 19.33 MB / 1.043 GB, free: 18.74 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6816/2.834, allocations: 93.91 MB / 1.135 GB, free: 41.52 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03732/2.871, allocations: 7.64 MB / 1.142 GB, free: 40.85 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008072/2.88, allocations: 3.126 MB / 1.145 GB, free: 40.79 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03912/2.919, allocations: 13.17 MB / 1.158 GB, free: 53.52 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.794e-05/2.919, allocations: 66.84 kB / 1.158 GB, free: 53.48 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=336): time 8.847e-06/2.919, allocations: 3.375 kB / 1.158 GB, free: 53.48 MB / 0.5105 GB Notification: Performance of matching and sorting (n=360): time 0.09866/3.018, allocations: 20.59 MB / 1.178 GB, free: 47.75 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.582e-05/3.018, allocations: 172.2 kB / 1.178 GB, free: 47.59 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01944/3.037, allocations: 7.409 MB / 1.186 GB, free: 46.93 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008751/3.038, allocations: 78.02 kB / 1.186 GB, free: 46.9 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.006562/3.045, allocations: 6.803 MB / 1.192 GB, free: 42.99 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002026/3.047, allocations: 1.359 MB / 1.194 GB, free: 42 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001261/3.048, allocations: 216.8 kB / 1.194 GB, free: 41.83 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0007725/3.049, allocations: 0.749 MB / 1.195 GB, free: 41.34 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01019/3.059, allocations: 3.216 MB / 1.198 GB, free: 40.36 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01492/3.074, allocations: 9.736 MB / 1.207 GB, free: 30.65 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01427/3.088, allocations: 5.401 MB / 1.213 GB, free: 28.72 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002414/3.089, allocations: 63.16 kB / 1.213 GB, free: 28.72 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1390) (initialization): time 0.03811/3.127, allocations: 12.65 MB / 1.225 GB, free: 24.35 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001824/3.127, allocations: 105.2 kB / 1.225 GB, free: 24.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004462/3.128, allocations: 228.6 kB / 1.225 GB, free: 24.35 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000397/3.128, allocations: 338.4 kB / 1.226 GB, free: 24.35 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01749/3.145, allocations: 2.614 MB / 1.228 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005246/3.146, allocations: 465.7 kB / 1.229 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01417/3.16, allocations: 0.6912 MB / 1.229 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002709/3.163, allocations: 0.6398 MB / 1.23 GB, free: 23.64 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1052 * 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 (1366): * Single equations (assignments): 1363 * Array equations: 3 * 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.0133/3.176, allocations: 4.516 MB / 1.234 GB, free: 21.19 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001771/3.178, allocations: 0.6595 MB / 1.235 GB, free: 20.52 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01337/3.191, allocations: 4.106 MB / 1.239 GB, free: 17.03 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.697e-05/3.192, allocations: 36 kB / 1.239 GB, free: 16.99 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.811e-05/3.192, allocations: 3.609 kB / 1.239 GB, free: 16.99 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.538e-05/3.192, allocations: 21.92 kB / 1.239 GB, free: 16.98 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5543/3.746, allocations: 50.25 MB / 1.288 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003476/3.746, allocations: 72.66 kB / 1.288 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007693/3.754, allocations: 0.738 MB / 1.289 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001855/3.754, allocations: 105.3 kB / 1.289 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001002/3.755, allocations: 167.2 kB / 1.289 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000147/3.756, allocations: 139.4 kB / 1.289 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001165/3.756, allocations: 112.1 kB / 1.289 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01585/3.772, allocations: 7.242 MB / 1.296 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003239/3.775, allocations: 0.7961 MB / 1.297 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00292/3.778, allocations: 169.7 kB / 1.297 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007669/3.786, allocations: 273.5 kB / 1.298 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001529/3.787, allocations: 490.7 kB / 1.298 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007097/3.788, allocations: 207.5 kB / 1.298 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01488/3.803, allocations: 4.651 MB / 1.303 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.412e-06/3.803, allocations: 0 / 1.303 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01565/3.818, allocations: 1.875 MB / 1.305 GB, free: 114.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 330 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (376): * Single equations (assignments): 373 * Array equations: 3 * 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 Backend phase and start with SimCode phase: time 0.001951/3.82, allocations: 360.2 kB / 1.305 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02144/3.842, allocations: 7.572 MB / 1.312 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.634e-05/3.842, allocations: 11.78 kB / 1.312 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.006019/3.848, allocations: 2.124 MB / 1.314 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01426/3.862, allocations: 1.088 MB / 1.316 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06503/3.928, allocations: 25.9 MB / 1.341 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02211/3.95, allocations: 7.127 MB / 1.348 GB, free: 99.63 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01921/3.969, allocations: 3.315 MB / 1.351 GB, free: 99.33 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003253/3.972, allocations: 0.4885 MB / 1.352 GB, free: 99.31 MB / 0.5261 GB Notification: Performance of SimCode: time 1.873e-06/3.972, allocations: 0 / 1.352 GB, free: 99.31 MB / 0.5261 GB Notification: Performance of Templates: time 0.234/4.206, allocations: 56.35 MB / 1.407 GB, free: 70.88 MB / 0.5261 GB