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.CutForceAndTorque1.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.266/2.266, allocations: 235.1 MB / 243 MB, free: 9.504 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.646e-05/2.622e-05, allocations: 4.219 kB / 303.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.2776, allocations: 54.85 MB / 358 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1513/0.429, allocations: 100.2 MB / 458.2 MB, free: 10.65 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/0.4293, allocations: 75.95 kB / 458.3 MB, free: 10.57 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.19/1.619, allocations: 195.9 MB / 0.6388 GB, free: 45.62 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.09e-06/1.619, allocations: 0 / 0.6388 GB, free: 45.62 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004743/1.619, allocations: 194 kB / 0.639 GB, free: 45.62 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.03026/1.65, allocations: 9.409 MB / 0.6482 GB, free: 42.03 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/1.65, allocations: 9.281 kB / 0.6482 GB, free: 42.03 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02628/1.676, allocations: 4.03 MB / 0.6522 GB, free: 41.34 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02969/1.706, allocations: 10.55 MB / 0.6625 GB, free: 40.25 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007147/1.707, allocations: 345.9 kB / 0.6628 GB, free: 40.25 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004683/1.711, allocations: 0.6093 MB / 0.6634 GB, free: 40.24 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03193/1.743, allocations: 14.54 MB / 0.6776 GB, free: 40.19 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04888/1.792, allocations: 20.73 MB / 0.6978 GB, free: 35.79 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006908/1.793, allocations: 111.2 kB / 0.6979 GB, free: 35.78 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004468/1.797, allocations: 48.56 kB / 0.698 GB, free: 35.78 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004715/1.802, allocations: 2.268 MB / 0.7002 GB, free: 35.75 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1461/1.948, allocations: 93.85 MB / 0.7918 GB, free: 1.176 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008603/1.957, allocations: 4.145 MB / 0.7959 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004211/1.961, allocations: 1.935 MB / 0.7978 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002194/1.962, allocations: 58.31 kB / 0.7978 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.163e-05/1.962, allocations: 67.12 kB / 0.7979 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=330): time 8.837e-06/1.962, allocations: 4.75 kB / 0.7979 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=342): time 0.3446/2.306, allocations: 14.88 MB / 0.8124 GB, free: 84.64 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.238e-05/2.306, allocations: 165.6 kB / 0.8126 GB, free: 84.48 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01437/2.321, allocations: 5.662 MB / 0.8181 GB, free: 84.13 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006099/2.321, allocations: 25.7 kB / 0.8182 GB, free: 84.1 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004742/2.326, allocations: 6.792 MB / 0.8248 GB, free: 81.42 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001731/2.328, allocations: 1.264 MB / 0.826 GB, free: 80.78 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001004/2.329, allocations: 1.25 kB / 0.826 GB, free: 80.78 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0009168/2.33, allocations: 0.776 MB / 0.8268 GB, free: 80.45 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006183/2.336, allocations: 2.86 MB / 0.8296 GB, free: 80.42 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009854/2.346, allocations: 9.634 MB / 0.839 GB, free: 71.61 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009872/2.356, allocations: 5.156 MB / 0.844 GB, free: 71.54 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002172/2.356, allocations: 70.5 kB / 0.8441 GB, free: 71.54 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1444) (initialization): time 0.02646/2.383, allocations: 10.85 MB / 0.8547 GB, free: 71.18 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001978/2.383, allocations: 108.4 kB / 0.8548 GB, free: 71.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002821/2.383, allocations: 246.8 kB / 0.855 GB, free: 71.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003935/2.384, allocations: 358.6 kB / 0.8554 GB, free: 71.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01166/2.395, allocations: 2.713 MB / 0.858 GB, free: 70.97 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003662/2.396, allocations: 481.5 kB / 0.8585 GB, free: 70.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01137/2.407, allocations: 0.4942 MB / 0.859 GB, free: 70.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002135/2.409, allocations: 0.6654 MB / 0.8596 GB, free: 70.84 MB / 0.4948 GB 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.002164/2.411, allocations: 0.7045 MB / 0.8603 GB, free: 70.34 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001388/2.413, allocations: 0.6218 MB / 0.8609 GB, free: 70 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007861/2.421, allocations: 3.566 MB / 0.8644 GB, free: 69.79 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.116e-05/2.421, allocations: 35.75 kB / 0.8644 GB, free: 69.79 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.827e-05/2.421, allocations: 3.953 kB / 0.8644 GB, free: 69.79 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.64e-05/2.421, allocations: 20.97 kB / 0.8644 GB, free: 69.79 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07689/2.498, allocations: 45.7 MB / 0.9091 GB, free: 61.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001354/2.498, allocations: 70.27 kB / 0.9091 GB, free: 61.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00366/2.502, allocations: 0.7012 MB / 0.9098 GB, free: 61.49 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001158/2.502, allocations: 100 kB / 0.9099 GB, free: 61.49 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000558/2.502, allocations: 107.5 kB / 0.91 GB, free: 61.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.548e-05/2.502, allocations: 135 kB / 0.9101 GB, free: 61.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.533e-05/2.503, allocations: 107.8 kB / 0.9103 GB, free: 61.43 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01153/2.514, allocations: 18.98 MB / 0.9288 GB, free: 41.53 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002235/2.516, allocations: 0.7236 MB / 0.9295 GB, free: 41.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001819/2.518, allocations: 98.58 kB / 0.9296 GB, free: 41.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005522/2.524, allocations: 217.7 kB / 0.9298 GB, free: 41.04 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001033/2.525, allocations: 457.8 kB / 0.9302 GB, free: 40.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004498/2.525, allocations: 195.1 kB / 0.9304 GB, free: 40.82 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.008642/2.534, allocations: 3.779 MB / 0.9341 GB, free: 39.22 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.035e-06/2.534, allocations: 3.609 kB / 0.9341 GB, free: 39.22 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01295/2.547, allocations: 1.603 MB / 0.9357 GB, free: 37.62 MB / 0.4948 GB 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.001087/2.548, allocations: 275.1 kB / 0.9359 GB, free: 37.35 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01243/2.561, allocations: 6.804 MB / 0.9426 GB, free: 31.22 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.643e-05/2.561, allocations: 12 kB / 0.9426 GB, free: 31.21 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003439/2.564, allocations: 1.869 MB / 0.9444 GB, free: 29.57 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00575/2.57, allocations: 0.8121 MB / 0.9452 GB, free: 28.88 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04097/2.611, allocations: 18.67 MB / 0.9634 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01553/2.626, allocations: 7.102 MB / 0.9704 GB, free: 6.066 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00225/2.629, allocations: 0.5473 MB / 0.9709 GB, free: 5.555 MB / 0.4948 GB Notification: Performance of SimCode: time 1.959e-06/2.629, allocations: 0 / 0.9709 GB, free: 5.555 MB / 0.4948 GB Notification: Performance of Templates: time 0.4949/3.124, allocations: 110.1 MB / 1.078 GB, free: 69.46 MB / 0.5105 GB