Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2.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.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002755/0.002761, allocations: 362.8 kB / 15.95 MB, free: 6.203 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 3.818/3.818, allocations: 388.9 MB / 405.6 MB, free: 9.566 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.003699/0.003698, allocations: 226.3 kB / 451 MB, free: 145 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.5048/0.5048, allocations: 80.02 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006929/0.0006933, allocations: 16 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1372, allocations: 54.87 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5874/0.7247, allocations: 96.03 MB / 0.7739 GB, free: 5.445 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003664/0.7251, allocations: 85.95 kB / 0.774 GB, free: 5.398 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2821/1.007, allocations: 56.33 MB / 0.829 GB, free: 4.594 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.496e-06/1.007, allocations: 0 / 0.829 GB, free: 4.594 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002113/1.008, allocations: 60 kB / 0.829 GB, free: 4.535 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: 1092 * Number of variables: 1092 Notification: Performance of Generate backend data structure: time 0.01312/1.021, allocations: 2.717 MB / 0.8317 GB, free: 1.969 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/1.021, allocations: 12.03 kB / 0.8317 GB, free: 1.957 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01439/1.035, allocations: 1.84 MB / 0.8335 GB, free: 112 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00623/1.041, allocations: 1.739 MB / 0.8352 GB, free: 14.44 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003727/1.042, allocations: 225.9 kB / 0.8354 GB, free: 14.21 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002003/1.044, allocations: 295.9 kB / 0.8357 GB, free: 13.93 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02191/1.066, allocations: 6.783 MB / 0.8423 GB, free: 6.758 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-05/1.066, allocations: 15.88 kB / 0.8423 GB, free: 6.742 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009432/1.067, allocations: 135.9 kB / 0.8425 GB, free: 6.609 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001616/1.069, allocations: 0.7001 MB / 0.8431 GB, free: 5.902 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01866/1.087, allocations: 5.904 MB / 0.8489 GB, free: 15.98 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06081/1.148, allocations: 23.78 MB / 0.8721 GB, free: 7.523 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007705/1.156, allocations: 2.202 MB / 0.8743 GB, free: 5.199 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002157/1.158, allocations: 0.8054 MB / 0.8751 GB, free: 4.387 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02109/1.179, allocations: 3.98 MB / 0.8789 GB, free: 268 kB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001209/1.179, allocations: 43.22 kB / 0.879 GB, free: 216 kB / 458.7 MB Notification: Performance of pre-optimization done (n=96): time 1.612e-05/1.179, allocations: 4 kB / 0.879 GB, free: 212 kB / 458.7 MB Notification: Performance of matching and sorting (n=96): time 0.02056/1.2, allocations: 2.248 MB / 0.8812 GB, free: 13.95 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.843e-05/1.2, allocations: 64 kB / 0.8812 GB, free: 13.88 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004988/1.205, allocations: 2.008 MB / 0.8832 GB, free: 11.87 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002043/1.205, allocations: 37.7 kB / 0.8832 GB, free: 11.82 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002409/1.208, allocations: 2.003 MB / 0.8852 GB, free: 9.789 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007069/1.209, allocations: 375.2 kB / 0.8856 GB, free: 9.418 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003642/1.209, allocations: 64 kB / 0.8856 GB, free: 9.355 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005564/1.21, allocations: 0.4938 MB / 0.8861 GB, free: 8.852 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002978/1.213, allocations: 0.9471 MB / 0.887 GB, free: 7.902 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005126/1.218, allocations: 2.912 MB / 0.8899 GB, free: 4.008 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004471/1.222, allocations: 1.669 MB / 0.8915 GB, free: 2.344 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.859e-05/1.222, allocations: 23.95 kB / 0.8915 GB, free: 2.32 MB / 474.7 MB Notification: Performance of matching and sorting (n=419) (initialization): time 0.367/1.589, allocations: 3.747 MB / 0.8952 GB, free: 125.3 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001261/1.59, allocations: 38.7 kB / 0.8952 GB, free: 125.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001643/1.59, allocations: 69.34 kB / 0.8953 GB, free: 125.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001829/1.59, allocations: 102 kB / 0.8954 GB, free: 125.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004701/1.595, allocations: 0.7196 MB / 0.8961 GB, free: 125.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002298/1.595, allocations: 139.2 kB / 0.8962 GB, free: 125.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0035/1.598, allocations: 442.2 kB / 0.8966 GB, free: 125.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008382/1.599, allocations: 195 kB / 0.8968 GB, free: 125.3 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 317 * Number of states: 0 () * Number of discrete variables: 21 (worldTorque.color[3],worldTorque.color[2],worldTorque.color[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],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[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 (395): * Single equations (assignments): 392 * 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.004072/1.603, allocations: 1.451 MB / 0.8982 GB, free: 125.2 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004805/1.604, allocations: 174.4 kB / 0.8984 GB, free: 125.2 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003454/1.607, allocations: 1.24 MB / 0.8996 GB, free: 125.1 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.525e-05/1.607, allocations: 12 kB / 0.8996 GB, free: 125.1 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/1.608, allocations: 4.938 kB / 0.8996 GB, free: 125.1 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.808e-05/1.608, allocations: 3.984 kB / 0.8996 GB, free: 125.1 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0148/1.622, allocations: 5.025 MB / 0.9045 GB, free: 124.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.286e-05/1.622, allocations: 10.16 kB / 0.9046 GB, free: 124.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001192/1.624, allocations: 141.2 kB / 0.9047 GB, free: 124.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-05/1.624, allocations: 18.77 kB / 0.9047 GB, free: 124.4 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001076/1.624, allocations: 30.77 kB / 0.9047 GB, free: 124.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.486e-05/1.624, allocations: 19.39 kB / 0.9048 GB, free: 124.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.727e-05/1.624, allocations: 15.69 kB / 0.9048 GB, free: 124.4 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00331/1.627, allocations: 1.574 MB / 0.9063 GB, free: 123.8 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000703/1.628, allocations: 276.3 kB / 0.9066 GB, free: 123.6 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003574/1.628, allocations: 29.11 kB / 0.9066 GB, free: 123.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001064/1.629, allocations: 47.28 kB / 0.9066 GB, free: 123.6 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001996/1.63, allocations: 80.06 kB / 0.9067 GB, free: 123.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001238/1.63, allocations: 46.88 kB / 0.9068 GB, free: 123.6 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003509/1.633, allocations: 1.313 MB / 0.9081 GB, free: 123.4 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.82e-07/1.633, allocations: 1.062 kB / 0.9081 GB, free: 123.4 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004575/1.638, allocations: 0.7696 MB / 0.9088 GB, free: 123.3 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * 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 (76): * Single equations (assignments): 73 * 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.0004859/1.638, allocations: 152.6 kB / 0.9089 GB, free: 123.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005708/1.644, allocations: 2.226 MB / 0.9111 GB, free: 123.2 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.321e-05/1.644, allocations: 3.906 kB / 0.9111 GB, free: 123.2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001303/1.646, allocations: 0.5661 MB / 0.9117 GB, free: 123.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0022/1.648, allocations: 251.3 kB / 0.9119 GB, free: 123.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01446/1.662, allocations: 6.926 MB / 0.9187 GB, free: 120.1 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004036/1.666, allocations: 2.508 MB / 0.9211 GB, free: 119.3 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004417/1.671, allocations: 1.042 MB / 0.9221 GB, free: 119.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005947/1.671, allocations: 133.3 kB / 0.9223 GB, free: 119.3 MB / 474.7 MB Notification: Performance of SimCode: time 2.625e-06/1.671, allocations: 0 / 0.9223 GB, free: 119.3 MB / 474.7 MB Notification: Performance of Templates: time 0.05101/1.722, allocations: 15.1 MB / 0.937 GB, free: 118.5 MB / 474.7 MB