Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.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.AbsoluteSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sensor_frame_a1.r.3.|sensor_frame_a1.v.3.|sensor_frame_a1.a.3.|sensor_frame_a1.angles.3.|sensor_frame_a1.w.3.|sensor_frame_a1.z.3.|sensor_world1.r.3.|sensor_world1.v.3.|sensor_world1.a.3.|sensor_world1.angles.3.|sensor_world1.w.3.|sensor_world1.z.3.|sensor_frame_a2.r.3.|sensor_frame_a2.v.3.|sensor_frame_a2.a.3.|sensor_frame_a2.angles.3.|sensor_frame_a2.w.3.|sensor_frame_a2.z.3.|sensor_world2.r.3.|sensor_world2.v.3.|sensor_world2.a.3.|sensor_world2.angles.3.|sensor_world2.z.3.|sensor_world2.w.3.|sensor_frame_a1.r.2.|sensor_frame_a1.v.2.|sensor_frame_a1.a.2.|sensor_frame_a1.angles.2.|sensor_frame_a1.w.2.|sensor_frame_a1.z.2.|sensor_world1.r.2.|sensor_world1.v.2.|sensor_world1.a.2.|sensor_world1.angles.2.|sensor_world1.w.2.|sensor_world1.z.2.|sensor_frame_a2.r.2.|sensor_frame_a2.v.2.|sensor_frame_a2.a.2.|sensor_frame_a2.angles.2.|sensor_frame_a2.w.2.|sensor_frame_a2.z.2.|sensor_world2.r.2.|sensor_world2.v.2.|sensor_world2.a.2.|sensor_world2.angles.2.|sensor_world2.z.2.|sensor_world2.w.2.|sensor_frame_a1.r.1.|sensor_frame_a1.v.1.|sensor_frame_a1.a.1.|sensor_frame_a1.angles.1.|sensor_frame_a1.w.1.|sensor_frame_a1.z.1.|sensor_world1.r.1.|sensor_world1.v.1.|sensor_world1.a.1.|sensor_world1.angles.1.|sensor_world1.w.1.|sensor_world1.z.1.|sensor_frame_a2.r.1.|sensor_frame_a2.v.1.|sensor_frame_a2.a.1.|sensor_frame_a2.angles.1.|sensor_frame_a2.w.1.|sensor_frame_a2.z.1.|sensor_world2.r.1.|sensor_world2.v.1.|sensor_world2.a.1.|sensor_world2.angles.1.|sensor_world2.z.1.|sensor_world2.w.1.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002694/0.002698, allocations: 363.4 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.997/3.997, allocations: 388.9 MB / 405.6 MB, free: 9.676 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.005514/0.005514, allocations: 224.4 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.5801/0.5801, allocations: 80.03 MB / 0.5627 GB, free: 19.78 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004795/0.0004797, allocations: 12 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1055, allocations: 54.86 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5159/0.6215, allocations: 104.7 MB / 0.7824 GB, free: 12.86 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003101/0.6219, allocations: 83.16 kB / 0.7825 GB, free: 12.81 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.188/1.81, allocations: 233.8 MB / 1.011 GB, free: 57.73 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.467e-06/1.81, allocations: 0 / 1.011 GB, free: 57.73 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0009404/1.811, allocations: 371.9 kB / 1.011 GB, free: 57.37 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: 5712 * Number of variables: 5712 Notification: Performance of Generate backend data structure: time 0.05397/1.865, allocations: 13.45 MB / 1.024 GB, free: 43.84 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/1.865, allocations: 8.031 kB / 1.024 GB, free: 43.83 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03536/1.901, allocations: 4.989 MB / 1.029 GB, free: 38.82 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0284/1.929, allocations: 9.415 MB / 1.038 GB, free: 29.38 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001613/1.931, allocations: 1.473 MB / 1.04 GB, free: 27.9 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008316/1.939, allocations: 1.949 MB / 1.042 GB, free: 25.95 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5386/2.478, allocations: 41.33 MB / 1.082 GB, free: 57.55 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001992/2.48, allocations: 201.4 kB / 1.082 GB, free: 57.55 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00874/2.489, allocations: 0.9012 MB / 1.083 GB, free: 57.55 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005254/2.494, allocations: 2.044 MB / 1.085 GB, free: 57.52 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1081/2.602, allocations: 29.88 MB / 1.114 GB, free: 57.07 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2474/2.85, allocations: 164.9 MB / 1.275 GB, free: 308 kB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4834/3.333, allocations: 13.31 MB / 1.288 GB, free: 140.8 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008665/3.342, allocations: 3.661 MB / 1.292 GB, free: 140.7 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01585/3.358, allocations: 15.22 MB / 1.307 GB, free: 128.2 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001178/3.358, allocations: 67.72 kB / 1.307 GB, free: 128.1 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=274): time 8.526e-06/3.358, allocations: 0 / 1.307 GB, free: 128.1 MB / 0.5417 GB Notification: Performance of matching and sorting (n=309): time 0.3915/3.749, allocations: 79.15 MB / 1.384 GB, free: 108 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/3.75, allocations: 212.8 kB / 1.384 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02789/3.778, allocations: 10.63 MB / 1.395 GB, free: 101.6 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0008753/3.778, allocations: 70.48 kB / 1.395 GB, free: 101.6 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.01088/3.789, allocations: 11.06 MB / 1.406 GB, free: 91.68 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.002157/3.792, allocations: 1.357 MB / 1.407 GB, free: 90.34 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002581/3.794, allocations: 372.3 kB / 1.407 GB, free: 89.98 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.002485/3.797, allocations: 1.075 MB / 1.408 GB, free: 88.9 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01574/3.812, allocations: 6.091 MB / 1.414 GB, free: 82.8 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02439/3.837, allocations: 18.56 MB / 1.432 GB, free: 58.3 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02334/3.86, allocations: 10.64 MB / 1.443 GB, free: 48.05 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000416/3.861, allocations: 130.3 kB / 1.443 GB, free: 47.92 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2350) (initialization): time 0.06029/3.921, allocations: 23.43 MB / 1.466 GB, free: 24.86 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003578/3.922, allocations: 196 kB / 1.466 GB, free: 24.67 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007676/3.922, allocations: 448 kB / 1.466 GB, free: 24.23 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002051/3.924, allocations: 0.828 MB / 1.467 GB, free: 23.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.4593/4.384, allocations: 4.453 MB / 1.472 GB, free: 111.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006477/4.39, allocations: 3.593 MB / 1.475 GB, free: 110 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01967/4.41, allocations: 1.128 MB / 1.476 GB, free: 110 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004983/4.415, allocations: 1.152 MB / 1.477 GB, free: 110 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2037 * Number of states: 0 () * Number of discrete variables: 30 (sensor_world2.arrowColor[3],sensor_world2.arrowColor[2],sensor_world2.arrowColor[1],sensor_frame_a2.arrowColor[3],sensor_frame_a2.arrowColor[2],sensor_frame_a2.arrowColor[1],sensor_world1.arrowColor[3],sensor_world1.arrowColor[2],sensor_world1.arrowColor[1],sensor_frame_a1.arrowColor[3],sensor_frame_a1.arrowColor[2],sensor_frame_a1.arrowColor[1],box.color[3],box.color[2],box.color[1],box.body.sphereColor[3],box.body.sphereColor[2],box.body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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 (2304): * Single equations (assignments): 2296 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.02395/4.439, allocations: 7.857 MB / 1.485 GB, free: 109.6 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002093/4.441, allocations: 0.8242 MB / 1.486 GB, free: 109.6 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01929/4.461, allocations: 6.156 MB / 1.492 GB, free: 109.4 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001375/4.461, allocations: 35.8 kB / 1.492 GB, free: 109.4 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.356e-05/4.461, allocations: 3.5 kB / 1.492 GB, free: 109.4 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001022/4.461, allocations: 16.84 kB / 1.492 GB, free: 109.4 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07176/4.533, allocations: 21.19 MB / 1.513 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.153e-05/4.533, allocations: 6.438 kB / 1.513 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006133/4.539, allocations: 0.6779 MB / 1.513 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009032/4.54, allocations: 159.9 kB / 1.513 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008297/4.541, allocations: 65.69 kB / 1.513 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003479/4.544, allocations: 2.162 MB / 1.516 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.887e-06/4.544, allocations: 10.19 kB / 1.516 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02392/4.568, allocations: 10.22 MB / 1.525 GB, free: 104.3 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004856/4.573, allocations: 1.292 MB / 1.527 GB, free: 103.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002777/4.576, allocations: 56.3 kB / 1.527 GB, free: 103.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007655/4.584, allocations: 432 kB / 1.527 GB, free: 103.9 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00105/4.585, allocations: 179.3 kB / 1.527 GB, free: 103.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005184/4.585, allocations: 104.2 kB / 1.527 GB, free: 103.8 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01957/4.605, allocations: 6.505 MB / 1.534 GB, free: 101.5 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.012e-06/4.605, allocations: 3.906 kB / 1.534 GB, free: 101.5 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.02463/4.63, allocations: 2.894 MB / 1.537 GB, free: 101.2 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 2 (rev.phi,rev.w) * 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 (279): * Single equations (assignments): 271 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001831/4.631, allocations: 269 kB / 1.537 GB, free: 101 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.03231/4.664, allocations: 13.56 MB / 1.55 GB, free: 96.69 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.481e-05/4.664, allocations: 4.406 kB / 1.55 GB, free: 96.69 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.007136/4.671, allocations: 2.947 MB / 1.553 GB, free: 95.54 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0141/4.685, allocations: 1.42 MB / 1.554 GB, free: 95.04 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1287/4.814, allocations: 35.66 MB / 1.589 GB, free: 69.16 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0309/4.845, allocations: 10.77 MB / 1.6 GB, free: 61.27 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.03122/4.876, allocations: 5.388 MB / 1.605 GB, free: 57.96 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005328/4.882, allocations: 0.6142 MB / 1.606 GB, free: 57.36 MB / 0.5417 GB Notification: Performance of SimCode: time 1.643e-06/4.882, allocations: 3.938 kB / 1.606 GB, free: 57.36 MB / 0.5417 GB Notification: Performance of Templates: time 0.8558/5.737, allocations: 77.78 MB / 1.682 GB, free: 100.7 MB / 0.5417 GB