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.811/1.811, allocations: 209.3 MB / 222.4 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.54e-05/2.552e-05, allocations: 4 kB / 277.8 MB, free: 15.31 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08525/0.0853, allocations: 48.7 MB / 326.5 MB, free: 14.52 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3545/0.4398, allocations: 94.09 MB / 420.6 MB, free: 13.7 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/0.4401, allocations: 71.72 kB / 420.7 MB, free: 13.66 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.004/1.444, allocations: 200.7 MB / 0.6068 GB, free: 66.78 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.196e-06/1.444, allocations: 0 / 0.6068 GB, free: 66.78 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004556/1.444, allocations: 193.8 kB / 0.607 GB, free: 66.78 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.02919/1.474, allocations: 9.42 MB / 0.6162 GB, free: 61.48 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/1.474, allocations: 6.75 kB / 0.6162 GB, free: 61.48 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02612/1.5, allocations: 4.033 MB / 0.6201 GB, free: 58.38 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04336/1.543, allocations: 10.57 MB / 0.6304 GB, free: 48.66 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001393/1.545, allocations: 0.793 MB / 0.6312 GB, free: 47.93 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006594/1.551, allocations: 1.046 MB / 0.6322 GB, free: 46.95 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06174/1.613, allocations: 24.07 MB / 0.6558 GB, free: 21.45 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005791/1.614, allocations: 95.16 kB / 0.6558 GB, free: 21.36 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004456/1.618, allocations: 496.2 kB / 0.6563 GB, free: 20.94 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004221/1.622, allocations: 2.27 MB / 0.6585 GB, free: 18.67 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04741/1.67, allocations: 18.98 MB / 0.6771 GB, free: 15.67 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4284/2.098, allocations: 94.14 MB / 0.769 GB, free: 30.98 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02707/2.125, allocations: 7.55 MB / 0.7764 GB, free: 30.29 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006514/2.132, allocations: 3.033 MB / 0.7793 GB, free: 30.23 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03223/2.164, allocations: 13.28 MB / 0.7923 GB, free: 26.46 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.13e-05/2.164, allocations: 77.34 kB / 0.7924 GB, free: 26.39 MB / 458.7 MB Notification: Performance of pre-optimization done (n=336): time 8.106e-06/2.164, allocations: 0 / 0.7924 GB, free: 26.39 MB / 458.7 MB Notification: Performance of matching and sorting (n=360): time 0.06981/2.234, allocations: 18.77 MB / 0.8107 GB, free: 18.89 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.547e-05/2.234, allocations: 163.7 kB / 0.8109 GB, free: 18.73 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01513/2.25, allocations: 6.395 MB / 0.8171 GB, free: 16.45 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006429/2.25, allocations: 80.83 kB / 0.8172 GB, free: 16.37 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004913/2.255, allocations: 6.55 MB / 0.8236 GB, free: 27.25 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001696/2.257, allocations: 1.356 MB / 0.8249 GB, free: 26.26 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001125/2.258, allocations: 212.4 kB / 0.8251 GB, free: 26.09 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001137/2.259, allocations: 0.7574 MB / 0.8259 GB, free: 25.59 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006793/2.266, allocations: 2.989 MB / 0.8288 GB, free: 24.6 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01088/2.277, allocations: 9.467 MB / 0.838 GB, free: 14.89 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01123/2.288, allocations: 5.24 MB / 0.8431 GB, free: 13.08 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002477/2.289, allocations: 66.44 kB / 0.8432 GB, free: 13.08 MB / 474.7 MB Notification: Performance of matching and sorting (n=1390) (initialization): time 0.03113/2.32, allocations: 11.92 MB / 0.8548 GB, free: 4.48 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002288/2.32, allocations: 104 kB / 0.8549 GB, free: 4.379 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003975/2.32, allocations: 235.4 kB / 0.8552 GB, free: 4.152 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004838/2.321, allocations: 336 kB / 0.8555 GB, free: 3.824 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01253/2.333, allocations: 2.616 MB / 0.858 GB, free: 1.547 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005703/2.334, allocations: 457.3 kB / 0.8585 GB, free: 1.148 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01199/2.346, allocations: 0.6749 MB / 0.8591 GB, free: 0.5742 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002866/2.349, allocations: 0.6671 MB / 0.8598 GB, free: 0 / 474.7 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 () * 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.003805/2.353, allocations: 0.9407 MB / 0.8607 GB, free: 15.06 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001802/2.355, allocations: 0.6633 MB / 0.8614 GB, free: 14.39 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0115/2.366, allocations: 3.993 MB / 0.8652 GB, free: 10.98 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.036e-05/2.366, allocations: 43.19 kB / 0.8653 GB, free: 10.94 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.577e-05/2.366, allocations: 0 / 0.8653 GB, free: 10.94 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.617e-05/2.366, allocations: 15.89 kB / 0.8653 GB, free: 10.94 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3906/2.757, allocations: 50.04 MB / 0.9142 GB, free: 106.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000265/2.757, allocations: 73.25 kB / 0.9142 GB, free: 106.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004042/2.761, allocations: 0.7399 MB / 0.915 GB, free: 106.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001435/2.762, allocations: 104.6 kB / 0.9151 GB, free: 106.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000849/2.762, allocations: 165.1 kB / 0.9152 GB, free: 106.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001302/2.763, allocations: 140 kB / 0.9154 GB, free: 106.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.377e-05/2.763, allocations: 117.5 kB / 0.9155 GB, free: 106.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01412/2.777, allocations: 21.36 MB / 0.9363 GB, free: 87.37 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0027/2.78, allocations: 0.7957 MB / 0.9371 GB, free: 87.27 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002196/2.782, allocations: 171.7 kB / 0.9373 GB, free: 87.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006277/2.788, allocations: 277.1 kB / 0.9375 GB, free: 87.27 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001112/2.789, allocations: 482.3 kB / 0.938 GB, free: 87.22 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006443/2.79, allocations: 205.4 kB / 0.9382 GB, free: 87.22 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01125/2.801, allocations: 4.457 MB / 0.9425 GB, free: 85.93 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.175e-06/2.801, allocations: 1.938 kB / 0.9426 GB, free: 85.93 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.014/2.815, allocations: 1.871 MB / 0.9444 GB, free: 85.71 MB / 490.7 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 () * 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.001386/2.817, allocations: 354.2 kB / 0.9447 GB, free: 85.55 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01488/2.832, allocations: 7.304 MB / 0.9518 GB, free: 83.11 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.404e-05/2.832, allocations: 9.5 kB / 0.9519 GB, free: 83.11 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004225/2.836, allocations: 2.077 MB / 0.9539 GB, free: 82.41 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007516/2.843, allocations: 1.027 MB / 0.9549 GB, free: 82.06 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04747/2.891, allocations: 19.17 MB / 0.9736 GB, free: 72.9 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01733/2.908, allocations: 7.122 MB / 0.9806 GB, free: 69.72 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002525/2.911, allocations: 0.5738 MB / 0.9811 GB, free: 69.18 MB / 490.7 MB Notification: Performance of SimCode: time 2.124e-06/2.911, allocations: 0 / 0.9811 GB, free: 69.18 MB / 490.7 MB Notification: Performance of Templates: time 0.5195/3.43, allocations: 114 MB / 1.092 GB, free: 101.6 MB / 490.7 MB