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.188/2.188, allocations: 234.9 MB / 250.5 MB, free: 10.46 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004285/0.0004287, allocations: 12 kB / 314.3 MB, free: 10.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2778/0.2783, allocations: 54.88 MB / 369.2 MB, free: 10.83 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1): time 0.44/0.7184, allocations: 109.3 MB / 478.5 MB, free: 180 kB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.05374/0.7722, allocations: 23.86 MB / 0.4905 GB, free: 15.71 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02411/0.7963, allocations: 0.5293 MB / 0.4911 GB, free: 15.71 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01768/0.814, allocations: 5.665 MB / 0.4966 GB, free: 13.11 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05092/0.865, allocations: 15.51 MB / 0.5117 GB, free: 8.41 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007287/0.8723, allocations: 1.397 MB / 0.5131 GB, free: 8.039 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01101/0.8834, allocations: 5.436 MB / 0.5184 GB, free: 6.809 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02051/0.9039, allocations: 11.39 MB / 0.5295 GB, free: 1.352 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005979/0.9099, allocations: 2.508 MB / 0.532 GB, free: 15.34 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006398/0.9164, allocations: 3.324 MB / 0.5352 GB, free: 12.62 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002222/0.9187, allocations: 376 kB / 0.5356 GB, free: 12.25 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004169/0.9229, allocations: 1.021 MB / 0.5366 GB, free: 11.38 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006208/0.9291, allocations: 3.915 MB / 0.5404 GB, free: 8.234 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003514/0.9327, allocations: 1.958 MB / 0.5423 GB, free: 7.191 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01961/0.9523, allocations: 13.13 MB / 0.5551 GB, free: 11.8 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.249e-06/0.9524, allocations: 0 / 0.5551 GB, free: 11.8 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.9524, allocations: 0 / 0.5551 GB, free: 11.8 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003741/0.9528, allocations: 0 / 0.5551 GB, free: 11.8 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.02406/0.9768, allocations: 9.603 MB / 0.5645 GB, free: 2.949 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.9769, allocations: 8.031 kB / 0.5645 GB, free: 2.941 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01861/0.9955, allocations: 3.483 MB / 0.5679 GB, free: 15.59 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01558/1.011, allocations: 6.394 MB / 0.5742 GB, free: 10.58 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007701/1.012, allocations: 0.5901 MB / 0.5747 GB, free: 10.25 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002845/1.015, allocations: 0.7742 MB / 0.5755 GB, free: 9.746 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06025/1.075, allocations: 24.68 MB / 0.5996 GB, free: 4.707 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003582/1.076, allocations: 83.27 kB / 0.5997 GB, free: 4.625 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002451/1.078, allocations: 364.7 kB / 0.6 GB, free: 4.355 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0095/1.088, allocations: 4.546 MB / 0.6045 GB, free: 15.83 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05594/1.144, allocations: 19.38 MB / 0.6234 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7644/1.908, allocations: 85.92 MB / 0.7073 GB, free: 159.2 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02898/1.937, allocations: 7.782 MB / 0.7149 GB, free: 157.7 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02897/1.966, allocations: 13.29 MB / 0.7279 GB, free: 150.5 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.87e-05/1.966, allocations: 72.44 kB / 0.7279 GB, free: 150.4 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=336): time 7.69e-06/1.966, allocations: 0 / 0.7279 GB, free: 150.4 MB / 0.5262 GB Notification: Performance of matching and sorting (n=360): time 0.07102/2.037, allocations: 21.08 MB / 0.7485 GB, free: 134.2 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.573e-05/2.037, allocations: 166.4 kB / 0.7487 GB, free: 134 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01355/2.051, allocations: 7.819 MB / 0.7563 GB, free: 126.2 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.0005211/2.051, allocations: 81.38 kB / 0.7564 GB, free: 126.1 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.004095/2.055, allocations: 6.534 MB / 0.7628 GB, free: 119.6 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001463/2.057, allocations: 1.36 MB / 0.7641 GB, free: 118.3 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008732/2.058, allocations: 216 kB / 0.7643 GB, free: 118.1 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.0006905/2.059, allocations: 0.7777 MB / 0.7651 GB, free: 117.3 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007091/2.066, allocations: 3.232 MB / 0.7682 GB, free: 114 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01051/2.076, allocations: 9.819 MB / 0.7778 GB, free: 101.2 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01023/2.086, allocations: 5.43 MB / 0.7831 GB, free: 95.77 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001844/2.087, allocations: 68 kB / 0.7832 GB, free: 95.7 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1438) (initialization): time 0.0274/2.114, allocations: 12.49 MB / 0.7954 GB, free: 83.17 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.000188/2.114, allocations: 104 kB / 0.7955 GB, free: 83.07 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002645/2.115, allocations: 232.5 kB / 0.7957 GB, free: 82.84 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003414/2.115, allocations: 344 kB / 0.796 GB, free: 82.5 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01026/2.125, allocations: 2.543 MB / 0.7985 GB, free: 79.96 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003914/2.126, allocations: 462.2 kB / 0.799 GB, free: 79.5 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009439/2.135, allocations: 0.5188 MB / 0.7995 GB, free: 78.99 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001676/2.137, allocations: 0.6561 MB / 0.8001 GB, free: 78.33 MB / 0.5262 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 (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 (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.009396/2.146, allocations: 4.525 MB / 0.8045 GB, free: 73.79 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001277/2.148, allocations: 0.6594 MB / 0.8052 GB, free: 73.12 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009464/2.157, allocations: 4.077 MB / 0.8092 GB, free: 69 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.048e-05/2.157, allocations: 36 kB / 0.8092 GB, free: 68.96 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.699e-05/2.157, allocations: 4 kB / 0.8092 GB, free: 68.96 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-05/2.157, allocations: 23.92 kB / 0.8092 GB, free: 68.94 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08971/2.247, allocations: 49.27 MB / 0.8573 GB, free: 18.64 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002177/2.247, allocations: 72 kB / 0.8574 GB, free: 18.57 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003777/2.251, allocations: 0.7485 MB / 0.8581 GB, free: 17.82 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001296/2.251, allocations: 108 kB / 0.8582 GB, free: 17.71 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007227/2.252, allocations: 172 kB / 0.8584 GB, free: 17.55 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001131/2.252, allocations: 143.4 kB / 0.8585 GB, free: 17.41 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.071e-05/2.252, allocations: 115.5 kB / 0.8587 GB, free: 17.29 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01093/2.263, allocations: 7.314 MB / 0.8658 GB, free: 8.734 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002255/2.265, allocations: 0.8162 MB / 0.8666 GB, free: 7.891 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00185/2.267, allocations: 167.9 kB / 0.8668 GB, free: 7.727 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005322/2.273, allocations: 219.9 kB / 0.867 GB, free: 7.512 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00106/2.274, allocations: 490 kB / 0.8674 GB, free: 7.031 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006686/2.274, allocations: 219.7 kB / 0.8676 GB, free: 6.82 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.01025/2.285, allocations: 4.928 MB / 0.8725 GB, free: 1.93 MB / 0.5262 GB Notification: Performance of sort global known variables: time 2.511e-06/2.285, allocations: 0 / 0.8725 GB, free: 1.93 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.01244/2.297, allocations: 1.898 MB / 0.8743 GB, free: 40 kB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 334 * 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 (380): * Single equations (assignments): 377 * 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.2871/2.584, allocations: 376.2 kB / 0.8747 GB, free: 186.8 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.01705/2.601, allocations: 7.656 MB / 0.8821 GB, free: 186 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 4.674e-05/2.601, allocations: 10.5 kB / 0.8822 GB, free: 186 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.004488/2.606, allocations: 2.141 MB / 0.8842 GB, free: 185.8 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006499/2.613, allocations: 1.019 MB / 0.8852 GB, free: 185.8 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04772/2.66, allocations: 27.1 MB / 0.9117 GB, free: 170.1 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0152/2.676, allocations: 7.127 MB / 0.9187 GB, free: 167.9 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002427/2.678, allocations: 0.5807 MB / 0.9192 GB, free: 167.6 MB / 0.5262 GB Notification: Performance of SimCode: time 2.708e-06/2.678, allocations: 0 / 0.9192 GB, free: 167.6 MB / 0.5262 GB Notification: Performance of Templates: time 0.1653/2.843, allocations: 114.1 MB / 1.031 GB, free: 55.64 MB / 0.5262 GB