Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.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.AbsoluteSensor2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.r.3.|freeMotion.r.2.|freeMotion.r.1.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004015/0.004015, allocations: 360.1 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.126/4.126, allocations: 388.9 MB / 405.6 MB, free: 9.582 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.005326/0.005326, allocations: 221.8 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.5587/0.5587, allocations: 80.02 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004764/0.0004767, allocations: 15.98 kB / 0.6265 GB, free: 96.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09713/0.09763, allocations: 54.87 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4854/0.5831, allocations: 99.27 MB / 0.777 GB, free: 2.273 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003075/0.5834, allocations: 83.7 kB / 0.7771 GB, free: 2.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.368/0.9514, allocations: 78.99 MB / 0.8542 GB, free: 10.74 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.046e-06/0.9515, allocations: 3.938 kB / 0.8542 GB, free: 10.73 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002058/0.9517, allocations: 80 kB / 0.8543 GB, free: 10.66 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1614 * Number of variables: 1614 Notification: Performance of Generate backend data structure: time 0.01582/0.9675, allocations: 3.617 MB / 0.8579 GB, free: 6.969 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.152e-05/0.9676, allocations: 11.97 kB / 0.8579 GB, free: 6.957 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03764/1.005, allocations: 3.375 MB / 0.8612 GB, free: 3.57 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01208/1.017, allocations: 2.328 MB / 0.8634 GB, free: 1.195 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006824/1.018, allocations: 312 kB / 0.8637 GB, free: 0.8867 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003498/1.022, allocations: 399.9 kB / 0.8641 GB, free: 0.4961 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04363/1.065, allocations: 10.74 MB / 0.8746 GB, free: 4.773 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003081/1.066, allocations: 47.5 kB / 0.8747 GB, free: 4.727 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002989/1.069, allocations: 203.9 kB / 0.8748 GB, free: 4.527 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003856/1.073, allocations: 1.131 MB / 0.876 GB, free: 3.395 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03883/1.112, allocations: 9.391 MB / 0.8851 GB, free: 9.98 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4452/1.557, allocations: 46.85 MB / 0.9309 GB, free: 81.54 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00956/1.566, allocations: 3.47 MB / 0.9343 GB, free: 80.27 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003509/1.57, allocations: 1.272 MB / 0.9355 GB, free: 80.22 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01509/1.585, allocations: 5.294 MB / 0.9407 GB, free: 78.59 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.407e-05/1.585, allocations: 50.84 kB / 0.9407 GB, free: 78.55 MB / 474.7 MB Notification: Performance of pre-optimization done (n=153): time 6.362e-06/1.585, allocations: 0 / 0.9407 GB, free: 78.55 MB / 474.7 MB Notification: Performance of matching and sorting (n=153): time 0.01196/1.597, allocations: 3.347 MB / 0.944 GB, free: 78.31 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.55e-05/1.597, allocations: 170.9 kB / 0.9442 GB, free: 78.12 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008633/1.606, allocations: 3.899 MB / 0.948 GB, free: 77.78 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003078/1.606, allocations: 42.53 kB / 0.948 GB, free: 77.75 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002997/1.609, allocations: 3.319 MB / 0.9512 GB, free: 76.06 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009672/1.61, allocations: 0.6108 MB / 0.9518 GB, free: 75.73 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006812/1.611, allocations: 131.9 kB / 0.952 GB, free: 75.73 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004015/1.612, allocations: 0.5828 MB / 0.9525 GB, free: 75.42 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004618/1.616, allocations: 1.947 MB / 0.9544 GB, free: 75.4 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007743/1.624, allocations: 6.216 MB / 0.9605 GB, free: 69.88 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007656/1.632, allocations: 3.484 MB / 0.9639 GB, free: 68.84 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001779/1.632, allocations: 44.78 kB / 0.964 GB, free: 68.84 MB / 474.7 MB Notification: Performance of matching and sorting (n=861) (initialization): time 0.02016/1.652, allocations: 7.763 MB / 0.9715 GB, free: 66.07 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001315/1.652, allocations: 74.75 kB / 0.9716 GB, free: 66.07 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002711/1.653, allocations: 153.6 kB / 0.9718 GB, free: 66.07 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002492/1.653, allocations: 226.5 kB / 0.972 GB, free: 66.06 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008778/1.662, allocations: 1.5 MB / 0.9734 GB, free: 65.87 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002575/1.662, allocations: 293.2 kB / 0.9737 GB, free: 65.81 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0069/1.669, allocations: 0.9388 MB / 0.9746 GB, free: 65.21 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001509/1.67, allocations: 405.7 kB / 0.975 GB, free: 65.17 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 693 * Number of states: 0 () * Number of discrete variables: 18 (freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[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 (813): * Single equations (assignments): 807 * Array equations: 6 * 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.00618/1.677, allocations: 2.268 MB / 0.9772 GB, free: 64.11 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008158/1.677, allocations: 315.9 kB / 0.9775 GB, free: 63.94 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001534/1.679, allocations: 423 kB / 0.9779 GB, free: 63.73 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001164/1.679, allocations: 40.53 kB / 0.978 GB, free: 63.73 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.929e-05/1.679, allocations: 3.953 kB / 0.978 GB, free: 63.72 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.805e-05/1.679, allocations: 14.25 kB / 0.978 GB, free: 63.72 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01604/1.695, allocations: 5.758 MB / 0.9836 GB, free: 61.48 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.155e-05/1.695, allocations: 8.594 kB / 0.9836 GB, free: 61.48 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001921/1.697, allocations: 206.6 kB / 0.9838 GB, free: 61.46 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.287e-05/1.697, allocations: 18.09 kB / 0.9838 GB, free: 61.46 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001919/1.698, allocations: 29.3 kB / 0.9839 GB, free: 61.45 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-05/1.698, allocations: 13.66 kB / 0.9839 GB, free: 61.44 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.195e-06/1.698, allocations: 11.12 kB / 0.9839 GB, free: 61.44 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004362/1.702, allocations: 2.573 MB / 0.9864 GB, free: 60.12 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000934/1.703, allocations: 393.6 kB / 0.9868 GB, free: 59.82 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006172/1.704, allocations: 27.91 kB / 0.9868 GB, free: 59.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001833/1.705, allocations: 62.48 kB / 0.9869 GB, free: 59.79 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002301/1.706, allocations: 92.06 kB / 0.987 GB, free: 59.76 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001531/1.706, allocations: 45.92 kB / 0.987 GB, free: 59.75 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005654/1.712, allocations: 2.38 MB / 0.9893 GB, free: 58.96 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.82e-07/1.712, allocations: 0 / 0.9893 GB, free: 58.96 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007126/1.719, allocations: 1.133 MB / 0.9904 GB, free: 58.65 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (111): * Single equations (assignments): 105 * Array equations: 6 * 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.0006554/1.719, allocations: 151.9 kB / 0.9906 GB, free: 58.54 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01012/1.73, allocations: 4.442 MB / 0.9949 GB, free: 57.09 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.13e-05/1.73, allocations: 0 / 0.9949 GB, free: 57.09 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001965/1.732, allocations: 0.966 MB / 0.9959 GB, free: 56.78 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003163/1.735, allocations: 346.9 kB / 0.9962 GB, free: 56.61 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02261/1.757, allocations: 10.29 MB / 1.006 GB, free: 48.26 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007177/1.765, allocations: 3.357 MB / 1.01 GB, free: 45.67 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01022/1.775, allocations: 2.268 MB / 1.012 GB, free: 44.28 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001334/1.776, allocations: 233.8 kB / 1.012 GB, free: 44.06 MB / 474.7 MB Notification: Performance of SimCode: time 2.515e-06/1.776, allocations: 0 / 1.012 GB, free: 44.06 MB / 474.7 MB Notification: Performance of Templates: time 0.07925/1.856, allocations: 24.31 MB / 1.036 GB, free: 25.71 MB / 474.7 MB