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.CutForceAndTorque3.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.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForceAndTorque.force.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") Notification: Performance of loadModel(ModelicaTest): time 2.097/2.097, allocations: 234.9 MB / 250.5 MB, free: 9.461 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004383/0.0004385, allocations: 12 kB / 314.4 MB, free: 9.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2768, allocations: 54.86 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1474/0.4242, allocations: 99.1 MB / 468.4 MB, free: 7.457 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002566/0.4245, allocations: 83.89 kB / 468.4 MB, free: 7.375 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.494/0.9185, allocations: 66.36 MB / 0.5223 GB, free: 49.93 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.9186, allocations: 3.938 kB / 0.5223 GB, free: 49.93 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001282/0.9187, allocations: 68 kB / 0.5223 GB, free: 49.86 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1328 * Number of variables: 1328 Notification: Performance of Generate backend data structure: time 0.008703/0.9274, allocations: 3.23 MB / 0.5255 GB, free: 46.57 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.9275, allocations: 8.031 kB / 0.5255 GB, free: 46.56 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0105/0.938, allocations: 1.941 MB / 0.5274 GB, free: 44.61 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005198/0.9432, allocations: 2.02 MB / 0.5294 GB, free: 42.54 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003184/0.9436, allocations: 299.3 kB / 0.5297 GB, free: 42.25 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001622/0.9452, allocations: 363.9 kB / 0.53 GB, free: 41.89 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01853/0.9638, allocations: 8.131 MB / 0.5379 GB, free: 33.38 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.966e-05/0.9639, allocations: 19.81 kB / 0.538 GB, free: 33.36 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007524/0.9647, allocations: 163.9 kB / 0.5381 GB, free: 33.2 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001167/0.9659, allocations: 0.8105 MB / 0.5389 GB, free: 32.38 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01541/0.9813, allocations: 7.017 MB / 0.5458 GB, free: 25.35 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03994/1.021, allocations: 27.51 MB / 0.5726 GB, free: 13.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007525/1.029, allocations: 2.552 MB / 0.5751 GB, free: 10.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01098/1.04, allocations: 4.494 MB / 0.5795 GB, free: 5.793 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.923e-05/1.04, allocations: 47.56 kB / 0.5796 GB, free: 5.738 MB / 410.7 MB Notification: Performance of pre-optimization done (n=120): time 4.693e-06/1.04, allocations: 3.938 kB / 0.5796 GB, free: 5.734 MB / 410.7 MB Notification: Performance of matching and sorting (n=120): time 0.01049/1.05, allocations: 2.979 MB / 0.5825 GB, free: 2.691 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.316e-05/1.051, allocations: 64.36 kB / 0.5825 GB, free: 2.617 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004197/1.055, allocations: 1.972 MB / 0.5845 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001927/1.055, allocations: 41.7 kB / 0.5845 GB, free: 0.5625 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003735/1.059, allocations: 2.312 MB / 0.5868 GB, free: 14.22 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001303/1.06, allocations: 470 kB / 0.5872 GB, free: 13.75 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000507/1.061, allocations: 68 kB / 0.5873 GB, free: 13.69 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007849/1.061, allocations: 470.6 kB / 0.5877 GB, free: 13.22 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005572/1.067, allocations: 1.073 MB / 0.5888 GB, free: 12.14 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009605/1.077, allocations: 3.184 MB / 0.5919 GB, free: 7.91 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01682/1.094, allocations: 1.851 MB / 0.5937 GB, free: 6.062 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001251/1.094, allocations: 20 kB / 0.5937 GB, free: 6.043 MB / 426.7 MB Notification: Performance of matching and sorting (n=468) (initialization): time 0.04228/1.136, allocations: 4.137 MB / 0.5977 GB, free: 1.898 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001522/1.136, allocations: 36 kB / 0.5978 GB, free: 1.863 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002318/1.137, allocations: 76 kB / 0.5978 GB, free: 1.789 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003353/1.137, allocations: 115.9 kB / 0.598 GB, free: 1.676 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007787/1.145, allocations: 0.8156 MB / 0.5988 GB, free: 0.8594 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003621/1.145, allocations: 147.4 kB / 0.5989 GB, free: 0.7148 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007708/1.153, allocations: 482.9 kB / 0.5994 GB, free: 244 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001247/1.154, allocations: 220 kB / 0.5996 GB, free: 24 kB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 342 * Number of states: 0 () * Number of discrete variables: 27 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.forceColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0084/1.163, allocations: 1.702 MB / 0.6012 GB, free: 14.31 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009048/1.164, allocations: 189.5 kB / 0.6014 GB, free: 14.12 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006706/1.17, allocations: 1.514 MB / 0.6029 GB, free: 12.6 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.478e-05/1.17, allocations: 20 kB / 0.6029 GB, free: 12.58 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.297e-06/1.17, allocations: 0 / 0.6029 GB, free: 12.58 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.547e-05/1.17, allocations: 3.984 kB / 0.6029 GB, free: 12.57 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01812/1.189, allocations: 7.38 MB / 0.6101 GB, free: 4.922 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-05/1.189, allocations: 16 kB / 0.6101 GB, free: 4.906 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/1.19, allocations: 192.5 kB / 0.6103 GB, free: 4.719 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.013e-05/1.19, allocations: 20 kB / 0.6103 GB, free: 4.699 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001192/1.19, allocations: 43.98 kB / 0.6104 GB, free: 4.656 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.625e-05/1.19, allocations: 27.88 kB / 0.6104 GB, free: 4.629 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.989e-05/1.19, allocations: 19.94 kB / 0.6104 GB, free: 4.609 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004601/1.195, allocations: 3.177 MB / 0.6135 GB, free: 0.7812 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007838/1.195, allocations: 326 kB / 0.6138 GB, free: 452 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003751/1.196, allocations: 43.97 kB / 0.6139 GB, free: 408 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001121/1.197, allocations: 47.88 kB / 0.6139 GB, free: 360 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002149/1.197, allocations: 111.6 kB / 0.614 GB, free: 248 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000157/1.197, allocations: 55.98 kB / 0.6141 GB, free: 192 kB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003488/1.201, allocations: 1.538 MB / 0.6156 GB, free: 14.63 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.316e-06/1.201, allocations: 0 / 0.6156 GB, free: 14.63 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004745/1.206, allocations: 0.9213 MB / 0.6165 GB, free: 13.7 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 64 * 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 (98): * Single equations (assignments): 95 * 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.0005256/1.206, allocations: 178.7 kB / 0.6167 GB, free: 13.52 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006446/1.213, allocations: 2.547 MB / 0.6191 GB, free: 11 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.568e-05/1.213, allocations: 4 kB / 0.6191 GB, free: 10.99 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001585/1.214, allocations: 0.6948 MB / 0.6198 GB, free: 10.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001752/1.216, allocations: 287.5 kB / 0.6201 GB, free: 10.02 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02018/1.236, allocations: 8.771 MB / 0.6287 GB, free: 1.02 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007271/1.244, allocations: 2.891 MB / 0.6315 GB, free: 14.1 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000843/1.244, allocations: 195.4 kB / 0.6317 GB, free: 13.91 MB / 474.7 MB Notification: Performance of SimCode: time 4.214e-06/1.244, allocations: 0 / 0.6317 GB, free: 13.91 MB / 474.7 MB Notification: Performance of Templates: time 0.3361/1.581, allocations: 38.24 MB / 0.669 GB, free: 125.3 MB / 474.7 MB