Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.221/2.221, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004332/0.0004334, allocations: 12 kB / 314.3 MB, free: 9.582 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3116, allocations: 54.86 MB / 369.2 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor): time 0.07796/0.3896, allocations: 53.81 MB / 423 MB, free: 4.762 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.03523/0.4249, allocations: 14.45 MB / 437.4 MB, free: 6.27 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0114/0.4364, allocations: 299.3 kB / 437.7 MB, free: 5.977 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009051/0.4455, allocations: 2.939 MB / 440.7 MB, free: 3.023 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0246/0.4701, allocations: 7.032 MB / 447.7 MB, free: 11.97 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006795/0.477, allocations: 1.65 MB / 449.4 MB, free: 10.32 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.02734/0.5044, allocations: 12.38 MB / 461.7 MB, free: 13.93 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3443/0.8487, allocations: 36.38 MB / 498.1 MB, free: 10.16 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004402/0.8531, allocations: 2.728 MB / 0.4891 GB, free: 10.16 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005813/0.859, allocations: 3.703 MB / 0.4927 GB, free: 10.14 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002001/0.861, allocations: 0.5226 MB / 0.4932 GB, free: 10.14 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004199/0.8652, allocations: 1.695 MB / 0.4949 GB, free: 10.13 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005873/0.8711, allocations: 5.657 MB / 0.5004 GB, free: 10.13 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004187/0.8754, allocations: 3.229 MB / 0.5036 GB, free: 10.1 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03171/0.9071, allocations: 27.64 MB / 0.5305 GB, free: 3.531 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.9071, allocations: 0 / 0.5305 GB, free: 3.531 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.494e-06/0.9072, allocations: 0 / 0.5305 GB, free: 3.531 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006928/0.9079, allocations: 0 / 0.5305 GB, free: 3.531 MB / 410.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.03422/0.9421, allocations: 13.45 MB / 0.5437 GB, free: 7.195 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.9422, allocations: 8.031 kB / 0.5437 GB, free: 7.188 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1001/1.042, allocations: 9.713 MB / 0.5532 GB, free: 13.87 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02038/1.063, allocations: 8.046 MB / 0.561 GB, free: 8.754 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001365/1.064, allocations: 1.256 MB / 0.5623 GB, free: 8.043 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005259/1.069, allocations: 1.651 MB / 0.5639 GB, free: 6.949 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.104/1.173, allocations: 39.14 MB / 0.6021 GB, free: 8.332 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007383/1.174, allocations: 116.8 kB / 0.6022 GB, free: 8.27 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004849/1.179, allocations: 0.7328 MB / 0.6029 GB, free: 7.594 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007277/1.186, allocations: 3.903 MB / 0.6067 GB, free: 3.758 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08733/1.274, allocations: 29.71 MB / 0.6358 GB, free: 6.496 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7594/2.033, allocations: 123.3 MB / 0.7562 GB, free: 88.44 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04731/2.081, allocations: 12.98 MB / 0.7689 GB, free: 78.55 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01122/2.092, allocations: 15.25 MB / 0.7837 GB, free: 60.93 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.851e-05/2.092, allocations: 70.23 kB / 0.7838 GB, free: 60.85 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=274): time 7.95e-06/2.092, allocations: 0 / 0.7838 GB, free: 60.85 MB / 0.5105 GB Notification: Performance of matching and sorting (n=309): time 0.8232/2.915, allocations: 78.39 MB / 0.8604 GB, free: 185.8 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.001e-05/2.915, allocations: 211.1 kB / 0.8606 GB, free: 185.5 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02104/2.936, allocations: 10.76 MB / 0.8711 GB, free: 183.1 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 0.0005358/2.937, allocations: 76.56 kB / 0.8711 GB, free: 183.1 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 0.006565/2.944, allocations: 10.93 MB / 0.8818 GB, free: 175.8 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 0.001493/2.945, allocations: 1.353 MB / 0.8831 GB, free: 174.8 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001363/2.947, allocations: 363.4 kB / 0.8835 GB, free: 174.6 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 0.001174/2.948, allocations: 1.084 MB / 0.8845 GB, free: 173.9 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01252/2.96, allocations: 6.103 MB / 0.8905 GB, free: 171.7 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01826/2.979, allocations: 18.57 MB / 0.9086 GB, free: 152.4 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01827/2.997, allocations: 10.64 MB / 0.919 GB, free: 146.5 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003298/2.997, allocations: 128 kB / 0.9192 GB, free: 146.3 MB / 0.5263 GB Notification: Performance of matching and sorting (n=2349) (initialization): time 0.04553/3.043, allocations: 23.32 MB / 0.9419 GB, free: 123.3 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003299/3.043, allocations: 196 kB / 0.9421 GB, free: 123.1 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000471/3.044, allocations: 444 kB / 0.9425 GB, free: 122.7 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001641/3.045, allocations: 0.8952 MB / 0.9434 GB, free: 121.8 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01593/3.061, allocations: 4.386 MB / 0.9477 GB, free: 117.4 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004855/3.066, allocations: 4.008 MB / 0.9516 GB, free: 113.2 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01548/3.082, allocations: 1.062 MB / 0.9526 GB, free: 112.2 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002462/3.084, allocations: 1.154 MB / 0.9538 GB, free: 111 MB / 0.5263 GB 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.01437/3.099, allocations: 7.85 MB / 0.9614 GB, free: 103.2 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001319/3.1, allocations: 0.8329 MB / 0.9622 GB, free: 102.3 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01158/3.112, allocations: 6.219 MB / 0.9683 GB, free: 96.05 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.961e-05/3.112, allocations: 38.11 kB / 0.9684 GB, free: 96.02 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.404e-05/3.112, allocations: 4 kB / 0.9684 GB, free: 96.01 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.013e-05/3.112, allocations: 11.95 kB / 0.9684 GB, free: 96 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04674/3.158, allocations: 21.36 MB / 0.9892 GB, free: 74.53 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.11e-05/3.159, allocations: 4 kB / 0.9892 GB, free: 74.53 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003214/3.162, allocations: 0.6127 MB / 0.9898 GB, free: 73.91 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000816/3.163, allocations: 237.8 kB / 0.9901 GB, free: 73.68 MB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002951/3.163, allocations: 68.8 kB / 0.9901 GB, free: 73.61 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003055/3.166, allocations: 2.576 MB / 0.9926 GB, free: 70.91 MB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.715e-06/3.166, allocations: 4 kB / 0.9926 GB, free: 70.91 MB / 0.5263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01596/3.182, allocations: 10.27 MB / 1.003 GB, free: 60.5 MB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003214/3.185, allocations: 1.291 MB / 1.004 GB, free: 59.18 MB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001136/3.186, allocations: 57.31 kB / 1.004 GB, free: 59.12 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003838/3.19, allocations: 372.7 kB / 1.004 GB, free: 58.76 MB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004731/3.191, allocations: 174.3 kB / 1.005 GB, free: 58.59 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003238/3.191, allocations: 101.2 kB / 1.005 GB, free: 58.49 MB / 0.5263 GB Notification: Performance of sorting global known variables: time 0.01168/3.203, allocations: 6.627 MB / 1.011 GB, free: 51.89 MB / 0.5263 GB Notification: Performance of sort global known variables: time 1.343e-06/3.203, allocations: 0 / 1.011 GB, free: 51.89 MB / 0.5263 GB Notification: Performance of remove unused functions: time 0.01645/3.219, allocations: 2.927 MB / 1.014 GB, free: 48.98 MB / 0.5263 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.001025/3.22, allocations: 262.9 kB / 1.014 GB, free: 48.72 MB / 0.5263 GB Notification: Performance of simCode: created initialization part: time 0.02216/3.243, allocations: 13.56 MB / 1.027 GB, free: 35.24 MB / 0.5263 GB Notification: Performance of simCode: created event and clocks part: time 1.179e-05/3.243, allocations: 4.438 kB / 1.027 GB, free: 35.23 MB / 0.5263 GB Notification: Performance of simCode: created simulation system equations: time 0.00477/3.247, allocations: 2.96 MB / 1.03 GB, free: 32.26 MB / 0.5263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005524/3.253, allocations: 1.364 MB / 1.032 GB, free: 30.9 MB / 0.5263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3703/3.623, allocations: 37.74 MB / 1.069 GB, free: 155.4 MB / 0.5263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02421/3.648, allocations: 10.72 MB / 1.079 GB, free: 154.3 MB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002923/3.651, allocations: 0.7363 MB / 1.08 GB, free: 154.3 MB / 0.5263 GB Notification: Performance of SimCode: time 2.713e-06/3.651, allocations: 0 / 1.08 GB, free: 154.3 MB / 0.5263 GB Notification: Performance of Templates: time 0.6342/4.285, allocations: 241.5 MB / 1.316 GB, free: 128.1 MB / 0.5419 GB