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.833/1.833, allocations: 209.3 MB / 224.8 MB, free: 200 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004422/0.0004424, allocations: 8 kB / 282.5 MB, free: 9.637 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3599/0.3604, allocations: 48.71 MB / 331.2 MB, free: 6.461 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor): time 0.08718/0.4476, allocations: 53.78 MB / 385 MB, free: 8.621 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0389/0.4866, allocations: 14.42 MB / 399.4 MB, free: 10.16 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01332/0.4999, allocations: 303.2 kB / 399.7 MB, free: 9.867 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009722/0.5097, allocations: 2.943 MB / 402.6 MB, free: 6.91 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02643/0.5362, allocations: 7.04 MB / 409.7 MB, free: 15.85 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007055/0.5433, allocations: 1.654 MB / 411.3 MB, free: 14.2 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.02811/0.5714, allocations: 12.38 MB / 423.7 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07583/0.6473, allocations: 36.38 MB / 460.1 MB, free: 13.27 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005769/0.6531, allocations: 2.73 MB / 462.8 MB, free: 10.53 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007408/0.6606, allocations: 3.706 MB / 466.5 MB, free: 6.809 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00234/0.6629, allocations: 0.5234 MB / 467 MB, free: 6.285 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004985/0.6679, allocations: 1.69 MB / 468.7 MB, free: 4.594 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.5202/1.188, allocations: 5.657 MB / 474.4 MB, free: 30.92 MB / 394.8 MB Notification: Performance of NFVerifyModel.verify: time 0.004605/1.193, allocations: 3.224 MB / 477.6 MB, free: 30.89 MB / 394.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0292/1.222, allocations: 27.64 MB / 0.4934 GB, free: 22.44 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/1.222, allocations: 0 / 0.4934 GB, free: 22.44 MB / 394.8 MB Notification: Performance of FrontEnd: time 2.951e-06/1.222, allocations: 0 / 0.4934 GB, free: 22.44 MB / 394.8 MB Notification: Performance of Transformations before backend: time 0.0009896/1.223, allocations: 2.844 kB / 0.4934 GB, free: 22.44 MB / 394.8 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.03298/1.256, allocations: 13.45 MB / 0.5065 GB, free: 14.76 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/1.256, allocations: 7.219 kB / 0.5066 GB, free: 14.76 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09809/1.354, allocations: 9.715 MB / 0.516 GB, free: 11.18 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01933/1.374, allocations: 8.046 MB / 0.5239 GB, free: 9.176 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001089/1.375, allocations: 1.251 MB / 0.5251 GB, free: 9.141 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005069/1.38, allocations: 1.652 MB / 0.5267 GB, free: 8.773 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1046/1.484, allocations: 39.14 MB / 0.565 GB, free: 11.55 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007471/1.485, allocations: 125.8 kB / 0.5651 GB, free: 11.49 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005043/1.49, allocations: 0.74 MB / 0.5658 GB, free: 11.3 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007146/1.497, allocations: 3.9 MB / 0.5696 GB, free: 8.176 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1389/1.636, allocations: 29.72 MB / 0.5986 GB, free: 432 kB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4644/2.101, allocations: 123.3 MB / 0.719 GB, free: 93.75 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05123/2.152, allocations: 12.98 MB / 0.7317 GB, free: 92.9 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01253/2.165, allocations: 15.25 MB / 0.7466 GB, free: 80.24 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.063e-05/2.165, allocations: 67.77 kB / 0.7467 GB, free: 80.18 MB / 490.8 MB Notification: Performance of pre-optimization done (n=274): time 8.288e-06/2.165, allocations: 0 / 0.7467 GB, free: 80.18 MB / 490.8 MB Notification: Performance of matching and sorting (n=309): time 0.2648/2.43, allocations: 78.39 MB / 0.8232 GB, free: 9.672 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/2.43, allocations: 217.5 kB / 0.8234 GB, free: 9.418 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3512/2.781, allocations: 10.77 MB / 0.8339 GB, free: 167.4 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005805/2.782, allocations: 77.38 kB / 0.834 GB, free: 167.4 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.007985/2.79, allocations: 10.93 MB / 0.8447 GB, free: 161.6 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001686/2.791, allocations: 1.354 MB / 0.846 GB, free: 160.7 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001738/2.793, allocations: 363.3 kB / 0.8463 GB, free: 160.4 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.001458/2.795, allocations: 1.083 MB / 0.8474 GB, free: 159.7 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01357/2.808, allocations: 6.097 MB / 0.8534 GB, free: 157.5 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01995/2.828, allocations: 18.57 MB / 0.8715 GB, free: 138.2 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01925/2.847, allocations: 10.64 MB / 0.8819 GB, free: 133.4 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004028/2.848, allocations: 126.3 kB / 0.882 GB, free: 133.4 MB / 490.8 MB Notification: Performance of matching and sorting (n=2349) (initialization): time 0.04929/2.897, allocations: 23.32 MB / 0.9048 GB, free: 117.5 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003829/2.898, allocations: 196 kB / 0.905 GB, free: 117.3 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005654/2.898, allocations: 453.9 kB / 0.9054 GB, free: 116.9 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001714/2.9, allocations: 0.8956 MB / 0.9063 GB, free: 116.1 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0162/2.916, allocations: 4.39 MB / 0.9106 GB, free: 112.2 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004958/2.921, allocations: 3.992 MB / 0.9145 GB, free: 108.5 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01681/2.938, allocations: 1.065 MB / 0.9155 GB, free: 107.6 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003061/2.941, allocations: 1.154 MB / 0.9166 GB, free: 106.4 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2036 * 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 (2303): * Single equations (assignments): 2295 * 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.01652/2.958, allocations: 7.858 MB / 0.9243 GB, free: 99.41 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001456/2.959, allocations: 0.8251 MB / 0.9251 GB, free: 98.58 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0124/2.972, allocations: 6.219 MB / 0.9312 GB, free: 92.52 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.667e-05/2.972, allocations: 32 kB / 0.9312 GB, free: 92.49 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.565e-05/2.972, allocations: 4 kB / 0.9312 GB, free: 92.49 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.072e-05/2.972, allocations: 19.89 kB / 0.9312 GB, free: 92.47 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05013/3.022, allocations: 21.37 MB / 0.9521 GB, free: 71 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.386e-05/3.022, allocations: 4 kB / 0.9521 GB, free: 71 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00342/3.025, allocations: 0.6089 MB / 0.9527 GB, free: 70.39 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008422/3.026, allocations: 241 kB / 0.9529 GB, free: 70.15 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004092/3.027, allocations: 65.27 kB / 0.953 GB, free: 70.09 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003108/3.03, allocations: 2.578 MB / 0.9555 GB, free: 67.38 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.8e-06/3.03, allocations: 7.938 kB / 0.9555 GB, free: 67.37 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01617/3.046, allocations: 10.27 MB / 0.9655 GB, free: 56.96 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003699/3.05, allocations: 1.287 MB / 0.9668 GB, free: 55.64 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002069/3.052, allocations: 56.92 kB / 0.9669 GB, free: 55.59 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005122/3.057, allocations: 376.5 kB / 0.9672 GB, free: 55.22 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006889/3.058, allocations: 175.1 kB / 0.9674 GB, free: 55.05 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003445/3.058, allocations: 100.7 kB / 0.9675 GB, free: 54.95 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.01409/3.072, allocations: 6.635 MB / 0.974 GB, free: 48.34 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.086e-06/3.072, allocations: 0 / 0.974 GB, free: 48.34 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.01933/3.092, allocations: 2.916 MB / 0.9768 GB, free: 45.44 MB / 490.8 MB 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.001182/3.093, allocations: 267.4 kB / 0.9771 GB, free: 45.19 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.02369/3.117, allocations: 13.56 MB / 0.9903 GB, free: 31.7 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-05/3.117, allocations: 448 / 0.9903 GB, free: 31.7 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.005025/3.122, allocations: 2.967 MB / 0.9932 GB, free: 28.72 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006347/3.128, allocations: 1.367 MB / 0.9945 GB, free: 27.36 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.338/3.466, allocations: 37.73 MB / 1.031 GB, free: 145.8 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0368/3.503, allocations: 10.74 MB / 1.042 GB, free: 143.3 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006854/3.51, allocations: 0.7333 MB / 1.043 GB, free: 143.3 MB / 490.8 MB Notification: Performance of SimCode: time 2.927e-06/3.51, allocations: 0 / 1.043 GB, free: 143.3 MB / 490.8 MB Notification: Performance of Templates: time 0.6432/4.153, allocations: 241.5 MB / 1.278 GB, free: 61.61 MB / 490.8 MB