Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce.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.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce2a.force.3.|cutForce2b.force.3.|cutForce1a.force.2.|cutForce2a.force.2.|cutForce2b.force.2.|cutForce1a.force.1.|cutForce2a.force.1.|cutForce2b.force.1.",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.005047/0.005052, allocations: 349.2 kB / 15.94 MB, free: 6.219 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.667/3.667, allocations: 341.5 MB / 358.2 MB, free: 12.62 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.003534/0.003534, allocations: 222.1 kB / 397.9 MB, free: 4.973 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.5378/0.5378, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008109/0.0008116, allocations: 16 kB / 0.5592 GB, free: 53.47 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1046, allocations: 48.7 MB / 0.6067 GB, free: 4.66 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5287/0.6333, allocations: 92.05 MB / 0.6966 GB, free: 20.69 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002939/0.6336, allocations: 87.02 kB / 0.6967 GB, free: 20.61 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.038/1.672, allocations: 157.9 MB / 0.8509 GB, free: 60.06 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.217e-06/1.672, allocations: 3.938 kB / 0.8509 GB, free: 60.06 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004749/1.672, allocations: 155.9 kB / 0.8511 GB, free: 59.91 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2796 * Number of variables: 2796 Notification: Performance of Generate backend data structure: time 0.0339/1.706, allocations: 8.093 MB / 0.859 GB, free: 51.72 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/1.706, allocations: 8.031 kB / 0.859 GB, free: 51.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0305/1.737, allocations: 3.511 MB / 0.8624 GB, free: 48.19 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0246/1.762, allocations: 8.117 MB / 0.8704 GB, free: 39.99 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008232/1.763, allocations: 0.5977 MB / 0.8709 GB, free: 39.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004792/1.767, allocations: 0.7927 MB / 0.8717 GB, free: 38.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06184/1.829, allocations: 18.86 MB / 0.8901 GB, free: 18.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005959/1.83, allocations: 95.11 kB / 0.8902 GB, free: 18.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004578/1.834, allocations: 379.8 kB / 0.8906 GB, free: 17.77 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004763/1.839, allocations: 1.782 MB / 0.8923 GB, free: 15.98 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05213/1.891, allocations: 14.81 MB / 0.9068 GB, free: 1.148 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8036/2.695, allocations: 78.81 MB / 0.9837 GB, free: 33.28 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02934/2.725, allocations: 6.089 MB / 0.9897 GB, free: 32.59 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006939/2.732, allocations: 2.438 MB / 0.9921 GB, free: 32.56 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04111/2.773, allocations: 10.88 MB / 1.003 GB, free: 29.34 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.577e-05/2.773, allocations: 60.88 kB / 1.003 GB, free: 29.3 MB / 442.8 MB Notification: Performance of pre-optimization done (n=238): time 6.722e-06/2.773, allocations: 3.469 kB / 1.003 GB, free: 29.3 MB / 442.8 MB Notification: Performance of matching and sorting (n=262): time 0.07719/2.85, allocations: 16.02 MB / 1.018 GB, free: 24.74 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.477e-05/2.85, allocations: 155.6 kB / 1.019 GB, free: 24.58 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01999/2.87, allocations: 6.646 MB / 1.025 GB, free: 23 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006035/2.871, allocations: 66.48 kB / 1.025 GB, free: 22.95 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005759/2.877, allocations: 5.579 MB / 1.031 GB, free: 18.67 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001688/2.878, allocations: 1.01 MB / 1.032 GB, free: 17.94 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001386/2.88, allocations: 185 kB / 1.032 GB, free: 17.8 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.001118/2.881, allocations: 0.6752 MB / 1.032 GB, free: 17.33 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008996/2.89, allocations: 2.568 MB / 1.035 GB, free: 16.57 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01465/2.905, allocations: 8.203 MB / 1.043 GB, free: 8.246 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01252/2.917, allocations: 4.434 MB / 1.047 GB, free: 6.781 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002645/2.918, allocations: 57.84 kB / 1.047 GB, free: 6.781 MB / 442.8 MB Notification: Performance of matching and sorting (n=1152) (initialization): time 0.03257/2.95, allocations: 10.44 MB / 1.057 GB, free: 3.445 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001533/2.95, allocations: 88.19 kB / 1.058 GB, free: 3.445 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003307/2.951, allocations: 205.2 kB / 1.058 GB, free: 3.441 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003397/2.951, allocations: 297.5 kB / 1.058 GB, free: 3.438 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01415/2.965, allocations: 2.18 MB / 1.06 GB, free: 3.035 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005377/2.966, allocations: 390 kB / 1.061 GB, free: 2.695 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01205/2.978, allocations: 0.6077 MB / 1.061 GB, free: 2.18 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002404/2.98, allocations: 0.535 MB / 1.062 GB, free: 1.648 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 912 * Number of states: 0 () * Number of discrete variables: 57 (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.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.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.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.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 (1128): * Single equations (assignments): 1125 * 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.01584/2.996, allocations: 3.886 MB / 1.065 GB, free: 15.21 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001688/2.998, allocations: 0.5707 MB / 1.066 GB, free: 14.64 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009573/3.008, allocations: 2.808 MB / 1.069 GB, free: 12.25 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-05/3.008, allocations: 28 kB / 1.069 GB, free: 12.23 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-05/3.008, allocations: 3.953 kB / 1.069 GB, free: 12.22 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.198e-05/3.008, allocations: 15.11 kB / 1.069 GB, free: 12.22 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06702/3.075, allocations: 26.44 MB / 1.095 GB, free: 5.676 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002221/3.075, allocations: 52 kB / 1.095 GB, free: 5.625 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003876/3.079, allocations: 0.5242 MB / 1.095 GB, free: 5.168 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001261/3.079, allocations: 81.16 kB / 1.095 GB, free: 5.094 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005814/3.08, allocations: 119.8 kB / 1.095 GB, free: 4.98 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001004/3.08, allocations: 102.7 kB / 1.095 GB, free: 4.891 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.934e-05/3.08, allocations: 83.62 kB / 1.096 GB, free: 4.809 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3607/3.441, allocations: 5.465 MB / 1.101 GB, free: 106.9 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003329/3.444, allocations: 0.6885 MB / 1.102 GB, free: 106.8 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002943/3.447, allocations: 122.4 kB / 1.102 GB, free: 106.8 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007991/3.455, allocations: 200 kB / 1.102 GB, free: 106.8 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001318/3.457, allocations: 354.3 kB / 1.102 GB, free: 106.8 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006376/3.457, allocations: 147.6 kB / 1.102 GB, free: 106.8 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.01984/3.477, allocations: 4.194 MB / 1.106 GB, free: 106.6 MB / 474.8 MB Notification: Performance of sort global known variables: time 9.62e-07/3.477, allocations: 1.875 kB / 1.106 GB, free: 106.6 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.01825/3.495, allocations: 1.49 MB / 1.108 GB, free: 106.6 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 240 * 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 (270): * Single equations (assignments): 267 * 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.001567/3.497, allocations: 295 kB / 1.108 GB, free: 106.5 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.02094/3.518, allocations: 5.97 MB / 1.114 GB, free: 106.5 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 5.404e-05/3.518, allocations: 7.344 kB / 1.114 GB, free: 106.5 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003894/3.522, allocations: 1.471 MB / 1.115 GB, free: 106.4 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01453/3.537, allocations: 0.9125 MB / 1.116 GB, free: 106.4 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06655/3.603, allocations: 20.08 MB / 1.136 GB, free: 96.81 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02023/3.624, allocations: 5.729 MB / 1.142 GB, free: 95.93 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.01904/3.643, allocations: 2.793 MB / 1.144 GB, free: 95.81 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002862/3.646, allocations: 397.6 kB / 1.145 GB, free: 95.8 MB / 474.8 MB Notification: Performance of SimCode: time 1.703e-06/3.646, allocations: 0 / 1.145 GB, free: 95.8 MB / 474.8 MB Notification: Performance of Templates: time 0.1749/3.821, allocations: 45.83 MB / 1.189 GB, free: 85.63 MB / 474.8 MB