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.209/2.209, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007434/0.0007436, allocations: 8 kB / 314.4 MB, free: 9.555 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3081, allocations: 54.86 MB / 369.3 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1545/0.4626, allocations: 104.7 MB / 474 MB, free: 1.82 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002549/0.4629, allocations: 87.89 kB / 474.1 MB, free: 1.734 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.22/1.683, allocations: 234.6 MB / 0.6921 GB, free: 28.93 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.107e-06/1.683, allocations: 0 / 0.6921 GB, free: 28.93 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0006115/1.684, allocations: 379.2 kB / 0.6924 GB, free: 28.91 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.03837/1.722, allocations: 13.5 MB / 0.7056 GB, free: 23.82 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/1.722, allocations: 7.344 kB / 0.7056 GB, free: 23.82 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02819/1.75, allocations: 5.813 MB / 0.7113 GB, free: 22.84 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02924/1.78, allocations: 10.53 MB / 0.7216 GB, free: 21.55 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001374/1.781, allocations: 1.474 MB / 0.723 GB, free: 21.51 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006469/1.787, allocations: 1.947 MB / 0.7249 GB, free: 21.5 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1176/1.905, allocations: 41.56 MB / 0.7655 GB, free: 2.242 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009906/1.906, allocations: 193.5 kB / 0.7657 GB, free: 2.055 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009154/1.915, allocations: 0.9023 MB / 0.7666 GB, free: 1.188 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01477/1.93, allocations: 2.317 MB / 0.7689 GB, free: 0 / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1555/2.086, allocations: 30.68 MB / 0.7988 GB, free: 7.379 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5636/2.649, allocations: 165.2 MB / 0.9601 GB, free: 32.5 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05096/2.7, allocations: 13.32 MB / 0.9731 GB, free: 31.81 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0146/2.715, allocations: 15.28 MB / 0.988 GB, free: 19.25 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.942e-05/2.715, allocations: 71.59 kB / 0.9881 GB, free: 19.2 MB / 0.573 GB Notification: Performance of pre-optimization done (n=274): time 9.08e-06/2.715, allocations: 0 / 0.9881 GB, free: 19.2 MB / 0.573 GB Notification: Performance of matching and sorting (n=309): time 0.6069/3.322, allocations: 79.45 MB / 1.066 GB, free: 150.6 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.93e-05/3.322, allocations: 219.2 kB / 1.066 GB, free: 150.3 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02218/3.344, allocations: 9.512 MB / 1.075 GB, free: 149.4 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0006467/3.345, allocations: 75.3 kB / 1.075 GB, free: 149.4 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.007799/3.353, allocations: 10.94 MB / 1.086 GB, free: 142.5 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001731/3.355, allocations: 1.354 MB / 1.087 GB, free: 141.8 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001903/3.357, allocations: 363.5 kB / 1.088 GB, free: 141.8 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.00165/3.358, allocations: 1.082 MB / 1.089 GB, free: 141.4 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0129/3.371, allocations: 6.096 MB / 1.095 GB, free: 141.4 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01948/3.391, allocations: 18.49 MB / 1.113 GB, free: 125.2 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01904/3.41, allocations: 10.65 MB / 1.123 GB, free: 125.2 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004556/3.41, allocations: 128.2 kB / 1.123 GB, free: 125.2 MB / 0.573 GB Notification: Performance of matching and sorting (n=2350) (initialization): time 0.05082/3.461, allocations: 23.26 MB / 1.146 GB, free: 118.5 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003469/3.462, allocations: 203.9 kB / 1.146 GB, free: 118.5 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000611/3.462, allocations: 446.2 kB / 1.147 GB, free: 118.5 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001624/3.464, allocations: 0.8188 MB / 1.147 GB, free: 118.5 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01712/3.481, allocations: 4.459 MB / 1.152 GB, free: 117.9 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004808/3.486, allocations: 3.651 MB / 1.155 GB, free: 115.7 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01749/3.503, allocations: 1.13 MB / 1.156 GB, free: 115.4 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003507/3.507, allocations: 1.151 MB / 1.157 GB, free: 115.2 MB / 0.573 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.01789/3.525, allocations: 7.858 MB / 1.165 GB, free: 111.3 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001531/3.526, allocations: 0.8252 MB / 1.166 GB, free: 110.9 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01337/3.54, allocations: 6.153 MB / 1.172 GB, free: 108.4 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001003/3.54, allocations: 37.53 kB / 1.172 GB, free: 108.4 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.508e-05/3.54, allocations: 3.75 kB / 1.172 GB, free: 108.4 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.291e-05/3.54, allocations: 17.53 kB / 1.172 GB, free: 108.4 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05632/3.596, allocations: 21.2 MB / 1.193 GB, free: 95.03 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.419e-05/3.596, allocations: 4.438 kB / 1.193 GB, free: 95.02 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003872/3.6, allocations: 0.6788 MB / 1.193 GB, free: 94.51 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006711/3.601, allocations: 170.9 kB / 1.194 GB, free: 94.38 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005317/3.601, allocations: 63.33 kB / 1.194 GB, free: 94.32 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002606/3.604, allocations: 2.196 MB / 1.196 GB, free: 92.18 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/3.604, allocations: 15.28 kB / 1.196 GB, free: 92.17 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01727/3.621, allocations: 11.16 MB / 1.207 GB, free: 81.97 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003983/3.625, allocations: 1.286 MB / 1.208 GB, free: 80.75 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002109/3.628, allocations: 48 kB / 1.208 GB, free: 80.7 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005456/3.633, allocations: 442.4 kB / 1.208 GB, free: 80.42 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007785/3.634, allocations: 175.6 kB / 1.209 GB, free: 80.31 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003795/3.634, allocations: 100.7 kB / 1.209 GB, free: 80.22 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01561/3.65, allocations: 6.51 MB / 1.215 GB, free: 74.83 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.306e-06/3.65, allocations: 0 / 1.215 GB, free: 74.83 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.02024/3.67, allocations: 2.891 MB / 1.218 GB, free: 71.96 MB / 0.573 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.001216/3.671, allocations: 275.6 kB / 1.218 GB, free: 71.71 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02462/3.696, allocations: 13.56 MB / 1.231 GB, free: 59.73 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.12e-05/3.696, allocations: 4.438 kB / 1.231 GB, free: 59.73 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.005046/3.701, allocations: 2.94 MB / 1.234 GB, free: 57.16 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006688/3.708, allocations: 1.367 MB / 1.236 GB, free: 56.06 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.436/4.144, allocations: 37.54 MB / 1.272 GB, free: 121.2 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02936/4.173, allocations: 10.76 MB / 1.283 GB, free: 120.1 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003072/4.176, allocations: 0.7393 MB / 1.283 GB, free: 120.1 MB / 0.573 GB Notification: Performance of SimCode: time 1.789e-06/4.176, allocations: 0 / 1.283 GB, free: 120.1 MB / 0.573 GB Notification: Performance of Templates: time 0.6783/4.855, allocations: 241.5 MB / 1.519 GB, free: 121.3 MB / 0.573 GB