Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor") Notification: Performance of loadModel(ModelicaTest): time 1.815/1.815, allocations: 209.3 MB / 222.4 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.417e-05/2.43e-05, allocations: 0 / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0851/0.08515, allocations: 48.71 MB / 326.5 MB, free: 14.5 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3645/0.4497, allocations: 97.8 MB / 424.4 MB, free: 10.07 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002071/0.4499, allocations: 77.77 kB / 424.4 MB, free: 10.04 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.016/1.466, allocations: 234.9 MB / 0.6439 GB, free: 37.81 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.507e-06/1.466, allocations: 0 / 0.6439 GB, free: 37.81 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005996/1.467, allocations: 383.7 kB / 0.6443 GB, free: 37.44 MB / 426.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.03983/1.507, allocations: 13.13 MB / 0.6571 GB, free: 24.2 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/1.507, allocations: 12.03 kB / 0.6571 GB, free: 24.19 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02758/1.534, allocations: 5.815 MB / 0.6628 GB, free: 18.34 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02721/1.562, allocations: 10.51 MB / 0.673 GB, free: 7.758 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001339/1.563, allocations: 1.477 MB / 0.6745 GB, free: 6.277 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006111/1.569, allocations: 1.941 MB / 0.6764 GB, free: 4.336 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6867/2.256, allocations: 41.22 MB / 0.7166 GB, free: 42.31 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001318/2.257, allocations: 202.4 kB / 0.7168 GB, free: 42.31 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006653/2.264, allocations: 0.8997 MB / 0.7177 GB, free: 42.31 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003663/2.268, allocations: 2.047 MB / 0.7197 GB, free: 42.28 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08083/2.349, allocations: 29.83 MB / 0.7488 GB, free: 41.77 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.046/3.395, allocations: 165.2 MB / 0.9101 GB, free: 33.73 MB / 0.5107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.08855/3.484, allocations: 13.25 MB / 0.9231 GB, free: 33.06 MB / 0.5107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01088/3.495, allocations: 3.614 MB / 0.9266 GB, free: 33.03 MB / 0.5107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02334/3.518, allocations: 15.27 MB / 0.9415 GB, free: 20.47 MB / 0.5107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.786e-05/3.518, allocations: 71.11 kB / 0.9416 GB, free: 20.43 MB / 0.5107 GB Notification: Performance of pre-optimization done (n=274): time 8.704e-06/3.518, allocations: 0 / 0.9416 GB, free: 20.43 MB / 0.5107 GB Notification: Performance of matching and sorting (n=309): time 0.2762/3.794, allocations: 75.09 MB / 1.015 GB, free: 7.891 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000162/3.795, allocations: 208.9 kB / 1.015 GB, free: 7.645 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02198/3.817, allocations: 9.432 MB / 1.024 GB, free: 1.742 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 0.0006211/3.817, allocations: 74.81 kB / 1.024 GB, free: 1.699 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 0.0111/3.828, allocations: 10.94 MB / 1.035 GB, free: 8.215 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 0.002009/3.83, allocations: 1.355 MB / 1.036 GB, free: 7.121 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001878/3.832, allocations: 366.4 kB / 1.037 GB, free: 7.047 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.001943/3.834, allocations: 1.087 MB / 1.038 GB, free: 6.234 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01364/3.848, allocations: 5.953 MB / 1.044 GB, free: 2.434 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02621/3.874, allocations: 18.35 MB / 1.062 GB, free: 12.86 MB / 0.5732 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02222/3.897, allocations: 10.64 MB / 1.072 GB, free: 3.938 MB / 0.5732 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004583/3.897, allocations: 128 kB / 1.072 GB, free: 3.812 MB / 0.5732 GB Notification: Performance of matching and sorting (n=2350) (initialization): time 0.05919/3.956, allocations: 22.98 MB / 1.094 GB, free: 13.84 MB / 0.6044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003784/3.957, allocations: 198.2 kB / 1.095 GB, free: 13.65 MB / 0.6044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006921/3.957, allocations: 452 kB / 1.095 GB, free: 13.21 MB / 0.6044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001782/3.959, allocations: 0.8209 MB / 1.096 GB, free: 12.39 MB / 0.6044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01909/3.978, allocations: 4.464 MB / 1.1 GB, free: 7.914 MB / 0.6044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005883/3.984, allocations: 3.592 MB / 1.104 GB, free: 4.199 MB / 0.6044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01776/4.002, allocations: 1.127 MB / 1.105 GB, free: 3.074 MB / 0.6044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003778/4.006, allocations: 1.148 MB / 1.106 GB, free: 1.926 MB / 0.6044 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.005451/4.011, allocations: 1.519 MB / 1.107 GB, free: 400 kB / 0.6044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.3241/4.335, allocations: 0.8257 MB / 1.108 GB, free: 203.5 MB / 0.6044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01386/4.349, allocations: 6.055 MB / 1.114 GB, free: 203.3 MB / 0.6044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001094/4.349, allocations: 36.05 kB / 1.114 GB, free: 203.3 MB / 0.6044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.675e-05/4.35, allocations: 4.688 kB / 1.114 GB, free: 203.3 MB / 0.6044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.924e-05/4.35, allocations: 20.75 kB / 1.114 GB, free: 203.3 MB / 0.6044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05633/4.406, allocations: 21.09 MB / 1.135 GB, free: 201.8 MB / 0.6044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.299e-05/4.406, allocations: 6.125 kB / 1.135 GB, free: 201.8 MB / 0.6044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004288/4.41, allocations: 0.6797 MB / 1.136 GB, free: 201.8 MB / 0.6044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007078/4.411, allocations: 166.3 kB / 1.136 GB, free: 201.8 MB / 0.6044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004805/4.412, allocations: 63.89 kB / 1.136 GB, free: 201.8 MB / 0.6044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002716/4.414, allocations: 2.154 MB / 1.138 GB, free: 200.6 MB / 0.6044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.68e-06/4.414, allocations: 10.38 kB / 1.138 GB, free: 200.6 MB / 0.6044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01723/4.432, allocations: 11.03 MB / 1.149 GB, free: 198.8 MB / 0.6044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003806/4.435, allocations: 1.294 MB / 1.15 GB, free: 198.7 MB / 0.6044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001834/4.437, allocations: 50.69 kB / 1.15 GB, free: 198.7 MB / 0.6044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005007/4.442, allocations: 438.5 kB / 1.15 GB, free: 198.7 MB / 0.6044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006948/4.443, allocations: 175.4 kB / 1.151 GB, free: 198.7 MB / 0.6044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000382/4.443, allocations: 100.5 kB / 1.151 GB, free: 198.7 MB / 0.6044 GB Notification: Performance of sorting global known variables: time 0.0148/4.458, allocations: 6.43 MB / 1.157 GB, free: 198.3 MB / 0.6044 GB Notification: Performance of sort global known variables: time 1.021e-06/4.458, allocations: 0 / 1.157 GB, free: 198.3 MB / 0.6044 GB Notification: Performance of remove unused functions: time 0.01912/4.477, allocations: 2.898 MB / 1.16 GB, free: 198.3 MB / 0.6044 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.001126/4.479, allocations: 263.1 kB / 1.16 GB, free: 198.2 MB / 0.6044 GB Notification: Performance of simCode: created initialization part: time 0.02511/4.504, allocations: 13.38 MB / 1.173 GB, free: 195.2 MB / 0.6044 GB Notification: Performance of simCode: created event and clocks part: time 1.026e-05/4.504, allocations: 448 / 1.173 GB, free: 195.2 MB / 0.6044 GB Notification: Performance of simCode: created simulation system equations: time 0.005027/4.509, allocations: 2.893 MB / 1.176 GB, free: 194.1 MB / 0.6044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006738/4.516, allocations: 1.376 MB / 1.177 GB, free: 193.6 MB / 0.6044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06607/4.582, allocations: 26.14 MB / 1.203 GB, free: 183.3 MB / 0.6044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02663/4.608, allocations: 10.76 MB / 1.213 GB, free: 176.4 MB / 0.6044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003045/4.611, allocations: 0.7307 MB / 1.214 GB, free: 175.7 MB / 0.6044 GB Notification: Performance of SimCode: time 1.846e-06/4.611, allocations: 4 kB / 1.214 GB, free: 175.7 MB / 0.6044 GB Notification: Performance of Templates: time 0.6749/5.286, allocations: 241.5 MB / 1.45 GB, free: 112.7 MB / 0.6044 GB