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.CutForceAndTorque1.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.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.1_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1") Notification: Performance of loadModel(ModelicaTest): time 1.994/1.994, allocations: 209.4 MB / 217.3 MB, free: 4.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.648e-05/1.656e-05, allocations: 4 kB / 271.3 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.2626, allocations: 48.68 MB / 320 MB, free: 14.42 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1408/0.4035, allocations: 93.43 MB / 413.4 MB, free: 3 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002522/0.4038, allocations: 75.95 kB / 413.5 MB, free: 2.926 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.414/1.818, allocations: 195.9 MB / 0.5951 GB, free: 39.04 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.739e-06/1.818, allocations: 6.938 kB / 0.5951 GB, free: 39.04 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.0005267/1.819, allocations: 194 kB / 0.5953 GB, free: 39.04 MB / 410.8 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.02972/1.848, allocations: 9.414 MB / 0.6045 GB, free: 36.43 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/1.849, allocations: 10.12 kB / 0.6045 GB, free: 36.43 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02566/1.874, allocations: 4.036 MB / 0.6084 GB, free: 35.75 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0275/1.902, allocations: 10.56 MB / 0.6187 GB, free: 34.66 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006562/1.902, allocations: 349.8 kB / 0.6191 GB, free: 34.66 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004409/1.907, allocations: 0.6085 MB / 0.6197 GB, free: 34.66 MB / 410.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03115/1.938, allocations: 14.54 MB / 0.6339 GB, free: 34.6 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04841/1.987, allocations: 20.73 MB / 0.6541 GB, free: 30.21 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005802/1.987, allocations: 107.5 kB / 0.6542 GB, free: 30.2 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004009/1.991, allocations: 50.06 kB / 0.6543 GB, free: 30.2 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004237/1.995, allocations: 2.265 MB / 0.6565 GB, free: 30.18 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1464/2.142, allocations: 93.8 MB / 0.7481 GB, free: 5.234 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008942/2.151, allocations: 4.145 MB / 0.7521 GB, free: 1.422 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2808/2.432, allocations: 1.968 MB / 0.754 GB, free: 81.37 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002774/2.432, allocations: 62.91 kB / 0.7541 GB, free: 81.36 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.67e-05/2.432, allocations: 68.8 kB / 0.7542 GB, free: 81.32 MB / 458.8 MB Notification: Performance of pre-optimization done (n=330): time 8.649e-06/2.432, allocations: 0.625 kB / 0.7542 GB, free: 81.32 MB / 458.8 MB Notification: Performance of matching and sorting (n=342): time 0.04391/2.476, allocations: 14.88 MB / 0.7687 GB, free: 76.22 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.427e-05/2.476, allocations: 162.5 kB / 0.7689 GB, free: 76.06 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01213/2.488, allocations: 5.669 MB / 0.7744 GB, free: 75.53 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005738/2.489, allocations: 27.86 kB / 0.7744 GB, free: 75.5 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004595/2.494, allocations: 6.78 MB / 0.781 GB, free: 71.85 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001538/2.495, allocations: 1.264 MB / 0.7823 GB, free: 71.11 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009779/2.496, allocations: 3.938 kB / 0.7823 GB, free: 71.11 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0008913/2.497, allocations: 0.7824 MB / 0.7831 GB, free: 70.78 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006237/2.503, allocations: 2.86 MB / 0.7858 GB, free: 70.75 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009896/2.513, allocations: 9.627 MB / 0.7952 GB, free: 61.94 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009753/2.523, allocations: 5.171 MB / 0.8003 GB, free: 61.88 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002339/2.523, allocations: 67.47 kB / 0.8004 GB, free: 61.88 MB / 458.8 MB Notification: Performance of matching and sorting (n=1444) (initialization): time 0.02591/2.549, allocations: 10.86 MB / 0.811 GB, free: 61.43 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001985/2.549, allocations: 109.5 kB / 0.8111 GB, free: 61.43 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002971/2.55, allocations: 243.1 kB / 0.8113 GB, free: 61.43 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000389/2.55, allocations: 359.8 kB / 0.8116 GB, free: 61.43 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01148/2.562, allocations: 2.713 MB / 0.8143 GB, free: 61.2 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003775/2.562, allocations: 477.7 kB / 0.8147 GB, free: 61.09 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01161/2.574, allocations: 0.4894 MB / 0.8152 GB, free: 61.07 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00222/2.576, allocations: 0.6684 MB / 0.8159 GB, free: 61.07 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1112 * 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 (1420): * Single equations (assignments): 1417 * 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.002914/2.579, allocations: 0.7031 MB / 0.8166 GB, free: 60.57 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001339/2.58, allocations: 0.6199 MB / 0.8172 GB, free: 60.23 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008536/2.589, allocations: 3.572 MB / 0.8207 GB, free: 60.02 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.716e-05/2.589, allocations: 35.78 kB / 0.8207 GB, free: 60.02 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.511e-05/2.589, allocations: 4.469 kB / 0.8207 GB, free: 60.02 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.914e-05/2.589, allocations: 17.73 kB / 0.8207 GB, free: 60.02 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07708/2.666, allocations: 45.71 MB / 0.8654 GB, free: 43.4 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001772/2.666, allocations: 68 kB / 0.8654 GB, free: 43.34 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003611/2.67, allocations: 0.7005 MB / 0.8661 GB, free: 42.74 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001238/2.67, allocations: 100 kB / 0.8662 GB, free: 42.64 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007188/2.671, allocations: 113 kB / 0.8663 GB, free: 42.54 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.749e-05/2.671, allocations: 132.2 kB / 0.8664 GB, free: 42.43 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.206e-05/2.671, allocations: 107.5 kB / 0.8665 GB, free: 42.32 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01196/2.683, allocations: 18.97 MB / 0.8851 GB, free: 20.2 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002301/2.685, allocations: 0.7271 MB / 0.8858 GB, free: 19.47 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001821/2.687, allocations: 101.1 kB / 0.8859 GB, free: 19.39 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005582/2.693, allocations: 205.9 kB / 0.8861 GB, free: 19.24 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001098/2.694, allocations: 454.2 kB / 0.8865 GB, free: 18.88 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006061/2.695, allocations: 198.4 kB / 0.8867 GB, free: 18.7 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.008761/2.703, allocations: 3.773 MB / 0.8904 GB, free: 15.45 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.251e-06/2.703, allocations: 3.938 kB / 0.8904 GB, free: 15.44 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0137/2.717, allocations: 1.61 MB / 0.8919 GB, free: 13.84 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 306 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (358): * Single equations (assignments): 355 * 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.001161/2.718, allocations: 260.4 kB / 0.8922 GB, free: 13.57 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.01326/2.732, allocations: 6.804 MB / 0.8988 GB, free: 7.445 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 4.747e-05/2.732, allocations: 12 kB / 0.8989 GB, free: 7.434 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003601/2.735, allocations: 1.873 MB / 0.9007 GB, free: 5.793 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006343/2.742, allocations: 0.8108 MB / 0.9015 GB, free: 5.105 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.342/3.084, allocations: 18.79 MB / 0.9198 GB, free: 82.07 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0181/3.102, allocations: 7.095 MB / 0.9268 GB, free: 81.14 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002384/3.104, allocations: 0.547 MB / 0.9273 GB, free: 81.13 MB / 474.8 MB Notification: Performance of SimCode: time 1.914e-06/3.104, allocations: 0 / 0.9273 GB, free: 81.13 MB / 474.8 MB Notification: Performance of Templates: time 0.216/3.32, allocations: 109.3 MB / 1.034 GB, free: 42.88 MB / 474.8 MB