Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.309/2.309, allocations: 234.9 MB / 251.1 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004173/0.0004175, allocations: 12 kB / 314.9 MB, free: 9.602 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.3392, allocations: 54.86 MB / 369.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1837/0.523, allocations: 104.7 MB / 474.5 MB, free: 1.852 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003125/0.5233, allocations: 83.97 kB / 474.6 MB, free: 1.77 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.535/2.058, allocations: 235.1 MB / 0.6931 GB, free: 29.44 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.497e-06/2.058, allocations: 0 / 0.6931 GB, free: 29.44 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0007286/2.059, allocations: 370.2 kB / 0.6934 GB, free: 29.43 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.05182/2.111, allocations: 13.5 MB / 0.7066 GB, free: 24.33 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/2.111, allocations: 11.72 kB / 0.7066 GB, free: 24.33 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03912/2.15, allocations: 5.808 MB / 0.7123 GB, free: 23.35 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03555/2.186, allocations: 10.53 MB / 0.7226 GB, free: 22.07 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001599/2.187, allocations: 1.481 MB / 0.724 GB, free: 22.02 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008587/2.196, allocations: 1.946 MB / 0.7259 GB, free: 22.01 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1323/2.328, allocations: 41.72 MB / 0.7667 GB, free: 1.945 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001408/2.33, allocations: 200.7 kB / 0.7669 GB, free: 1.754 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00807/2.338, allocations: 0.8985 MB / 0.7677 GB, free: 0.8867 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004597/2.342, allocations: 2.07 MB / 0.7698 GB, free: 15.13 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1159/2.458, allocations: 30.56 MB / 0.7996 GB, free: 6.531 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6608/3.119, allocations: 165.2 MB / 0.9609 GB, free: 33.06 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06901/3.188, allocations: 13.32 MB / 0.9739 GB, free: 32.36 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01712/3.205, allocations: 15.27 MB / 0.9888 GB, free: 19.8 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001014/3.206, allocations: 73.64 kB / 0.9889 GB, free: 19.76 MB / 0.573 GB Notification: Performance of pre-optimization done (n=274): time 8.005e-06/3.206, allocations: 0 / 0.9889 GB, free: 19.76 MB / 0.573 GB Notification: Performance of matching and sorting (n=309): time 0.8602/4.066, allocations: 79.7 MB / 1.067 GB, free: 150.8 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/4.066, allocations: 211.7 kB / 1.067 GB, free: 150.6 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0307/4.097, allocations: 10.61 MB / 1.077 GB, free: 149.6 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0008495/4.098, allocations: 74.77 kB / 1.077 GB, free: 149.6 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.009516/4.107, allocations: 10.94 MB / 1.088 GB, free: 142.6 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002407/4.11, allocations: 1.356 MB / 1.089 GB, free: 142 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002655/4.112, allocations: 363.7 kB / 1.09 GB, free: 142 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.002327/4.115, allocations: 1.082 MB / 1.091 GB, free: 141.6 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01609/4.131, allocations: 6.094 MB / 1.097 GB, free: 141.6 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02462/4.155, allocations: 18.56 MB / 1.115 GB, free: 125.4 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0232/4.179, allocations: 10.65 MB / 1.125 GB, free: 125.4 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0007072/4.179, allocations: 128.6 kB / 1.125 GB, free: 125.4 MB / 0.573 GB Notification: Performance of matching and sorting (n=2350) (initialization): time 0.05883/4.238, allocations: 23.26 MB / 1.148 GB, free: 118.3 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001007/4.239, allocations: 198.5 kB / 1.148 GB, free: 118.3 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001401/4.241, allocations: 446.6 kB / 1.149 GB, free: 118.3 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002549/4.243, allocations: 0.8199 MB / 1.15 GB, free: 118.3 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02595/4.269, allocations: 4.46 MB / 1.154 GB, free: 117.7 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005721/4.275, allocations: 3.645 MB / 1.157 GB, free: 115.6 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0197/4.295, allocations: 1.127 MB / 1.159 GB, free: 115.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004119/4.299, allocations: 1.155 MB / 1.16 GB, free: 115 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.02203/4.321, allocations: 7.853 MB / 1.167 GB, free: 111.1 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002183/4.323, allocations: 0.8256 MB / 1.168 GB, free: 110.7 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01786/4.341, allocations: 6.152 MB / 1.174 GB, free: 108.2 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001332/4.341, allocations: 37.22 kB / 1.174 GB, free: 108.2 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.761e-05/4.341, allocations: 11.69 kB / 1.174 GB, free: 108.2 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.866e-05/4.342, allocations: 14.06 kB / 1.174 GB, free: 108.2 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06782/4.409, allocations: 21.19 MB / 1.195 GB, free: 93.68 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.163e-05/4.409, allocations: 8.234 kB / 1.195 GB, free: 93.67 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005942/4.415, allocations: 0.682 MB / 1.196 GB, free: 93.15 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008958/4.416, allocations: 166.8 kB / 1.196 GB, free: 93.03 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006753/4.417, allocations: 70.97 kB / 1.196 GB, free: 92.96 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003213/4.42, allocations: 2.203 MB / 1.198 GB, free: 90.82 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.782e-06/4.42, allocations: 12 kB / 1.198 GB, free: 90.81 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0228/4.443, allocations: 10.23 MB / 1.208 GB, free: 81.71 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004966/4.448, allocations: 1.287 MB / 1.209 GB, free: 80.48 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002948/4.451, allocations: 46.34 kB / 1.209 GB, free: 80.44 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007467/4.459, allocations: 438.6 kB / 1.21 GB, free: 80.16 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001001/4.46, allocations: 177.4 kB / 1.21 GB, free: 80.04 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004316/4.46, allocations: 100.4 kB / 1.21 GB, free: 79.95 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01801/4.478, allocations: 6.509 MB / 1.216 GB, free: 74.57 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.272e-06/4.478, allocations: 0 / 1.216 GB, free: 74.57 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.02174/4.5, allocations: 2.896 MB / 1.219 GB, free: 71.69 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.001627/4.502, allocations: 272.7 kB / 1.219 GB, free: 71.45 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03114/4.533, allocations: 13.56 MB / 1.233 GB, free: 59.48 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.271e-05/4.533, allocations: 4.438 kB / 1.233 GB, free: 59.47 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.006576/4.54, allocations: 2.947 MB / 1.235 GB, free: 56.89 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009805/4.549, allocations: 1.372 MB / 1.237 GB, free: 55.8 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5154/5.065, allocations: 37.67 MB / 1.274 GB, free: 119.5 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03454/5.099, allocations: 10.76 MB / 1.284 GB, free: 118.4 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004534/5.104, allocations: 0.7294 MB / 1.285 GB, free: 118.4 MB / 0.573 GB Notification: Performance of SimCode: time 1.393e-06/5.104, allocations: 0 / 1.285 GB, free: 118.4 MB / 0.573 GB Notification: Performance of Templates: time 0.8924/5.997, allocations: 241.5 MB / 1.521 GB, free: 119.3 MB / 0.573 GB