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/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.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.218/2.218, allocations: 234.9 MB / 250.5 MB, free: 9.461 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004424/0.0004425, allocations: 16 kB / 314.4 MB, free: 9.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.293, allocations: 54.86 MB / 369.3 MB, free: 12.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1509/0.444, allocations: 100.9 MB / 470.2 MB, free: 7.672 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002652/0.4444, allocations: 79.95 kB / 470.3 MB, free: 7.594 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9268/1.371, allocations: 200.4 MB / 0.655 GB, free: 7.426 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.975e-06/1.371, allocations: 0 / 0.655 GB, free: 7.426 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004984/1.372, allocations: 195.9 kB / 0.6552 GB, free: 7.234 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.03324/1.405, allocations: 9.996 MB / 0.6649 GB, free: 13.14 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/1.405, allocations: 8.031 kB / 0.6649 GB, free: 13.13 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02696/1.432, allocations: 4.03 MB / 0.6689 GB, free: 9.078 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6354/2.067, allocations: 10.61 MB / 0.6792 GB, free: 58.34 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001444/2.069, allocations: 0.7936 MB / 0.68 GB, free: 58.31 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00656/2.076, allocations: 1.037 MB / 0.681 GB, free: 58.31 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07167/2.147, allocations: 24.4 MB / 0.7049 GB, free: 53.87 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005378/2.148, allocations: 102.3 kB / 0.7049 GB, free: 53.87 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004368/2.152, allocations: 496.9 kB / 0.7054 GB, free: 53.87 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004268/2.157, allocations: 2.272 MB / 0.7076 GB, free: 53.84 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05006/2.207, allocations: 19.52 MB / 0.7267 GB, free: 53.76 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1334/2.34, allocations: 94.13 MB / 0.8186 GB, free: 9.266 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0277/2.368, allocations: 7.657 MB / 0.8261 GB, free: 3.109 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03424/2.402, allocations: 13.29 MB / 0.8391 GB, free: 8.012 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.232e-05/2.402, allocations: 79.41 kB / 0.8392 GB, free: 7.93 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=336): time 8.213e-06/2.402, allocations: 0 / 0.8392 GB, free: 7.93 MB / 0.4949 GB Notification: Performance of matching and sorting (n=360): time 0.07985/2.482, allocations: 20.93 MB / 0.8596 GB, free: 6.559 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001283/2.482, allocations: 162.9 kB / 0.8598 GB, free: 6.367 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01742/2.5, allocations: 6.587 MB / 0.8662 GB, free: 0.8945 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006621/2.5, allocations: 87.98 kB / 0.8663 GB, free: 0.8086 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.319/2.819, allocations: 6.567 MB / 0.8727 GB, free: 99.34 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00162/2.821, allocations: 1.361 MB / 0.874 GB, free: 98.56 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009469/2.822, allocations: 215.1 kB / 0.8742 GB, free: 98.56 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006871/2.823, allocations: 0.7612 MB / 0.875 GB, free: 98.23 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007798/2.831, allocations: 3.221 MB / 0.8781 GB, free: 98.21 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01119/2.842, allocations: 9.695 MB / 0.8876 GB, free: 89.84 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01064/2.853, allocations: 5.393 MB / 0.8929 GB, free: 89.78 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000186/2.853, allocations: 70.91 kB / 0.8929 GB, free: 89.78 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1390) (initialization): time 0.02815/2.881, allocations: 12.38 MB / 0.905 GB, free: 89.06 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001597/2.881, allocations: 99.88 kB / 0.9051 GB, free: 89.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002457/2.881, allocations: 233.3 kB / 0.9053 GB, free: 89.06 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003568/2.882, allocations: 339.7 kB / 0.9057 GB, free: 89.06 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01072/2.892, allocations: 2.616 MB / 0.9082 GB, free: 88.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003801/2.893, allocations: 453.7 kB / 0.9086 GB, free: 88.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0107/2.904, allocations: 0.6846 MB / 0.9093 GB, free: 88.73 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001667/2.905, allocations: 0.6369 MB / 0.9099 GB, free: 88.73 MB / 0.5105 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.0103/2.916, allocations: 4.517 MB / 0.9143 GB, free: 88.23 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001281/2.917, allocations: 0.6649 MB / 0.915 GB, free: 87.86 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009923/2.927, allocations: 4.098 MB / 0.919 GB, free: 87.65 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-05/2.927, allocations: 47.52 kB / 0.919 GB, free: 87.64 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-05/2.927, allocations: 0 / 0.919 GB, free: 87.64 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.828e-05/2.927, allocations: 20.53 kB / 0.9191 GB, free: 87.64 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08499/3.012, allocations: 50.12 MB / 0.968 GB, free: 74.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002131/3.012, allocations: 72 kB / 0.9681 GB, free: 74.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003653/3.016, allocations: 0.74 MB / 0.9688 GB, free: 74.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001107/3.016, allocations: 104 kB / 0.9689 GB, free: 73.96 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005463/3.017, allocations: 170.7 kB / 0.9691 GB, free: 73.81 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.9e-05/3.017, allocations: 151.8 kB / 0.9692 GB, free: 73.69 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.849e-05/3.017, allocations: 115.5 kB / 0.9693 GB, free: 73.57 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01248/3.029, allocations: 21.47 MB / 0.9903 GB, free: 49.63 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002248/3.032, allocations: 0.7992 MB / 0.9911 GB, free: 48.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001607/3.033, allocations: 168.9 kB / 0.9912 GB, free: 48.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00541/3.039, allocations: 277 kB / 0.9915 GB, free: 48.48 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009682/3.04, allocations: 491.1 kB / 0.992 GB, free: 48.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004629/3.04, allocations: 207 kB / 0.9922 GB, free: 47.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01089/3.051, allocations: 4.648 MB / 0.9967 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.145e-06/3.051, allocations: 0 / 0.9967 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.02258/3.074, allocations: 1.871 MB / 0.9985 GB, free: 42.28 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.002228/3.076, allocations: 374.8 kB / 0.9989 GB, free: 41.92 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.06167/3.138, allocations: 7.566 MB / 1.006 GB, free: 35.34 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 0.0001205/3.138, allocations: 15.94 kB / 1.006 GB, free: 35.32 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.009441/3.147, allocations: 2.122 MB / 1.008 GB, free: 33.51 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01456/3.162, allocations: 1.019 MB / 1.009 GB, free: 32.64 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05425/3.216, allocations: 26.94 MB / 1.036 GB, free: 6.797 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01774/3.234, allocations: 7.13 MB / 1.043 GB, free: 1.617 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002477/3.237, allocations: 0.5683 MB / 1.043 GB, free: 1.082 MB / 0.5105 GB Notification: Performance of SimCode: time 2.446e-06/3.237, allocations: 2.953 kB / 1.043 GB, free: 1.082 MB / 0.5105 GB Notification: Performance of Templates: time 0.5046/3.741, allocations: 114.7 MB / 1.155 GB, free: 76.84 MB / 0.5262 GB