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.968/1.968, allocations: 209.3 MB / 224.9 MB, free: 196 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005394/0.0005396, allocations: 12 kB / 282.6 MB, free: 9.594 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3312, allocations: 48.71 MB / 331.3 MB, free: 6.492 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1441/0.4753, allocations: 97.9 MB / 429.2 MB, free: 12.49 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/0.4756, allocations: 83.95 kB / 429.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.19/1.666, allocations: 234.6 MB / 0.6483 GB, free: 34.61 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.823e-06/1.666, allocations: 0 / 0.6483 GB, free: 34.61 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0008166/1.667, allocations: 372.2 kB / 0.6486 GB, free: 34.59 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.04125/1.708, allocations: 13.5 MB / 0.6618 GB, free: 29.59 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/1.708, allocations: 6.938 kB / 0.6618 GB, free: 29.59 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02884/1.737, allocations: 5.812 MB / 0.6675 GB, free: 28.62 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02922/1.766, allocations: 10.53 MB / 0.6778 GB, free: 27.37 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001375/1.768, allocations: 1.478 MB / 0.6792 GB, free: 27.33 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006352/1.774, allocations: 1.939 MB / 0.6811 GB, free: 27.32 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1043/1.879, allocations: 41.56 MB / 0.7217 GB, free: 18.16 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001066/1.88, allocations: 195.6 kB / 0.7219 GB, free: 18.14 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006178/1.886, allocations: 0.9077 MB / 0.7228 GB, free: 18.14 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003001/1.889, allocations: 2.045 MB / 0.7248 GB, free: 17.81 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08302/1.972, allocations: 30.27 MB / 0.7543 GB, free: 7.02 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5268/2.499, allocations: 165.2 MB / 0.9157 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05235/2.551, allocations: 13.32 MB / 0.9287 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01624/2.567, allocations: 15.28 MB / 0.9436 GB, free: 14.83 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.02e-05/2.568, allocations: 67.34 kB / 0.9437 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=274): time 7.99e-06/2.568, allocations: 0 / 0.9437 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of matching and sorting (n=309): time 0.5789/3.147, allocations: 79.55 MB / 1.021 GB, free: 138.1 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.037e-05/3.147, allocations: 215.9 kB / 1.022 GB, free: 137.9 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02223/3.169, allocations: 9.518 MB / 1.031 GB, free: 137.4 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0006659/3.17, allocations: 75.3 kB / 1.031 GB, free: 137.3 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.008005/3.178, allocations: 10.94 MB / 1.042 GB, free: 131.5 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001912/3.18, allocations: 1.357 MB / 1.043 GB, free: 130.9 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002072/3.182, allocations: 365.5 kB / 1.043 GB, free: 130.9 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.001929/3.184, allocations: 1.082 MB / 1.044 GB, free: 130.5 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01323/3.197, allocations: 6.092 MB / 1.05 GB, free: 130.5 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01974/3.217, allocations: 18.49 MB / 1.068 GB, free: 114.3 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01916/3.236, allocations: 10.64 MB / 1.079 GB, free: 114.3 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003648/3.236, allocations: 127.5 kB / 1.079 GB, free: 114.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2350) (initialization): time 0.05084/3.287, allocations: 23.28 MB / 1.102 GB, free: 111 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003472/3.288, allocations: 197.6 kB / 1.102 GB, free: 111 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005794/3.288, allocations: 451.4 kB / 1.102 GB, free: 111 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001505/3.29, allocations: 0.8152 MB / 1.103 GB, free: 111 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01684/3.307, allocations: 4.463 MB / 1.107 GB, free: 110.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004842/3.311, allocations: 3.646 MB / 1.111 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01734/3.329, allocations: 1.129 MB / 1.112 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00325/3.332, allocations: 1.151 MB / 1.113 GB, free: 107.8 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.01755/3.35, allocations: 7.856 MB / 1.121 GB, free: 103.8 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001589/3.351, allocations: 0.8259 MB / 1.122 GB, free: 103.4 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01426/3.366, allocations: 6.152 MB / 1.128 GB, free: 100.9 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001021/3.366, allocations: 38.75 kB / 1.128 GB, free: 100.9 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.5e-05/3.366, allocations: 3.625 kB / 1.128 GB, free: 100.9 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.613e-05/3.366, allocations: 13.69 kB / 1.128 GB, free: 100.9 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05442/3.42, allocations: 21.18 MB / 1.148 GB, free: 93.06 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.423e-05/3.42, allocations: 7.906 kB / 1.148 GB, free: 93.06 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003961/3.424, allocations: 0.6824 MB / 1.149 GB, free: 93 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006838/3.425, allocations: 167.2 kB / 1.149 GB, free: 92.95 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004143/3.425, allocations: 64.06 kB / 1.149 GB, free: 92.92 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002744/3.428, allocations: 2.204 MB / 1.151 GB, free: 91.26 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.484e-06/3.428, allocations: 7.875 kB / 1.151 GB, free: 91.25 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01793/3.446, allocations: 11.17 MB / 1.162 GB, free: 85.7 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003992/3.45, allocations: 1.288 MB / 1.164 GB, free: 84.78 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00213/3.452, allocations: 52 kB / 1.164 GB, free: 84.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005217/3.458, allocations: 436.6 kB / 1.164 GB, free: 84.45 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006992/3.458, allocations: 183.2 kB / 1.164 GB, free: 84.33 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003961/3.459, allocations: 99.02 kB / 1.164 GB, free: 84.24 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01507/3.474, allocations: 6.514 MB / 1.171 GB, free: 78.86 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.961e-06/3.474, allocations: 0 / 1.171 GB, free: 78.86 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.02141/3.495, allocations: 2.896 MB / 1.173 GB, free: 75.98 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.002354/3.498, allocations: 267 kB / 1.174 GB, free: 75.74 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.05336/3.551, allocations: 13.56 MB / 1.187 GB, free: 63.77 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.738e-05/3.551, allocations: 448 / 1.187 GB, free: 63.77 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01136/3.562, allocations: 2.944 MB / 1.19 GB, free: 61.18 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01354/3.576, allocations: 1.373 MB / 1.191 GB, free: 60.1 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4301/4.006, allocations: 37.54 MB / 1.228 GB, free: 109.7 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02787/4.034, allocations: 10.77 MB / 1.238 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002953/4.037, allocations: 0.7338 MB / 1.239 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of SimCode: time 1.798e-06/4.037, allocations: 1.562 kB / 1.239 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of Templates: time 0.7094/4.747, allocations: 241.5 MB / 1.475 GB, free: 82.88 MB / 0.5417 GB