Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.304/2.304, allocations: 234.9 MB / 251.1 MB, free: 9.473 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005969/0.0005972, allocations: 8 kB / 314.9 MB, free: 9.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3768/0.3774, allocations: 54.86 MB / 369.8 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2107/0.5882, allocations: 100.9 MB / 470.7 MB, free: 5.66 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003143/0.5886, allocations: 83.97 kB / 470.8 MB, free: 5.578 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.488/2.077, allocations: 202.3 MB / 0.6573 GB, free: 45.31 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.837e-06/2.077, allocations: 6.656 kB / 0.6573 GB, free: 45.31 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005849/2.078, allocations: 197.7 kB / 0.6575 GB, free: 45.3 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.04119/2.119, allocations: 9.982 MB / 0.6673 GB, free: 41.36 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/2.119, allocations: 14.59 kB / 0.6673 GB, free: 41.36 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03513/2.154, allocations: 4.032 MB / 0.6712 GB, free: 40.68 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03577/2.19, allocations: 10.61 MB / 0.6816 GB, free: 39.6 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001095/2.191, allocations: 0.7887 MB / 0.6824 GB, free: 39.57 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00613/2.197, allocations: 1.035 MB / 0.6834 GB, free: 39.57 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08136/2.279, allocations: 24.49 MB / 0.7073 GB, free: 35.12 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009264/2.28, allocations: 98.67 kB / 0.7074 GB, free: 35.11 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00607/2.286, allocations: 497.1 kB / 0.7079 GB, free: 35.11 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005671/2.292, allocations: 2.267 MB / 0.7101 GB, free: 35.09 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06562/2.357, allocations: 19.52 MB / 0.7291 GB, free: 33.2 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6134/2.971, allocations: 94.14 MB / 0.8211 GB, free: 76.15 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03551/3.006, allocations: 7.636 MB / 0.8285 GB, free: 75.47 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03984/3.046, allocations: 13.3 MB / 0.8415 GB, free: 72.54 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.674e-05/3.046, allocations: 75.73 kB / 0.8416 GB, free: 72.49 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=336): time 7.334e-06/3.046, allocations: 3.594 kB / 0.8416 GB, free: 72.49 MB / 0.4948 GB Notification: Performance of matching and sorting (n=360): time 0.09204/3.138, allocations: 20.84 MB / 0.862 GB, free: 66.7 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.853e-05/3.138, allocations: 164.8 kB / 0.8621 GB, free: 66.54 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01989/3.158, allocations: 7.412 MB / 0.8693 GB, free: 65.98 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007985/3.159, allocations: 79.83 kB / 0.8694 GB, free: 65.95 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.005917/3.165, allocations: 6.543 MB / 0.8758 GB, free: 62.52 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002152/3.167, allocations: 1.359 MB / 0.8771 GB, free: 61.74 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001437/3.169, allocations: 212.3 kB / 0.8773 GB, free: 61.74 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0009461/3.17, allocations: 0.7546 MB / 0.8781 GB, free: 61.41 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01088/3.181, allocations: 3.222 MB / 0.8812 GB, free: 61.38 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01534/3.196, allocations: 9.74 MB / 0.8907 GB, free: 53.01 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01504/3.211, allocations: 5.395 MB / 0.896 GB, free: 52.94 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003076/3.212, allocations: 64.97 kB / 0.8961 GB, free: 52.94 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1390) (initialization): time 0.03794/3.25, allocations: 12.38 MB / 0.9082 GB, free: 52.23 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000193/3.25, allocations: 108.7 kB / 0.9083 GB, free: 52.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003828/3.25, allocations: 232.4 kB / 0.9085 GB, free: 52.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003758/3.251, allocations: 338.3 kB / 0.9088 GB, free: 52.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01685/3.267, allocations: 2.622 MB / 0.9114 GB, free: 52 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005349/3.268, allocations: 454.9 kB / 0.9118 GB, free: 51.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01404/3.282, allocations: 0.6798 MB / 0.9125 GB, free: 51.88 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002769/3.285, allocations: 0.6425 MB / 0.9131 GB, free: 51.88 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 (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.01368/3.299, allocations: 4.506 MB / 0.9175 GB, free: 50.79 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001721/3.3, allocations: 0.6646 MB / 0.9181 GB, free: 50.43 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01301/3.313, allocations: 4.11 MB / 0.9222 GB, free: 48.79 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.349e-05/3.314, allocations: 41.81 kB / 0.9222 GB, free: 48.79 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.675e-05/3.314, allocations: 0 / 0.9222 GB, free: 48.79 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-05/3.314, allocations: 13.64 kB / 0.9222 GB, free: 48.79 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1033/3.417, allocations: 50.12 MB / 0.9712 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001782/3.417, allocations: 78.62 kB / 0.9712 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005539/3.423, allocations: 0.7384 MB / 0.972 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001246/3.423, allocations: 104 kB / 0.9721 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008148/3.424, allocations: 172.2 kB / 0.9722 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001105/3.424, allocations: 140 kB / 0.9723 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.08e-05/3.424, allocations: 115.5 kB / 0.9725 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01327/3.437, allocations: 7.239 MB / 0.9795 GB, free: 2.227 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002778/3.44, allocations: 0.7933 MB / 0.9803 GB, free: 1.445 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002586/3.443, allocations: 171.8 kB / 0.9805 GB, free: 1.293 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007312/3.45, allocations: 275 kB / 0.9807 GB, free: 1.082 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001266/3.451, allocations: 489.8 kB / 0.9812 GB, free: 0.6914 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004541/3.452, allocations: 206.7 kB / 0.9814 GB, free: 0.5 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.03163/3.483, allocations: 5.624 MB / 0.9869 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.062e-06/3.484, allocations: 4 kB / 0.9869 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01504/3.499, allocations: 1.871 MB / 0.9887 GB, free: 13.22 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 () * 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.001759/3.5, allocations: 363.5 kB / 0.9891 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02198/3.522, allocations: 7.585 MB / 0.9965 GB, free: 6.27 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.345e-05/3.523, allocations: 15.47 kB / 0.9965 GB, free: 6.258 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006295/3.529, allocations: 2.107 MB / 0.9985 GB, free: 4.449 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009038/3.538, allocations: 1.033 MB / 0.9996 GB, free: 3.578 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.479/4.017, allocations: 27.01 MB / 1.026 GB, free: 93.66 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02019/4.037, allocations: 7.123 MB / 1.033 GB, free: 92.71 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003466/4.041, allocations: 0.5757 MB / 1.033 GB, free: 92.71 MB / 0.5261 GB Notification: Performance of SimCode: time 2.916e-06/4.041, allocations: 0 / 1.033 GB, free: 92.71 MB / 0.5261 GB Notification: Performance of Templates: time 0.2311/4.272, allocations: 114 MB / 1.145 GB, free: 46.64 MB / 0.5261 GB