Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") Notification: Performance of loadModel(ModelicaTest): time 1.914/1.914, allocations: 209.3 MB / 222.4 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.732e-05/2.748e-05, allocations: 4 kB / 277.8 MB, free: 15.32 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09166/0.09171, allocations: 48.7 MB / 326.5 MB, free: 14.52 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4024/0.4942, allocations: 92.41 MB / 419 MB, free: 15.37 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002347/0.4945, allocations: 83.94 kB / 419 MB, free: 15.32 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2477/0.7422, allocations: 66.4 MB / 485.4 MB, free: 3.984 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.177e-06/0.7423, allocations: 0 / 485.4 MB, free: 3.984 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001595/0.7425, allocations: 68 kB / 485.5 MB, free: 3.918 MB / 378.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.01006/0.7525, allocations: 3.129 MB / 488.6 MB, free: 0.7305 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.7526, allocations: 8.031 kB / 488.6 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01131/0.7639, allocations: 1.941 MB / 490.6 MB, free: 14.77 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006315/0.7703, allocations: 2.036 MB / 492.6 MB, free: 12.69 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004228/0.7707, allocations: 283.3 kB / 492.9 MB, free: 12.41 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001707/0.7725, allocations: 363.9 kB / 493.2 MB, free: 12.06 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02319/0.7957, allocations: 8.06 MB / 0.4896 GB, free: 3.605 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001226/0.7959, allocations: 23.81 kB / 0.4896 GB, free: 3.582 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001394/0.7973, allocations: 163.9 kB / 0.4897 GB, free: 3.422 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001643/0.7989, allocations: 0.8065 MB / 0.4905 GB, free: 2.613 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01893/0.8179, allocations: 6.905 MB / 0.4973 GB, free: 11.7 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.287/1.105, allocations: 27.51 MB / 0.5241 GB, free: 100.6 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007424/1.112, allocations: 2.509 MB / 0.5266 GB, free: 99.94 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0018/1.114, allocations: 0.9565 MB / 0.5275 GB, free: 99.92 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01065/1.125, allocations: 4.486 MB / 0.5319 GB, free: 98.93 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/1.125, allocations: 39.66 kB / 0.5319 GB, free: 98.89 MB / 426.7 MB Notification: Performance of pre-optimization done (n=120): time 5.601e-06/1.125, allocations: 1.562 kB / 0.5319 GB, free: 98.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=120): time 0.008453/1.134, allocations: 2.11 MB / 0.534 GB, free: 98.82 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/1.134, allocations: 65.78 kB / 0.5341 GB, free: 98.75 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003714/1.137, allocations: 1.953 MB / 0.536 GB, free: 98.48 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000172/1.138, allocations: 39.02 kB / 0.536 GB, free: 98.45 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001514/1.139, allocations: 2.307 MB / 0.5383 GB, free: 97.34 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000536/1.14, allocations: 461.5 kB / 0.5387 GB, free: 97.08 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002066/1.14, allocations: 73.09 kB / 0.5388 GB, free: 97.08 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002744/1.14, allocations: 472.4 kB / 0.5392 GB, free: 96.76 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002117/1.142, allocations: 1.041 MB / 0.5402 GB, free: 96.75 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003408/1.146, allocations: 3.164 MB / 0.5433 GB, free: 94.03 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003632/1.149, allocations: 1.846 MB / 0.5451 GB, free: 94 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.916e-05/1.149, allocations: 19.81 kB / 0.5451 GB, free: 94 MB / 426.7 MB Notification: Performance of matching and sorting (n=468) (initialization): time 0.009601/1.159, allocations: 4.073 MB / 0.5491 GB, free: 93.84 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.378e-05/1.159, allocations: 36.75 kB / 0.5492 GB, free: 93.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.866e-05/1.159, allocations: 75.12 kB / 0.5492 GB, free: 93.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000142/1.159, allocations: 111.5 kB / 0.5493 GB, free: 93.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003496/1.163, allocations: 0.812 MB / 0.5501 GB, free: 93.76 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001554/1.163, allocations: 151.7 kB / 0.5503 GB, free: 93.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00337/1.167, allocations: 495.4 kB / 0.5507 GB, free: 93.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006102/1.167, allocations: 218.4 kB / 0.551 GB, free: 93.48 MB / 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 () * 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.0006261/1.168, allocations: 388.3 kB / 0.5513 GB, free: 93.24 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003264/1.168, allocations: 194.2 kB / 0.5515 GB, free: 93.14 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003037/1.171, allocations: 1.475 MB / 0.553 GB, free: 93.05 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-05/1.171, allocations: 13.03 kB / 0.553 GB, free: 93.05 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.258e-06/1.171, allocations: 7.25 kB / 0.553 GB, free: 93.05 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.341e-05/1.171, allocations: 3.281 kB / 0.553 GB, free: 93.05 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0151/1.186, allocations: 7.35 MB / 0.5602 GB, free: 91.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-05/1.187, allocations: 13.66 kB / 0.5602 GB, free: 91.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009697/1.188, allocations: 195.5 kB / 0.5604 GB, free: 91.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-05/1.188, allocations: 22.92 kB / 0.5604 GB, free: 91.96 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001031/1.188, allocations: 39.09 kB / 0.5604 GB, free: 91.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.251e-05/1.188, allocations: 26.61 kB / 0.5604 GB, free: 91.96 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.78e-05/1.188, allocations: 28.38 kB / 0.5605 GB, free: 91.95 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002927/1.191, allocations: 3.134 MB / 0.5635 GB, free: 89.61 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000651/1.191, allocations: 330.4 kB / 0.5638 GB, free: 89.38 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003643/1.192, allocations: 37.64 kB / 0.5639 GB, free: 89.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001209/1.193, allocations: 56.86 kB / 0.5639 GB, free: 89.37 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001782/1.193, allocations: 110.5 kB / 0.564 GB, free: 89.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001264/1.193, allocations: 58.3 kB / 0.5641 GB, free: 89.34 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002786/1.196, allocations: 1.518 MB / 0.5656 GB, free: 89.09 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.038e-06/1.196, allocations: 0 / 0.5656 GB, free: 89.09 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004446/1.201, allocations: 0.928 MB / 0.5665 GB, free: 88.8 MB / 426.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 () * 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.0004332/1.201, allocations: 168 kB / 0.5666 GB, free: 88.67 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004784/1.206, allocations: 2.496 MB / 0.5691 GB, free: 87.87 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-05/1.206, allocations: 2.781 kB / 0.5691 GB, free: 87.87 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001217/1.207, allocations: 0.687 MB / 0.5697 GB, free: 87.66 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00183/1.209, allocations: 296.9 kB / 0.57 GB, free: 87.55 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0139/1.223, allocations: 6.045 MB / 0.5759 GB, free: 84.88 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004688/1.228, allocations: 2.896 MB / 0.5788 GB, free: 83.67 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007864/1.228, allocations: 192.6 kB / 0.5789 GB, free: 83.66 MB / 426.7 MB Notification: Performance of SimCode: time 1.751e-06/1.229, allocations: 0 / 0.5789 GB, free: 83.66 MB / 426.7 MB Notification: Performance of Templates: time 0.05893/1.287, allocations: 38.25 MB / 0.6163 GB, free: 62.85 MB / 426.7 MB