Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.994/1.994, allocations: 209.3 MB / 225.4 MB, free: 0.6094 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004395/0.0004398, allocations: 8 kB / 283.1 MB, free: 9.691 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.3463, allocations: 48.7 MB / 331.8 MB, free: 6.484 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1784/0.5248, allocations: 97.89 MB / 429.7 MB, free: 12.49 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000339/0.5252, allocations: 87.94 kB / 429.8 MB, free: 12.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.444/1.97, allocations: 235.1 MB / 0.6493 GB, free: 34.43 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.945e-06/1.97, allocations: 0 / 0.6493 GB, free: 34.43 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.001549/1.971, allocations: 375.1 kB / 0.6496 GB, free: 34.41 MB / 442.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.05719/2.028, allocations: 13.5 MB / 0.6628 GB, free: 29.4 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/2.029, allocations: 6.156 kB / 0.6628 GB, free: 29.4 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03873/2.067, allocations: 5.809 MB / 0.6685 GB, free: 28.44 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03508/2.102, allocations: 10.53 MB / 0.6788 GB, free: 27.19 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00182/2.104, allocations: 1.478 MB / 0.6802 GB, free: 27.14 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008232/2.113, allocations: 1.946 MB / 0.6821 GB, free: 27.13 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1323/2.245, allocations: 41.71 MB / 0.7229 GB, free: 17.93 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001455/2.246, allocations: 201 kB / 0.723 GB, free: 17.92 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008089/2.255, allocations: 0.9003 MB / 0.7239 GB, free: 17.83 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004071/2.259, allocations: 2.044 MB / 0.7259 GB, free: 17.48 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1064/2.365, allocations: 30.26 MB / 0.7555 GB, free: 6.203 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6433/3.009, allocations: 165.3 MB / 0.9169 GB, free: 12 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06853/3.077, allocations: 13.32 MB / 0.9299 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01794/3.095, allocations: 15.27 MB / 0.9448 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001244/3.095, allocations: 66.44 kB / 0.9449 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=274): time 8.395e-06/3.095, allocations: 0 / 0.9449 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of matching and sorting (n=309): time 0.7652/3.861, allocations: 79.94 MB / 1.023 GB, free: 138 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/3.861, allocations: 219.4 kB / 1.023 GB, free: 137.8 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03202/3.893, allocations: 10.62 MB / 1.034 GB, free: 137.2 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0008374/3.894, allocations: 79.72 kB / 1.034 GB, free: 137.1 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.009685/3.903, allocations: 10.93 MB / 1.044 GB, free: 131.3 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.002355/3.906, allocations: 1.357 MB / 1.046 GB, free: 130.7 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002664/3.908, allocations: 362.8 kB / 1.046 GB, free: 130.7 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.002704/3.911, allocations: 1.087 MB / 1.047 GB, free: 130.3 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01679/3.928, allocations: 6.098 MB / 1.053 GB, free: 130.3 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02441/3.952, allocations: 18.56 MB / 1.071 GB, free: 114.1 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02377/3.976, allocations: 10.63 MB / 1.081 GB, free: 114.1 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006581/3.977, allocations: 129.6 kB / 1.082 GB, free: 114.1 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2350) (initialization): time 0.05985/4.037, allocations: 23.27 MB / 1.104 GB, free: 110.5 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004128/4.037, allocations: 201.9 kB / 1.104 GB, free: 110.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008219/4.038, allocations: 447.2 kB / 1.105 GB, free: 110.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002312/4.041, allocations: 0.8182 MB / 1.106 GB, free: 110.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02538/4.066, allocations: 4.462 MB / 1.11 GB, free: 109.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005747/4.072, allocations: 3.639 MB / 1.114 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0191/4.091, allocations: 1.134 MB / 1.115 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004097/4.095, allocations: 1.15 MB / 1.116 GB, free: 107.2 MB / 0.5417 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.02114/4.116, allocations: 7.853 MB / 1.124 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00189/4.118, allocations: 0.8252 MB / 1.124 GB, free: 102.8 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0165/4.135, allocations: 6.159 MB / 1.13 GB, free: 100.3 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001276/4.135, allocations: 35.72 kB / 1.13 GB, free: 100.3 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/4.135, allocations: 2.844 kB / 1.13 GB, free: 100.3 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-05/4.135, allocations: 14.86 kB / 1.13 GB, free: 100.3 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06683/4.202, allocations: 21.17 MB / 1.151 GB, free: 92.49 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.114e-05/4.202, allocations: 7.906 kB / 1.151 GB, free: 92.48 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006/4.208, allocations: 0.6896 MB / 1.152 GB, free: 92.42 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008835/4.209, allocations: 164.9 kB / 1.152 GB, free: 92.38 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007177/4.21, allocations: 60.12 kB / 1.152 GB, free: 92.35 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003326/4.213, allocations: 2.205 MB / 1.154 GB, free: 90.69 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/4.213, allocations: 3.719 kB / 1.154 GB, free: 90.69 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02337/4.236, allocations: 10.24 MB / 1.164 GB, free: 86.07 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004795/4.241, allocations: 1.295 MB / 1.165 GB, free: 84.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002867/4.244, allocations: 50.25 kB / 1.165 GB, free: 84.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007365/4.252, allocations: 437.3 kB / 1.166 GB, free: 84.52 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009601/4.253, allocations: 177 kB / 1.166 GB, free: 84.4 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004368/4.253, allocations: 97.8 kB / 1.166 GB, free: 84.32 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0178/4.271, allocations: 6.51 MB / 1.172 GB, free: 78.93 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.193e-06/4.271, allocations: 0 / 1.172 GB, free: 78.93 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.02174/4.293, allocations: 2.904 MB / 1.175 GB, free: 76.05 MB / 0.5417 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.001757/4.294, allocations: 258.9 kB / 1.176 GB, free: 75.81 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.03152/4.326, allocations: 13.56 MB / 1.189 GB, free: 63.84 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.614e-05/4.326, allocations: 4.438 kB / 1.189 GB, free: 63.84 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.006835/4.333, allocations: 2.939 MB / 1.192 GB, free: 61.26 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009929/4.343, allocations: 1.379 MB / 1.193 GB, free: 60.17 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5407/4.884, allocations: 37.67 MB / 1.23 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.04378/4.927, allocations: 10.76 MB / 1.24 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006/4.933, allocations: 0.734 MB / 1.241 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of SimCode: time 1.954e-06/4.934, allocations: 1.812 kB / 1.241 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of Templates: time 0.8787/5.812, allocations: 241.5 MB / 1.477 GB, free: 77.8 MB / 0.5417 GB