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.CutForceAndTorque2.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.CutForceAndTorque2,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.CutForceAndTorque2") Notification: Performance of loadModel(ModelicaTest): time 2.116/2.116, allocations: 234.9 MB / 250.5 MB, free: 9.531 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000431/0.0004312, allocations: 12 kB / 314.4 MB, free: 9.535 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.2764, allocations: 54.87 MB / 369.3 MB, free: 10.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1524/0.4288, allocations: 100.9 MB / 470.2 MB, free: 5.625 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/0.4291, allocations: 75.97 kB / 470.3 MB, free: 5.551 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.271/1.7, allocations: 199.2 MB / 0.6538 GB, free: 46.09 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.725e-06/1.7, allocations: 0 / 0.6538 GB, free: 46.09 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004394/1.701, allocations: 195.4 kB / 0.654 GB, free: 46.09 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.03145/1.732, allocations: 9.99 MB / 0.6637 GB, free: 42.14 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/1.732, allocations: 14.25 kB / 0.6637 GB, free: 42.14 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02681/1.759, allocations: 4.033 MB / 0.6677 GB, free: 41.46 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02894/1.788, allocations: 10.6 MB / 0.678 GB, free: 40.39 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009308/1.789, allocations: 0.7913 MB / 0.6788 GB, free: 40.37 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00466/1.794, allocations: 1.043 MB / 0.6798 GB, free: 40.36 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06384/1.858, allocations: 24.4 MB / 0.7036 GB, free: 35.93 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000563/1.858, allocations: 94.66 kB / 0.7037 GB, free: 35.92 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004466/1.863, allocations: 0.49 MB / 0.7042 GB, free: 35.91 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004331/1.867, allocations: 2.273 MB / 0.7064 GB, free: 35.89 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05196/1.919, allocations: 19.52 MB / 0.7255 GB, free: 33.88 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1492/2.068, allocations: 94.3 MB / 0.8176 GB, free: 0 / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3304/2.399, allocations: 7.737 MB / 0.8251 GB, free: 84.36 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03207/2.431, allocations: 13.31 MB / 0.8381 GB, free: 81.42 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.217e-05/2.431, allocations: 65.53 kB / 0.8382 GB, free: 81.38 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=336): time 7.82e-06/2.431, allocations: 2.656 kB / 0.8382 GB, free: 81.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=360): time 0.07418/2.505, allocations: 20.84 MB / 0.8585 GB, free: 75.69 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.456e-05/2.505, allocations: 169.5 kB / 0.8587 GB, free: 75.53 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01508/2.52, allocations: 6.591 MB / 0.8651 GB, free: 75 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006023/2.521, allocations: 80.61 kB / 0.8652 GB, free: 74.97 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004517/2.525, allocations: 6.55 MB / 0.8716 GB, free: 71.54 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001539/2.527, allocations: 1.365 MB / 0.873 GB, free: 70.76 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001029/2.528, allocations: 212.2 kB / 0.8732 GB, free: 70.76 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0007298/2.529, allocations: 0.7529 MB / 0.8739 GB, free: 70.43 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008374/2.537, allocations: 3.219 MB / 0.877 GB, free: 70.41 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01202/2.549, allocations: 9.696 MB / 0.8865 GB, free: 62.04 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01175/2.561, allocations: 5.396 MB / 0.8918 GB, free: 61.97 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002198/2.561, allocations: 67.47 kB / 0.8918 GB, free: 61.97 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1390) (initialization): time 0.0305/2.592, allocations: 12.38 MB / 0.9039 GB, free: 60.47 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002022/2.592, allocations: 105.7 kB / 0.904 GB, free: 60.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003073/2.592, allocations: 231.2 kB / 0.9043 GB, free: 60.47 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003658/2.593, allocations: 336.5 kB / 0.9046 GB, free: 60.47 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01147/2.604, allocations: 2.615 MB / 0.9071 GB, free: 60.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004333/2.605, allocations: 454.1 kB / 0.9076 GB, free: 60.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01136/2.616, allocations: 0.6873 MB / 0.9082 GB, free: 59.88 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00205/2.618, allocations: 0.6398 MB / 0.9089 GB, free: 59.79 MB / 0.4948 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 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[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.01082/2.629, allocations: 4.514 MB / 0.9133 GB, free: 57.75 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001459/2.631, allocations: 0.67 MB / 0.9139 GB, free: 57.39 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01068/2.641, allocations: 4.097 MB / 0.9179 GB, free: 55.76 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.813e-05/2.641, allocations: 36.91 kB / 0.918 GB, free: 55.76 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.518e-05/2.641, allocations: 0 / 0.918 GB, free: 55.76 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.506e-05/2.642, allocations: 20.98 kB / 0.918 GB, free: 55.76 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07364/2.715, allocations: 41.71 MB / 0.9587 GB, free: 27.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000264/2.715, allocations: 88 kB / 0.9588 GB, free: 27.17 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003688/2.719, allocations: 0.8446 MB / 0.9596 GB, free: 26.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001463/2.719, allocations: 131.6 kB / 0.9597 GB, free: 26.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007097/2.72, allocations: 195.5 kB / 0.9599 GB, free: 26.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001438/2.72, allocations: 173.3 kB / 0.9601 GB, free: 25.97 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.684e-05/2.72, allocations: 143.2 kB / 0.9602 GB, free: 25.83 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01681/2.737, allocations: 25.23 MB / 0.9849 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003071/2.74, allocations: 0.841 MB / 0.9857 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002125/2.742, allocations: 204.3 kB / 0.9859 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006046/2.749, allocations: 266 kB / 0.9861 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001339/2.75, allocations: 0.5696 MB / 0.9867 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007333/2.751, allocations: 244.5 kB / 0.9869 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01315/2.764, allocations: 4.647 MB / 0.9915 GB, free: 7.906 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.311e-06/2.764, allocations: 0 / 0.9915 GB, free: 7.906 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0208/2.785, allocations: 1.881 MB / 0.9933 GB, free: 6.035 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 402 * 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 (444): * Single equations (assignments): 441 * 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.001558/2.786, allocations: 404 kB / 0.9937 GB, free: 5.633 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02276/2.809, allocations: 7.779 MB / 1.001 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.536e-05/2.809, allocations: 16 kB / 1.001 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005241/2.814, allocations: 2.165 MB / 1.003 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.3161/3.131, allocations: 1.083 MB / 1.004 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05464/3.185, allocations: 27.42 MB / 1.031 GB, free: 93.74 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01795/3.203, allocations: 7.162 MB / 1.038 GB, free: 92.79 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002405/3.206, allocations: 0.5805 MB / 1.039 GB, free: 92.79 MB / 0.5261 GB Notification: Performance of SimCode: time 1.913e-06/3.206, allocations: 0 / 1.039 GB, free: 92.79 MB / 0.5261 GB Notification: Performance of Templates: time 0.1732/3.379, allocations: 114 MB / 1.15 GB, free: 43.24 MB / 0.5261 GB