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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.872/1.872, allocations: 209.4 MB / 217.3 MB, free: 4.172 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.955e-05/1.959e-05, allocations: 4 kB / 271.3 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2592, allocations: 48.69 MB / 320 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.143/0.4022, allocations: 97.14 MB / 417.2 MB, free: 15.26 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/0.4025, allocations: 83.94 kB / 417.2 MB, free: 15.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.204/1.607, allocations: 227.8 MB / 0.6299 GB, free: 30.64 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.178e-06/1.607, allocations: 2.906 kB / 0.6299 GB, free: 30.64 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006305/1.608, allocations: 373.4 kB / 0.6302 GB, free: 30.62 MB / 426.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.03855/1.646, allocations: 13.12 MB / 0.643 GB, free: 25.73 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/1.646, allocations: 10.38 kB / 0.6431 GB, free: 25.73 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02984/1.676, allocations: 5.816 MB / 0.6487 GB, free: 24.75 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02967/1.706, allocations: 10.49 MB / 0.659 GB, free: 23.46 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009047/1.707, allocations: 0.6368 MB / 0.6596 GB, free: 23.46 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006167/1.713, allocations: 1.143 MB / 0.6607 GB, free: 23.45 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05156/1.765, allocations: 20.58 MB / 0.6808 GB, free: 23.36 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08127/1.846, allocations: 32.69 MB / 0.7128 GB, free: 5.453 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001133/1.847, allocations: 197.1 kB / 0.7129 GB, free: 5.359 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005963/1.853, allocations: 102.1 kB / 0.713 GB, free: 5.262 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003713/1.857, allocations: 2.044 MB / 0.715 GB, free: 3.473 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5125/2.369, allocations: 157.7 MB / 0.8691 GB, free: 21.26 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007906/2.377, allocations: 5.265 MB / 0.8742 GB, free: 20.59 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005362/2.383, allocations: 3.526 MB / 0.8777 GB, free: 20.56 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01571/2.398, allocations: 15.28 MB / 0.8926 GB, free: 7.996 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.664e-05/2.399, allocations: 61.38 kB / 0.8926 GB, free: 7.957 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=274): time 8.549e-06/2.399, allocations: 3.5 kB / 0.8926 GB, free: 7.957 MB / 0.5105 GB Notification: Performance of matching and sorting (n=309): time 0.4151/2.814, allocations: 49.97 MB / 0.9414 GB, free: 121.6 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.765e-05/2.814, allocations: 212.5 kB / 0.9416 GB, free: 121.4 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0197/2.834, allocations: 8.773 MB / 0.9502 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006088/2.834, allocations: 31.05 kB / 0.9502 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.007324/2.842, allocations: 11.02 MB / 0.961 GB, free: 114.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001813/2.843, allocations: 1.326 MB / 0.9623 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001668/2.845, allocations: 0 / 0.9623 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001529/2.847, allocations: 1.097 MB / 0.9634 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0114/2.858, allocations: 5.655 MB / 0.9689 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01793/2.876, allocations: 18.16 MB / 0.9866 GB, free: 96.63 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01871/2.895, allocations: 10.28 MB / 0.9967 GB, free: 96.58 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004096/2.895, allocations: 134.4 kB / 0.9968 GB, free: 96.58 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2386) (initialization): time 0.05095/2.946, allocations: 20.55 MB / 1.017 GB, free: 94.26 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005183/2.947, allocations: 199.1 kB / 1.017 GB, free: 94.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008626/2.948, allocations: 458 kB / 1.017 GB, free: 94.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00277/2.95, allocations: 0.8275 MB / 1.018 GB, free: 94.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01892/2.969, allocations: 4.527 MB / 1.023 GB, free: 93.63 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006752/2.976, allocations: 3.503 MB / 1.026 GB, free: 91.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02214/2.998, allocations: 0.778 MB / 1.027 GB, free: 91.47 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003588/3.002, allocations: 1.17 MB / 1.028 GB, free: 91.33 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2073 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2340): * Single equations (assignments): 2332 * 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.004459/3.007, allocations: 1.134 MB / 1.029 GB, free: 90.39 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001632/3.008, allocations: 0.803 MB / 1.03 GB, free: 89.94 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01257/3.021, allocations: 5.847 MB / 1.036 GB, free: 87.68 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001006/3.021, allocations: 31.56 kB / 1.036 GB, free: 87.68 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.701e-05/3.021, allocations: 5.375 kB / 1.036 GB, free: 87.68 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.064e-05/3.021, allocations: 12.89 kB / 1.036 GB, free: 87.68 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04858/3.07, allocations: 17.68 MB / 1.053 GB, free: 81.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.248e-05/3.07, allocations: 7.812 kB / 1.053 GB, free: 81.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004111/3.074, allocations: 0.679 MB / 1.054 GB, free: 81.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007357/3.075, allocations: 161.9 kB / 1.054 GB, free: 81.06 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005093/3.075, allocations: 23 kB / 1.054 GB, free: 81.06 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002548/3.078, allocations: 2.064 MB / 1.056 GB, free: 79.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.36e-06/3.078, allocations: 3.812 kB / 1.056 GB, free: 79.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01711/3.095, allocations: 10.78 MB / 1.066 GB, free: 72.67 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003772/3.099, allocations: 1.259 MB / 1.068 GB, free: 71.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001462/3.1, allocations: 11.95 kB / 1.068 GB, free: 71.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004582/3.105, allocations: 391.4 kB / 1.068 GB, free: 71.23 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006709/3.105, allocations: 180.5 kB / 1.068 GB, free: 71.11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003732/3.106, allocations: 99.03 kB / 1.068 GB, free: 71.02 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0197/3.126, allocations: 5.795 MB / 1.074 GB, free: 65.99 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.816e-06/3.126, allocations: 0 / 1.074 GB, free: 65.99 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.03885/3.164, allocations: 2.498 MB / 1.076 GB, free: 63.51 MB / 0.5105 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 () * 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.001919/3.166, allocations: 208.9 kB / 1.077 GB, free: 63.33 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.03773/3.204, allocations: 12.5 MB / 1.089 GB, free: 51.97 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/3.204, allocations: 4.438 kB / 1.089 GB, free: 51.97 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004439/3.209, allocations: 2.827 MB / 1.091 GB, free: 49.41 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006438/3.215, allocations: 1.253 MB / 1.093 GB, free: 48.43 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3667/3.582, allocations: 26 MB / 1.118 GB, free: 96.14 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02877/3.611, allocations: 10.76 MB / 1.129 GB, free: 95.08 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003153/3.614, allocations: 0.7265 MB / 1.129 GB, free: 95.08 MB / 0.5105 GB Notification: Performance of SimCode: time 2.387e-06/3.614, allocations: 0 / 1.129 GB, free: 95.08 MB / 0.5105 GB Notification: Performance of Templates: time 0.6667/4.281, allocations: 237 MB / 1.361 GB, free: 48.09 MB / 0.5105 GB