Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.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.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.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002626/0.002632, allocations: 348.1 kB / 15.93 MB, free: 6.207 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.524/3.524, allocations: 341.5 MB / 358.2 MB, free: 12.64 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.003653/0.003653, allocations: 218.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.455/0.455, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000484/0.0004841, allocations: 12 kB / 0.5592 GB, free: 53.47 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08626/0.08677, allocations: 48.7 MB / 0.6067 GB, free: 4.656 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4218/0.5087, allocations: 97.91 MB / 0.7023 GB, free: 14.77 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/0.509, allocations: 81.05 kB / 0.7024 GB, free: 14.69 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.86/2.369, allocations: 233.7 MB / 0.9307 GB, free: 19.75 MB / 426.8 MB Notification: Performance of FrontEnd: time 2.444e-06/2.369, allocations: 0 / 0.9307 GB, free: 19.75 MB / 426.8 MB Notification: Performance of Transformations before backend: time 0.00124/2.37, allocations: 376.5 kB / 0.931 GB, free: 19.75 MB / 426.8 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.05355/2.424, allocations: 13.46 MB / 0.9442 GB, free: 16.87 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/2.424, allocations: 9.75 kB / 0.9442 GB, free: 16.87 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0352/2.459, allocations: 4.981 MB / 0.9491 GB, free: 15.9 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03001/2.489, allocations: 9.403 MB / 0.9582 GB, free: 14.66 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00216/2.492, allocations: 1.486 MB / 0.9597 GB, free: 14.61 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009031/2.501, allocations: 1.943 MB / 0.9616 GB, free: 14.61 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1843/2.685, allocations: 41.33 MB / 1.002 GB, free: 5.461 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.002377/2.687, allocations: 198.2 kB / 1.002 GB, free: 5.453 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01091/2.698, allocations: 0.9004 MB / 1.003 GB, free: 5.453 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006041/2.704, allocations: 2.046 MB / 1.005 GB, free: 5.426 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1499/2.854, allocations: 29.93 MB / 1.034 GB, free: 14.04 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7115/3.566, allocations: 164.9 MB / 1.195 GB, free: 20.2 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07167/3.638, allocations: 13.32 MB / 1.208 GB, free: 19.53 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007895/3.646, allocations: 3.663 MB / 1.212 GB, free: 19.5 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01883/3.665, allocations: 15.22 MB / 1.227 GB, free: 6.945 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001255/3.665, allocations: 69 kB / 1.227 GB, free: 6.906 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=274): time 8.336e-06/3.665, allocations: 0 / 1.227 GB, free: 6.906 MB / 0.5262 GB Notification: Performance of matching and sorting (n=309): time 0.4441/4.109, allocations: 79.39 MB / 1.304 GB, free: 4.91 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001873/4.109, allocations: 216.1 kB / 1.305 GB, free: 4.66 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4737/4.583, allocations: 10.62 MB / 1.315 GB, free: 138.4 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0009911/4.584, allocations: 74.55 kB / 1.315 GB, free: 138.3 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.01432/4.598, allocations: 11.06 MB / 1.326 GB, free: 132.6 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.002967/4.601, allocations: 1.358 MB / 1.327 GB, free: 131.9 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00374/4.605, allocations: 361 kB / 1.327 GB, free: 131.9 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.00363/4.609, allocations: 1.08 MB / 1.329 GB, free: 131.6 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02187/4.631, allocations: 6.093 MB / 1.334 GB, free: 131.6 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0258/4.657, allocations: 18.56 MB / 1.353 GB, free: 115.4 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02433/4.681, allocations: 10.65 MB / 1.363 GB, free: 115.4 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0008933/4.682, allocations: 127.6 kB / 1.363 GB, free: 115.4 MB / 0.5418 GB Notification: Performance of matching and sorting (n=2350) (initialization): time 0.06318/4.745, allocations: 23.43 MB / 1.386 GB, free: 112.8 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 0.000431/4.746, allocations: 200.6 kB / 1.386 GB, free: 112.8 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008044/4.746, allocations: 444.3 kB / 1.387 GB, free: 112.8 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002126/4.749, allocations: 0.8247 MB / 1.387 GB, free: 112.8 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02626/4.775, allocations: 4.461 MB / 1.392 GB, free: 112.4 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005828/4.781, allocations: 3.601 MB / 1.395 GB, free: 110.9 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01955/4.8, allocations: 1.122 MB / 1.396 GB, free: 110.8 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004475/4.805, allocations: 1.152 MB / 1.398 GB, free: 110.8 MB / 0.5418 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.02158/4.827, allocations: 7.86 MB / 1.405 GB, free: 107.9 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002055/4.829, allocations: 0.8268 MB / 1.406 GB, free: 107.5 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01736/4.846, allocations: 6.15 MB / 1.412 GB, free: 105 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001289/4.846, allocations: 36.58 kB / 1.412 GB, free: 105 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.644e-05/4.846, allocations: 7.156 kB / 1.412 GB, free: 105 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.15e-05/4.846, allocations: 17.2 kB / 1.412 GB, free: 105 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08261/4.929, allocations: 21.18 MB / 1.433 GB, free: 97.13 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.004e-05/4.929, allocations: 3.75 kB / 1.433 GB, free: 97.13 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007892/4.937, allocations: 0.6815 MB / 1.433 GB, free: 97.07 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001162/4.938, allocations: 170.8 kB / 1.434 GB, free: 97.03 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009132/4.939, allocations: 67.62 kB / 1.434 GB, free: 96.99 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004484/4.944, allocations: 2.156 MB / 1.436 GB, free: 95.35 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.163e-06/4.944, allocations: 7.656 kB / 1.436 GB, free: 95.35 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02306/4.967, allocations: 10.24 MB / 1.446 GB, free: 90.88 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004937/4.972, allocations: 1.284 MB / 1.447 GB, free: 90.12 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002814/4.975, allocations: 55.25 kB / 1.447 GB, free: 90.09 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00755/4.982, allocations: 436.4 kB / 1.447 GB, free: 90.03 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009394/4.983, allocations: 172.8 kB / 1.448 GB, free: 90 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004416/4.984, allocations: 102.5 kB / 1.448 GB, free: 89.98 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.01725/5.001, allocations: 6.509 MB / 1.454 GB, free: 87.65 MB / 0.5418 GB Notification: Performance of sort global known variables: time 1.183e-06/5.001, allocations: 0 / 1.454 GB, free: 87.65 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.02161/5.023, allocations: 2.901 MB / 1.457 GB, free: 85.55 MB / 0.5418 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.001499/5.024, allocations: 267.1 kB / 1.457 GB, free: 85.31 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.0301/5.054, allocations: 13.56 MB / 1.47 GB, free: 73.34 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 1.304e-05/5.054, allocations: 4.438 kB / 1.47 GB, free: 73.34 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.006546/5.061, allocations: 2.941 MB / 1.473 GB, free: 70.77 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01321/5.074, allocations: 1.412 MB / 1.475 GB, free: 69.64 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5565/5.631, allocations: 35.66 MB / 1.51 GB, free: 111.9 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.04968/5.68, allocations: 10.77 MB / 1.52 GB, free: 110.8 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.03508/5.716, allocations: 5.388 MB / 1.525 GB, free: 110.7 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004207/5.72, allocations: 0.6092 MB / 1.526 GB, free: 110.7 MB / 0.5418 GB Notification: Performance of SimCode: time 2.184e-06/5.72, allocations: 0 / 1.526 GB, free: 110.7 MB / 0.5418 GB Notification: Performance of Templates: time 0.3109/6.031, allocations: 77.79 MB / 1.602 GB, free: 98.98 MB / 0.5418 GB