Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor") Notification: Performance of loadModel(ModelicaTest): time 2.113/2.113, allocations: 235 MB / 248.1 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.886e-05/2.895e-05, allocations: 4 kB / 309.7 MB, free: 1.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.319, allocations: 54.85 MB / 364.5 MB, free: 5.547 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1554/0.4744, allocations: 104.7 MB / 469.2 MB, free: 7.781 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/0.4747, allocations: 72.72 kB / 469.3 MB, free: 7.711 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9814/1.456, allocations: 235 MB / 0.6877 GB, free: 3.598 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.262e-06/1.456, allocations: 0 / 0.6877 GB, free: 3.598 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000603/1.457, allocations: 367.9 kB / 0.6881 GB, free: 3.238 MB / 458.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.04517/1.502, allocations: 13.14 MB / 0.7009 GB, free: 5.988 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/1.502, allocations: 11.97 kB / 0.7009 GB, free: 5.977 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03058/1.533, allocations: 5.812 MB / 0.7066 GB, free: 140 kB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3722/1.905, allocations: 10.49 MB / 0.7168 GB, free: 41.27 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001502/1.906, allocations: 1.48 MB / 0.7183 GB, free: 41.22 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006664/1.913, allocations: 1.938 MB / 0.7202 GB, free: 41.21 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1061/2.019, allocations: 41.23 MB / 0.7604 GB, free: 32.07 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00106/2.02, allocations: 197 kB / 0.7606 GB, free: 32.06 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006166/2.027, allocations: 0.9007 MB / 0.7615 GB, free: 32.06 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003071/2.03, allocations: 2.042 MB / 0.7635 GB, free: 32.04 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07961/2.109, allocations: 29.84 MB / 0.7926 GB, free: 25.08 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6084/2.718, allocations: 165.2 MB / 0.9539 GB, free: 25.38 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05068/2.769, allocations: 13.26 MB / 0.9669 GB, free: 24.69 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005795/2.774, allocations: 3.601 MB / 0.9704 GB, free: 24.66 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01502/2.789, allocations: 15.28 MB / 0.9853 GB, free: 12.11 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.117e-05/2.79, allocations: 71.23 kB / 0.9854 GB, free: 12.07 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=274): time 9e-06/2.79, allocations: 0 / 0.9854 GB, free: 12.07 MB / 0.5573 GB Notification: Performance of matching and sorting (n=309): time 0.2683/3.058, allocations: 75.08 MB / 1.059 GB, free: 11.38 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001584/3.058, allocations: 213 kB / 1.059 GB, free: 11.12 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0234/3.081, allocations: 9.433 MB / 1.068 GB, free: 5.348 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0006265/3.082, allocations: 73.11 kB / 1.068 GB, free: 5.305 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0108/3.093, allocations: 10.93 MB / 1.079 GB, free: 13 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.001957/3.095, allocations: 1.362 MB / 1.08 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001908/3.097, allocations: 365 kB / 1.081 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.002066/3.099, allocations: 1.085 MB / 1.082 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01348/3.113, allocations: 5.949 MB / 1.087 GB, free: 8.156 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02568/3.138, allocations: 18.36 MB / 1.105 GB, free: 3.422 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02239/3.161, allocations: 10.73 MB / 1.116 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005005/3.161, allocations: 128 kB / 1.116 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2350) (initialization): time 0.4004/3.562, allocations: 22.98 MB / 1.138 GB, free: 161.1 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004039/3.562, allocations: 195.5 kB / 1.139 GB, free: 161.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006771/3.563, allocations: 448.9 kB / 1.139 GB, free: 161.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001825/3.565, allocations: 0.8208 MB / 1.14 GB, free: 161.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01991/3.585, allocations: 4.461 MB / 1.144 GB, free: 161.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00554/3.59, allocations: 3.587 MB / 1.148 GB, free: 159.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01791/3.608, allocations: 1.126 MB / 1.149 GB, free: 159.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003749/3.612, allocations: 1.148 MB / 1.15 GB, free: 159.7 MB / 0.6198 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 () * 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.005386/3.617, allocations: 1.521 MB / 1.151 GB, free: 159.4 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001398/3.619, allocations: 0.8242 MB / 1.152 GB, free: 159.4 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01361/3.632, allocations: 6.072 MB / 1.158 GB, free: 159.1 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001111/3.633, allocations: 36.66 kB / 1.158 GB, free: 159.1 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-05/3.633, allocations: 3.188 kB / 1.158 GB, free: 159.1 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.023e-05/3.633, allocations: 15.17 kB / 1.158 GB, free: 159.1 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05702/3.69, allocations: 21.11 MB / 1.179 GB, free: 157.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.481e-05/3.69, allocations: 7.25 kB / 1.179 GB, free: 157.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004349/3.694, allocations: 0.6778 MB / 1.179 GB, free: 157.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007368/3.695, allocations: 169.8 kB / 1.18 GB, free: 157.6 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005287/3.695, allocations: 57.36 kB / 1.18 GB, free: 157.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002692/3.698, allocations: 2.152 MB / 1.182 GB, free: 156.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.333e-06/3.698, allocations: 10.56 kB / 1.182 GB, free: 156.4 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01718/3.715, allocations: 11.03 MB / 1.193 GB, free: 154.6 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003805/3.719, allocations: 1.296 MB / 1.194 GB, free: 154.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001991/3.721, allocations: 47.53 kB / 1.194 GB, free: 154.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005786/3.727, allocations: 438.8 kB / 1.194 GB, free: 154.2 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007779/3.728, allocations: 174.6 kB / 1.194 GB, free: 154.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003723/3.728, allocations: 107.9 kB / 1.195 GB, free: 154.2 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.01555/3.744, allocations: 6.421 MB / 1.201 GB, free: 153.9 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.435e-06/3.744, allocations: 0 / 1.201 GB, free: 153.9 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.02005/3.764, allocations: 2.897 MB / 1.204 GB, free: 153.9 MB / 0.6198 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 () * 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.001196/3.765, allocations: 264.2 kB / 1.204 GB, free: 153.8 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.02556/3.791, allocations: 13.38 MB / 1.217 GB, free: 153.1 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.18e-05/3.791, allocations: 3.719 kB / 1.217 GB, free: 153.1 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.005096/3.796, allocations: 2.9 MB / 1.22 GB, free: 152.2 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006971/3.803, allocations: 1.372 MB / 1.221 GB, free: 151.7 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06783/3.871, allocations: 26.14 MB / 1.247 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02753/3.898, allocations: 10.76 MB / 1.257 GB, free: 137.7 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003059/3.901, allocations: 0.7328 MB / 1.258 GB, free: 137.7 MB / 0.6198 GB Notification: Performance of SimCode: time 2.12e-06/3.902, allocations: 0 / 1.258 GB, free: 137.7 MB / 0.6198 GB Notification: Performance of Templates: time 0.6964/4.598, allocations: 241.5 MB / 1.494 GB, free: 86.56 MB / 0.6198 GB