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/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.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.9/1.9, allocations: 209.3 MB / 224.9 MB, free: 196 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004353/0.0004354, allocations: 8 kB / 282.6 MB, free: 9.594 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.2796, allocations: 48.7 MB / 331.3 MB, free: 6.496 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1395/0.4191, allocations: 94.18 MB / 425.5 MB, free: 224 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/0.4194, allocations: 75.97 kB / 425.5 MB, free: 148 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8891/1.309, allocations: 200.4 MB / 0.6113 GB, free: 15.1 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.851e-06/1.309, allocations: 0 / 0.6113 GB, free: 15.1 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005053/1.309, allocations: 192 kB / 0.6115 GB, free: 14.91 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: 3662 * Number of variables: 3662 Notification: Performance of Generate backend data structure: time 0.0337/1.343, allocations: 9.992 MB / 0.6212 GB, free: 4.816 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/1.343, allocations: 8.031 kB / 0.6212 GB, free: 4.809 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02711/1.37, allocations: 4.035 MB / 0.6252 GB, free: 0.7539 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5646/1.935, allocations: 10.6 MB / 0.6355 GB, free: 46.52 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009538/1.936, allocations: 0.7942 MB / 0.6363 GB, free: 46.49 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004851/1.94, allocations: 1.033 MB / 0.6373 GB, free: 46.49 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06532/2.006, allocations: 24.41 MB / 0.6612 GB, free: 42.05 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005576/2.006, allocations: 105.6 kB / 0.6613 GB, free: 42.05 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004219/2.011, allocations: 494 kB / 0.6617 GB, free: 42.05 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004616/2.015, allocations: 2.268 MB / 0.6639 GB, free: 42.03 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05259/2.068, allocations: 19.53 MB / 0.683 GB, free: 41.94 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1439/2.212, allocations: 94.14 MB / 0.7749 GB, free: 5.785 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02953/2.241, allocations: 7.67 MB / 0.7824 GB, free: 15.65 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0364/2.278, allocations: 13.3 MB / 0.7954 GB, free: 4.324 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.784e-05/2.278, allocations: 68.72 kB / 0.7955 GB, free: 4.246 MB / 474.8 MB Notification: Performance of pre-optimization done (n=336): time 7.743e-06/2.278, allocations: 0 / 0.7955 GB, free: 4.246 MB / 474.8 MB Notification: Performance of matching and sorting (n=360): time 0.4155/2.694, allocations: 20.86 MB / 0.8159 GB, free: 84.86 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.763e-05/2.694, allocations: 174.6 kB / 0.816 GB, free: 84.7 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01542/2.709, allocations: 6.589 MB / 0.8225 GB, free: 84.18 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006425/2.71, allocations: 77.64 kB / 0.8225 GB, free: 84.14 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004448/2.714, allocations: 6.546 MB / 0.8289 GB, free: 80.59 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001599/2.716, allocations: 1.355 MB / 0.8303 GB, free: 79.82 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001008/2.717, allocations: 216.1 kB / 0.8305 GB, free: 79.82 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0007802/2.718, allocations: 0.7547 MB / 0.8312 GB, free: 79.48 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008637/2.726, allocations: 3.221 MB / 0.8343 GB, free: 79.46 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01206/2.738, allocations: 9.692 MB / 0.8438 GB, free: 71.09 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0115/2.75, allocations: 5.396 MB / 0.8491 GB, free: 71.03 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002057/2.75, allocations: 68.59 kB / 0.8491 GB, free: 71.03 MB / 474.8 MB Notification: Performance of matching and sorting (n=1390) (initialization): time 0.03063/2.781, allocations: 12.39 MB / 0.8612 GB, free: 70.24 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.000177/2.781, allocations: 110.6 kB / 0.8613 GB, free: 70.23 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000287/2.781, allocations: 228.8 kB / 0.8616 GB, free: 70.23 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003667/2.782, allocations: 343.3 kB / 0.8619 GB, free: 70.23 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01195/2.794, allocations: 2.61 MB / 0.8644 GB, free: 70.01 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004096/2.794, allocations: 454.6 kB / 0.8649 GB, free: 69.91 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01214/2.806, allocations: 0.6862 MB / 0.8655 GB, free: 69.9 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002065/2.808, allocations: 0.6341 MB / 0.8662 GB, free: 69.9 MB / 474.8 MB 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 () * Number of clocked 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.01055/2.819, allocations: 4.514 MB / 0.8706 GB, free: 69.41 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001446/2.82, allocations: 0.6691 MB / 0.8712 GB, free: 69.04 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01016/2.831, allocations: 4.101 MB / 0.8752 GB, free: 68.82 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.705e-05/2.831, allocations: 38.16 kB / 0.8753 GB, free: 68.82 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-05/2.831, allocations: 3.125 kB / 0.8753 GB, free: 68.82 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.095e-05/2.831, allocations: 21.08 kB / 0.8753 GB, free: 68.82 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08594/2.917, allocations: 50.12 MB / 0.9242 GB, free: 42.15 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001732/2.917, allocations: 72.22 kB / 0.9243 GB, free: 42.08 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003577/2.921, allocations: 0.7413 MB / 0.925 GB, free: 41.44 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001177/2.921, allocations: 107.9 kB / 0.9251 GB, free: 41.34 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006489/2.921, allocations: 167.6 kB / 0.9253 GB, free: 41.19 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001018/2.922, allocations: 141.1 kB / 0.9254 GB, free: 41.06 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.536e-05/2.922, allocations: 115.5 kB / 0.9255 GB, free: 40.95 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01374/2.935, allocations: 21.47 MB / 0.9465 GB, free: 16.87 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002584/2.938, allocations: 0.7974 MB / 0.9473 GB, free: 16.09 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002109/2.94, allocations: 171.7 kB / 0.9474 GB, free: 15.94 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006193/2.946, allocations: 273.2 kB / 0.9477 GB, free: 15.72 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00109/2.948, allocations: 484 kB / 0.9482 GB, free: 15.34 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004599/2.948, allocations: 209.2 kB / 0.9484 GB, free: 15.14 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.01173/2.96, allocations: 4.648 MB / 0.9529 GB, free: 11.39 MB / 474.8 MB Notification: Performance of sort global known variables: time 1.049e-06/2.96, allocations: 0 / 0.9529 GB, free: 11.39 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0136/2.973, allocations: 1.871 MB / 0.9547 GB, free: 9.527 MB / 474.8 MB 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 () * Number of clocked 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.001271/2.975, allocations: 370.2 kB / 0.9551 GB, free: 9.168 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.01646/2.991, allocations: 7.58 MB / 0.9625 GB, free: 2.578 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 5.351e-05/2.991, allocations: 12.19 kB / 0.9625 GB, free: 2.566 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004621/2.996, allocations: 2.12 MB / 0.9646 GB, free: 0.75 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008202/3.004, allocations: 1.073 MB / 0.9656 GB, free: 0 / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3436/3.348, allocations: 26.98 MB / 0.992 GB, free: 84.78 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01799/3.366, allocations: 7.133 MB / 0.9989 GB, free: 83.83 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002599/3.368, allocations: 0.5672 MB / 0.9995 GB, free: 83.82 MB / 490.8 MB Notification: Performance of SimCode: time 1.948e-06/3.369, allocations: 3.844 kB / 0.9995 GB, free: 83.82 MB / 490.8 MB Notification: Performance of Templates: time 0.1734/3.542, allocations: 114 MB / 1.111 GB, free: 31.27 MB / 490.8 MB