Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.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.AbsoluteSensor2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.r.3.|freeMotion.r.2.|freeMotion.r.1.",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004853/0.004861, allocations: 349.3 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.764/3.764, allocations: 341.5 MB / 358.2 MB, free: 12.54 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.003415/0.003415, allocations: 218.2 kB / 397.9 MB, free: 4.891 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.4874/0.4874, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004902/0.0004906, allocations: 8 kB / 0.5592 GB, free: 53.47 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09323/0.09375, allocations: 48.7 MB / 0.6067 GB, free: 4.664 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4209/0.5147, allocations: 92.64 MB / 0.6972 GB, free: 20.05 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/0.5151, allocations: 75.97 kB / 0.6973 GB, free: 19.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6823/1.197, allocations: 78.99 MB / 0.7744 GB, free: 90.31 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.146e-06/1.197, allocations: 0 / 0.7744 GB, free: 90.31 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002481/1.198, allocations: 73.06 kB / 0.7745 GB, free: 90.31 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: 1614 * Number of variables: 1614 Notification: Performance of Generate backend data structure: time 0.01521/1.213, allocations: 3.617 MB / 0.778 GB, free: 88.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/1.213, allocations: 12.25 kB / 0.778 GB, free: 88.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02537/1.238, allocations: 3.375 MB / 0.7813 GB, free: 88.29 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009016/1.248, allocations: 2.336 MB / 0.7836 GB, free: 87.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000508/1.248, allocations: 316.3 kB / 0.7839 GB, free: 87.79 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002744/1.251, allocations: 402.7 kB / 0.7843 GB, free: 87.79 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03051/1.281, allocations: 10.72 MB / 0.7948 GB, free: 85.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002466/1.282, allocations: 50.33 kB / 0.7948 GB, free: 85.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002464/1.284, allocations: 205.2 kB / 0.795 GB, free: 85.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002438/1.287, allocations: 1.135 MB / 0.7961 GB, free: 85.21 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02559/1.312, allocations: 9.388 MB / 0.8053 GB, free: 83.97 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1182/1.431, allocations: 46.86 MB / 0.851 GB, free: 49.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008622/1.439, allocations: 3.48 MB / 0.8544 GB, free: 47.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003028/1.442, allocations: 1.265 MB / 0.8557 GB, free: 46.83 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01345/1.456, allocations: 5.298 MB / 0.8608 GB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.569e-05/1.456, allocations: 47.12 kB / 0.8609 GB, free: 42.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=153): time 5.951e-06/1.456, allocations: 0 / 0.8609 GB, free: 42.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=153): time 0.01114/1.467, allocations: 3.347 MB / 0.8642 GB, free: 39.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.278e-05/1.467, allocations: 170.5 kB / 0.8643 GB, free: 39.26 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007984/1.475, allocations: 3.897 MB / 0.8681 GB, free: 35.99 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002605/1.476, allocations: 42.95 kB / 0.8682 GB, free: 35.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002758/1.478, allocations: 3.321 MB / 0.8714 GB, free: 32.97 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009024/1.479, allocations: 0.613 MB / 0.872 GB, free: 32.44 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006811/1.48, allocations: 130 kB / 0.8721 GB, free: 32.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004573/1.48, allocations: 0.5919 MB / 0.8727 GB, free: 31.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004585/1.485, allocations: 1.94 MB / 0.8746 GB, free: 30.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007294/1.492, allocations: 6.205 MB / 0.8807 GB, free: 21.92 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007089/1.499, allocations: 3.486 MB / 0.8841 GB, free: 18.44 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001125/1.5, allocations: 44 kB / 0.8841 GB, free: 18.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=861) (initialization): time 0.01993/1.52, allocations: 7.77 MB / 0.8917 GB, free: 10.62 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001109/1.52, allocations: 79.03 kB / 0.8918 GB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001856/1.52, allocations: 152 kB / 0.8919 GB, free: 10.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002403/1.52, allocations: 220 kB / 0.8921 GB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008462/1.529, allocations: 1.498 MB / 0.8936 GB, free: 8.684 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000369/1.529, allocations: 298.9 kB / 0.8939 GB, free: 8.391 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007036/1.536, allocations: 0.9381 MB / 0.8948 GB, free: 7.445 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001348/1.538, allocations: 409.4 kB / 0.8952 GB, free: 7.047 MB / 410.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.005176/1.543, allocations: 2.279 MB / 0.8974 GB, free: 4.762 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007077/1.543, allocations: 311.9 kB / 0.8977 GB, free: 4.453 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001187/1.545, allocations: 427.9 kB / 0.8981 GB, free: 4.035 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.325e-05/1.545, allocations: 32 kB / 0.8981 GB, free: 4.004 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-05/1.545, allocations: 0 / 0.8981 GB, free: 4.004 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.545e-05/1.545, allocations: 11.97 kB / 0.8982 GB, free: 3.992 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01468/1.559, allocations: 5.76 MB / 0.9038 GB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.316e-05/1.56, allocations: 8 kB / 0.9038 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001951/1.562, allocations: 208.4 kB / 0.904 GB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.082e-05/1.562, allocations: 15.94 kB / 0.904 GB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001466/1.562, allocations: 35.67 kB / 0.904 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.997e-05/1.562, allocations: 15.98 kB / 0.904 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.048e-05/1.562, allocations: 7.938 kB / 0.9041 GB, free: 13.85 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005139/1.567, allocations: 2.569 MB / 0.9066 GB, free: 11.18 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001166/1.568, allocations: 392.5 kB / 0.9069 GB, free: 10.78 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000721/1.569, allocations: 27.98 kB / 0.907 GB, free: 10.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001896/1.571, allocations: 70.5 kB / 0.907 GB, free: 10.69 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002987/1.571, allocations: 84.36 kB / 0.9071 GB, free: 10.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001597/1.571, allocations: 44 kB / 0.9072 GB, free: 10.56 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006983/1.578, allocations: 2.379 MB / 0.9095 GB, free: 8.199 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.91e-07/1.578, allocations: 0 / 0.9095 GB, free: 8.199 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007518/1.586, allocations: 1.133 MB / 0.9106 GB, free: 7.062 MB / 426.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.0006823/1.587, allocations: 159.7 kB / 0.9107 GB, free: 6.902 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01295/1.6, allocations: 4.441 MB / 0.9151 GB, free: 2.496 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.131e-05/1.6, allocations: 1.219 kB / 0.9151 GB, free: 2.496 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002484/1.602, allocations: 0.9679 MB / 0.916 GB, free: 1.531 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003405/1.606, allocations: 343.4 kB / 0.9163 GB, free: 1.203 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3114/1.917, allocations: 10.29 MB / 0.9264 GB, free: 90.14 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00917/1.926, allocations: 3.354 MB / 0.9297 GB, free: 89.36 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.01049/1.937, allocations: 2.276 MB / 0.9319 GB, free: 89.32 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001374/1.938, allocations: 223.8 kB / 0.9321 GB, free: 89.31 MB / 426.7 MB Notification: Performance of SimCode: time 1.262e-06/1.938, allocations: 0 / 0.9321 GB, free: 89.31 MB / 426.7 MB Notification: Performance of Templates: time 0.08316/2.021, allocations: 24.3 MB / 0.9558 GB, free: 88.33 MB / 426.7 MB