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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.245/2.245, allocations: 235.1 MB / 243 MB, free: 9.504 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.193e-05/2.197e-05, allocations: 7.984 kB / 303.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2774, allocations: 54.85 MB / 358 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1554/0.4328, allocations: 100.2 MB / 458.2 MB, free: 10.65 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/0.4331, allocations: 75.95 kB / 458.3 MB, free: 10.57 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.182/1.615, allocations: 194.7 MB / 0.6376 GB, free: 46.68 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.296e-06/1.615, allocations: 0 / 0.6376 GB, free: 46.68 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004338/1.615, allocations: 200.8 kB / 0.6378 GB, free: 46.68 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.02889/1.644, allocations: 9.413 MB / 0.647 GB, free: 43.26 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/1.644, allocations: 13.84 kB / 0.647 GB, free: 43.26 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02704/1.671, allocations: 4.031 MB / 0.651 GB, free: 42.57 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02931/1.701, allocations: 10.55 MB / 0.6613 GB, free: 41.48 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006492/1.701, allocations: 344.1 kB / 0.6616 GB, free: 41.48 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004219/1.706, allocations: 0.6122 MB / 0.6622 GB, free: 41.48 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03155/1.737, allocations: 14.54 MB / 0.6764 GB, free: 41.43 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04742/1.785, allocations: 20.74 MB / 0.6967 GB, free: 37.03 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004597/1.785, allocations: 89.91 kB / 0.6967 GB, free: 37.02 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003301/1.789, allocations: 56.86 kB / 0.6968 GB, free: 37.02 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004284/1.793, allocations: 2.268 MB / 0.699 GB, free: 37 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1398/1.933, allocations: 93.81 MB / 0.7906 GB, free: 1.934 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0126/1.945, allocations: 4.365 MB / 0.7949 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00415/1.949, allocations: 1.929 MB / 0.7968 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002098/1.95, allocations: 63.72 kB / 0.7968 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.577e-05/1.95, allocations: 72.64 kB / 0.7969 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=330): time 8.502e-06/1.95, allocations: 0 / 0.7969 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=342): time 0.3443/2.294, allocations: 15.1 MB / 0.8116 GB, free: 85.55 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.087e-05/2.294, allocations: 166.2 kB / 0.8118 GB, free: 85.39 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01236/2.307, allocations: 5.661 MB / 0.8173 GB, free: 85.05 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005405/2.307, allocations: 27.48 kB / 0.8173 GB, free: 85.02 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004232/2.312, allocations: 6.774 MB / 0.824 GB, free: 82.85 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001447/2.313, allocations: 1.265 MB / 0.8252 GB, free: 82.23 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008711/2.314, allocations: 0 / 0.8252 GB, free: 82.23 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0007303/2.315, allocations: 0.7845 MB / 0.826 GB, free: 81.89 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005816/2.32, allocations: 2.857 MB / 0.8288 GB, free: 81.87 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009525/2.33, allocations: 9.633 MB / 0.8382 GB, free: 73.05 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01578/2.346, allocations: 5.152 MB / 0.8432 GB, free: 72.99 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003931/2.346, allocations: 71.94 kB / 0.8433 GB, free: 72.99 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1444) (initialization): time 0.04168/2.388, allocations: 10.85 MB / 0.8539 GB, free: 72.63 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000353/2.388, allocations: 110.6 kB / 0.854 GB, free: 72.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005068/2.389, allocations: 246.5 kB / 0.8542 GB, free: 72.63 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007695/2.39, allocations: 359.6 kB / 0.8545 GB, free: 72.63 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01941/2.409, allocations: 2.706 MB / 0.8572 GB, free: 72.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006244/2.41, allocations: 480.9 kB / 0.8576 GB, free: 72.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01871/2.429, allocations: 496.3 kB / 0.8581 GB, free: 72.33 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00252/2.431, allocations: 0.6694 MB / 0.8588 GB, free: 72.33 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1112 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1420): * Single equations (assignments): 1417 * 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.00258/2.434, allocations: 0.7054 MB / 0.8595 GB, free: 71.82 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001712/2.435, allocations: 0.6176 MB / 0.8601 GB, free: 71.48 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01171/2.447, allocations: 3.565 MB / 0.8635 GB, free: 71.27 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-05/2.447, allocations: 34.88 kB / 0.8636 GB, free: 71.27 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.24e-05/2.447, allocations: 1.219 kB / 0.8636 GB, free: 71.27 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.137e-05/2.447, allocations: 21.91 kB / 0.8636 GB, free: 71.27 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08881/2.536, allocations: 36.91 MB / 0.8996 GB, free: 65.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002258/2.537, allocations: 87.38 kB / 0.8997 GB, free: 65.98 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00528/2.542, allocations: 0.8093 MB / 0.9005 GB, free: 65.88 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002152/2.542, allocations: 118.9 kB / 0.9006 GB, free: 65.88 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006522/2.543, allocations: 128 kB / 0.9008 GB, free: 65.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001844/2.543, allocations: 162.9 kB / 0.9009 GB, free: 65.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001244/2.543, allocations: 131.7 kB / 0.901 GB, free: 65.8 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01422/2.557, allocations: 22.44 MB / 0.923 GB, free: 41.54 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002084/2.56, allocations: 0.7742 MB / 0.9237 GB, free: 41.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001344/2.561, allocations: 123.2 kB / 0.9238 GB, free: 41.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005666/2.567, allocations: 198.9 kB / 0.924 GB, free: 41.04 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00106/2.568, allocations: 0.5394 MB / 0.9245 GB, free: 40.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004576/2.568, allocations: 229 kB / 0.9248 GB, free: 40.77 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.008707/2.577, allocations: 3.774 MB / 0.9284 GB, free: 39.43 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.61e-06/2.577, allocations: 0 / 0.9284 GB, free: 39.43 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01292/2.59, allocations: 1.593 MB / 0.93 GB, free: 39.43 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 378 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (426): * Single equations (assignments): 423 * 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.0009007/2.591, allocations: 308.7 kB / 0.9303 GB, free: 39.18 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01251/2.603, allocations: 6.742 MB / 0.9369 GB, free: 35.24 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.402e-05/2.603, allocations: 12 kB / 0.9369 GB, free: 35.23 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003401/2.607, allocations: 1.893 MB / 0.9387 GB, free: 33.54 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005709/2.613, allocations: 0.8475 MB / 0.9396 GB, free: 32.82 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03893/2.652, allocations: 19.13 MB / 0.9582 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01483/2.666, allocations: 7.127 MB / 0.9652 GB, free: 9.277 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002065/2.668, allocations: 0.558 MB / 0.9658 GB, free: 8.746 MB / 0.4948 GB Notification: Performance of SimCode: time 2.005e-06/2.669, allocations: 0 / 0.9658 GB, free: 8.746 MB / 0.4948 GB Notification: Performance of Templates: time 0.5403/3.209, allocations: 110.7 MB / 1.074 GB, free: 73.6 MB / 0.5105 GB