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.CutForceAndTorque1.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.CutForceAndTorque1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce1a.torque.3.|cutForce1b.torque.3.|cutForce2a.force.3.|cutForce2a.torque.3.|cutForce2b.force.3.|cutForce2b.torque.3.|cutForce1a.force.2.|cutForce1a.torque.2.|cutForce1b.torque.2.|cutForce2a.force.2.|cutForce2a.torque.2.|cutForce2b.force.2.|cutForce2b.torque.2.|cutForce1a.force.1.|cutForce1a.torque.1.|cutForce1b.torque.1.|cutForce2a.force.1.|cutForce2a.torque.1.|cutForce2b.force.1.|cutForce2b.torque.1.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1") Notification: Performance of loadModel(ModelicaTest): time 2.237/2.237, allocations: 235 MB / 248.1 MB, free: 14.32 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.731e-05/2.753e-05, allocations: 4 kB / 309.7 MB, free: 1.316 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3235, allocations: 54.85 MB / 364.5 MB, free: 5.523 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1537/0.4773, allocations: 100.8 MB / 465.4 MB, free: 11.61 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002605/0.4776, allocations: 82.55 kB / 465.4 MB, free: 11.53 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9834/1.461, allocations: 200.7 MB / 0.6505 GB, free: 39.99 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.588e-06/1.461, allocations: 0 / 0.6505 GB, free: 39.99 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004329/1.462, allocations: 191.9 kB / 0.6507 GB, free: 39.8 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: 3662 * Number of variables: 3662 Notification: Performance of Generate backend data structure: time 0.02881/1.49, allocations: 9.421 MB / 0.6599 GB, free: 30.29 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/1.49, allocations: 12.03 kB / 0.6599 GB, free: 30.28 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02606/1.516, allocations: 4.034 MB / 0.6638 GB, free: 26.22 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0282/1.545, allocations: 10.56 MB / 0.6741 GB, free: 15.58 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009805/1.546, allocations: 0.7941 MB / 0.6749 GB, free: 14.79 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004638/1.55, allocations: 1.043 MB / 0.6759 GB, free: 13.74 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0651/1.616, allocations: 24.08 MB / 0.6995 GB, free: 4.047 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005504/1.616, allocations: 95.14 kB / 0.6995 GB, free: 3.953 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004624/1.621, allocations: 495.7 kB / 0.7 GB, free: 3.469 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005483/1.626, allocations: 2.267 MB / 0.7022 GB, free: 1.195 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3514/1.978, allocations: 18.97 MB / 0.7208 GB, free: 66.84 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1397/2.118, allocations: 94.16 MB / 0.8127 GB, free: 13.22 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02699/2.145, allocations: 7.538 MB / 0.8201 GB, free: 10.92 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006256/2.151, allocations: 3.031 MB / 0.823 GB, free: 9.758 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03081/2.182, allocations: 13.3 MB / 0.836 GB, free: 3.434 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.198e-05/2.182, allocations: 69.66 kB / 0.8361 GB, free: 3.371 MB / 474.7 MB Notification: Performance of pre-optimization done (n=336): time 7.899e-06/2.182, allocations: 0 / 0.8361 GB, free: 3.371 MB / 474.7 MB Notification: Performance of matching and sorting (n=360): time 0.07251/2.254, allocations: 18.76 MB / 0.8544 GB, free: 5.188 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001276/2.255, allocations: 167.5 kB / 0.8546 GB, free: 4.996 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01635/2.271, allocations: 6.395 MB / 0.8608 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006292/2.272, allocations: 81.7 kB / 0.8609 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.006684/2.278, allocations: 6.55 MB / 0.8673 GB, free: 9.391 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002025/2.28, allocations: 1.359 MB / 0.8686 GB, free: 8.191 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001022/2.281, allocations: 216 kB / 0.8688 GB, free: 7.98 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0009227/2.282, allocations: 0.7582 MB / 0.8696 GB, free: 7.344 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007686/2.29, allocations: 2.985 MB / 0.8725 GB, free: 4.652 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01433/2.304, allocations: 9.467 MB / 0.8817 GB, free: 8.617 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01182/2.316, allocations: 5.232 MB / 0.8868 GB, free: 4.191 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002184/2.317, allocations: 68 kB / 0.8869 GB, free: 4.125 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1390) (initialization): time 0.3438/2.66, allocations: 11.93 MB / 0.8985 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001939/2.661, allocations: 103.5 kB / 0.8986 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002986/2.661, allocations: 231.5 kB / 0.8989 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004803/2.661, allocations: 340.2 kB / 0.8992 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01256/2.674, allocations: 2.612 MB / 0.9017 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006036/2.675, allocations: 454.7 kB / 0.9022 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01162/2.686, allocations: 0.6834 MB / 0.9028 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002321/2.689, allocations: 0.637 MB / 0.9035 GB, free: 103.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1052 * Number of states: 0 () * Number of discrete variables: 69 (body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],cutForce1a.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[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 (1366): * Single equations (assignments): 1363 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003083/2.692, allocations: 0.9418 MB / 0.9044 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001455/2.693, allocations: 0.6637 MB / 0.905 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01033/2.704, allocations: 3.989 MB / 0.9089 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-05/2.704, allocations: 40.02 kB / 0.909 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.749e-05/2.704, allocations: 0.7031 kB / 0.909 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.677e-05/2.704, allocations: 19.48 kB / 0.909 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0861/2.79, allocations: 50.04 MB / 0.9578 GB, free: 96.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001757/2.79, allocations: 76.14 kB / 0.9579 GB, free: 96.83 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00396/2.794, allocations: 0.7406 MB / 0.9586 GB, free: 96.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001332/2.794, allocations: 105 kB / 0.9587 GB, free: 96.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000674/2.795, allocations: 164.6 kB / 0.9589 GB, free: 96.76 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001162/2.795, allocations: 139.8 kB / 0.959 GB, free: 96.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.26e-05/2.795, allocations: 119.4 kB / 0.9591 GB, free: 96.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01258/2.808, allocations: 21.37 MB / 0.98 GB, free: 75.63 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00244/2.81, allocations: 0.7897 MB / 0.9808 GB, free: 75.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002024/2.812, allocations: 168 kB / 0.9809 GB, free: 75.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006033/2.818, allocations: 282.4 kB / 0.9812 GB, free: 75.14 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001074/2.819, allocations: 491.8 kB / 0.9817 GB, free: 74.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004491/2.82, allocations: 207.1 kB / 0.9819 GB, free: 74.93 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01087/2.831, allocations: 4.458 MB / 0.9862 GB, free: 73.45 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.24e-06/2.831, allocations: 0.5625 kB / 0.9862 GB, free: 73.45 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01312/2.844, allocations: 1.877 MB / 0.9881 GB, free: 73.23 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 330 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (376): * Single equations (assignments): 373 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001278/2.845, allocations: 346.9 kB / 0.9884 GB, free: 73.02 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01461/2.86, allocations: 7.295 MB / 0.9955 GB, free: 68.13 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.209e-05/2.86, allocations: 12.94 kB / 0.9955 GB, free: 68.12 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004231/2.864, allocations: 2.085 MB / 0.9976 GB, free: 66.28 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007364/2.872, allocations: 1.02 MB / 0.9986 GB, free: 65.42 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06001/2.932, allocations: 19.16 MB / 1.017 GB, free: 47.21 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02546/2.957, allocations: 7.121 MB / 1.024 GB, free: 42.04 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002341/2.96, allocations: 0.578 MB / 1.025 GB, free: 41.5 MB / 0.5105 GB Notification: Performance of SimCode: time 1.923e-06/2.96, allocations: 0 / 1.025 GB, free: 41.5 MB / 0.5105 GB Notification: Performance of Templates: time 0.5298/3.489, allocations: 114 MB / 1.136 GB, free: 81.25 MB / 0.5261 GB