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.CutForceAndTorque2.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.CutForceAndTorque2,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.CutForceAndTorque2") Notification: Performance of loadModel(ModelicaTest): time 2.141/2.141, allocations: 234.9 MB / 250.5 MB, free: 9.68 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004391/0.0004393, allocations: 8 kB / 314.3 MB, free: 9.711 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2969/0.2973, allocations: 54.87 MB / 369.2 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2): time 0.1996/0.497, allocations: 109.3 MB / 478.5 MB, free: 15.22 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0667/0.5638, allocations: 23.86 MB / 0.4905 GB, free: 7.285 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02088/0.5847, allocations: 0.5301 MB / 0.4911 GB, free: 6.754 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01698/0.6017, allocations: 5.662 MB / 0.4966 GB, free: 1.066 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.3987/1, allocations: 15.51 MB / 0.5117 GB, free: 4.934 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006942/1.007, allocations: 1.397 MB / 0.5131 GB, free: 4.918 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.01055/1.018, allocations: 5.434 MB / 0.5184 GB, free: 4.859 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01806/1.036, allocations: 11.38 MB / 0.5295 GB, free: 2.707 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005028/1.041, allocations: 2.51 MB / 0.532 GB, free: 2.25 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00535/1.047, allocations: 3.319 MB / 0.5352 GB, free: 1.488 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002193/1.049, allocations: 380 kB / 0.5356 GB, free: 1.488 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004045/1.053, allocations: 1.022 MB / 0.5366 GB, free: 1.297 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005187/1.058, allocations: 3.912 MB / 0.5404 GB, free: 496 kB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003262/1.061, allocations: 1.967 MB / 0.5423 GB, free: 460 kB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01886/1.08, allocations: 13.11 MB / 0.5551 GB, free: 9.152 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.072e-06/1.08, allocations: 2.078 kB / 0.5551 GB, free: 9.152 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.133e-06/1.08, allocations: 2.219 kB / 0.5551 GB, free: 9.152 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004768/1.081, allocations: 4 kB / 0.5551 GB, free: 9.148 MB / 442.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.02486/1.106, allocations: 9.613 MB / 0.5645 GB, free: 444 kB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/1.106, allocations: 8.031 kB / 0.5645 GB, free: 436 kB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01904/1.125, allocations: 3.48 MB / 0.5679 GB, free: 13.08 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01592/1.141, allocations: 6.395 MB / 0.5742 GB, free: 8.414 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007191/1.142, allocations: 0.5894 MB / 0.5747 GB, free: 8.086 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003027/1.145, allocations: 0.7608 MB / 0.5755 GB, free: 7.59 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06018/1.205, allocations: 24.69 MB / 0.5996 GB, free: 4.66 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003715/1.205, allocations: 86.81 kB / 0.5997 GB, free: 4.613 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002461/1.208, allocations: 366.9 kB / 0.6 GB, free: 4.512 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009439/1.217, allocations: 4.534 MB / 0.6044 GB, free: 0.8164 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05461/1.272, allocations: 19.39 MB / 0.6234 GB, free: 3.348 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4371/1.709, allocations: 85.94 MB / 0.7073 GB, free: 200.7 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0279/1.737, allocations: 7.828 MB / 0.715 GB, free: 200 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02975/1.767, allocations: 13.29 MB / 0.7279 GB, free: 196.9 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.514e-05/1.767, allocations: 78.64 kB / 0.728 GB, free: 196.9 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=336): time 8.286e-06/1.767, allocations: 0 / 0.728 GB, free: 196.9 MB / 0.5417 GB Notification: Performance of matching and sorting (n=360): time 0.07287/1.84, allocations: 21.07 MB / 0.7486 GB, free: 189.3 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.318e-05/1.84, allocations: 177.8 kB / 0.7488 GB, free: 189.1 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01451/1.854, allocations: 7.826 MB / 0.7564 GB, free: 185 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0005481/1.855, allocations: 83.42 kB / 0.7565 GB, free: 184.9 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.004293/1.859, allocations: 6.531 MB / 0.7629 GB, free: 178.4 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001443/1.861, allocations: 1.356 MB / 0.7642 GB, free: 177.1 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007942/1.862, allocations: 219.8 kB / 0.7644 GB, free: 176.9 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0006267/1.862, allocations: 0.7735 MB / 0.7651 GB, free: 176.1 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00701/1.869, allocations: 3.23 MB / 0.7683 GB, free: 172.9 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01013/1.879, allocations: 9.816 MB / 0.7779 GB, free: 160.1 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01019/1.89, allocations: 5.432 MB / 0.7832 GB, free: 155 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001749/1.89, allocations: 71.95 kB / 0.7833 GB, free: 155 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1438) (initialization): time 0.02698/1.917, allocations: 12.48 MB / 0.7954 GB, free: 142.6 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001777/1.917, allocations: 104 kB / 0.7955 GB, free: 142.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002587/1.917, allocations: 236 kB / 0.7958 GB, free: 142.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003401/1.918, allocations: 340 kB / 0.7961 GB, free: 141.9 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01036/1.928, allocations: 2.546 MB / 0.7986 GB, free: 139.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003639/1.929, allocations: 458.2 kB / 0.799 GB, free: 138.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009747/1.938, allocations: 0.519 MB / 0.7995 GB, free: 138.4 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001742/1.94, allocations: 0.656 MB / 0.8002 GB, free: 137.8 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1060 * Number of states: 0 () * Number of discrete variables: 69 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[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 (1374): * Single equations (assignments): 1363 * Array equations: 11 * 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.009239/1.949, allocations: 4.521 MB / 0.8046 GB, free: 133.2 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001266/1.951, allocations: 0.6594 MB / 0.8052 GB, free: 132.6 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009003/1.96, allocations: 4.085 MB / 0.8092 GB, free: 128.4 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.438e-05/1.96, allocations: 43.59 kB / 0.8093 GB, free: 128.4 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.608e-05/1.96, allocations: 0 / 0.8093 GB, free: 128.4 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.263e-05/1.96, allocations: 15.94 kB / 0.8093 GB, free: 128.4 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07407/2.034, allocations: 42.07 MB / 0.8504 GB, free: 85.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002192/2.034, allocations: 88 kB / 0.8504 GB, free: 84.95 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0035/2.038, allocations: 0.8655 MB / 0.8513 GB, free: 84.09 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001282/2.038, allocations: 132.5 kB / 0.8514 GB, free: 83.96 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004495/2.038, allocations: 203.8 kB / 0.8516 GB, free: 83.76 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001156/2.038, allocations: 171.3 kB / 0.8518 GB, free: 83.59 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.34e-05/2.039, allocations: 147.4 kB / 0.8519 GB, free: 83.45 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009552/2.048, allocations: 8.014 MB / 0.8597 GB, free: 73.91 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002127/2.05, allocations: 0.8589 MB / 0.8606 GB, free: 73.03 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001322/2.052, allocations: 215.7 kB / 0.8608 GB, free: 72.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005092/2.057, allocations: 215.9 kB / 0.861 GB, free: 72.61 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008259/2.058, allocations: 0.5835 MB / 0.8616 GB, free: 72.02 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004239/2.058, allocations: 248 kB / 0.8618 GB, free: 71.78 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.009557/2.068, allocations: 4.928 MB / 0.8666 GB, free: 66.89 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.224e-06/2.068, allocations: 0 / 0.8666 GB, free: 66.89 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01261/2.08, allocations: 1.907 MB / 0.8685 GB, free: 64.99 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 413 * 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 (455): * Single equations (assignments): 452 * 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.001282/2.082, allocations: 438.2 kB / 0.8689 GB, free: 64.56 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01469/2.096, allocations: 7.637 MB / 0.8763 GB, free: 56.97 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.816e-05/2.096, allocations: 12 kB / 0.8764 GB, free: 56.96 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004417/2.101, allocations: 2.208 MB / 0.8785 GB, free: 54.77 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007443/2.108, allocations: 1.078 MB / 0.8796 GB, free: 53.7 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4435/2.552, allocations: 27.66 MB / 0.9066 GB, free: 207.8 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01563/2.568, allocations: 7.163 MB / 0.9136 GB, free: 206.8 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002184/2.57, allocations: 0.5937 MB / 0.9141 GB, free: 206.8 MB / 0.5417 GB Notification: Performance of SimCode: time 1.973e-06/2.57, allocations: 0 / 0.9141 GB, free: 206.8 MB / 0.5417 GB Notification: Performance of Templates: time 0.1689/2.739, allocations: 114.1 MB / 1.026 GB, free: 114.6 MB / 0.5417 GB