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.Forces.DifferentiationOfForces.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.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") Notification: Performance of loadModel(ModelicaTest): time 1.821/1.821, allocations: 209.3 MB / 222.4 MB, free: 7.719 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.147e-05/3.167e-05, allocations: 7.984 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0864/0.08645, allocations: 48.7 MB / 326.5 MB, free: 14.52 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3678/0.4543, allocations: 96.99 MB / 423.5 MB, free: 10.82 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002321/0.4546, allocations: 68.59 kB / 423.6 MB, free: 10.79 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3486/0.8032, allocations: 91.15 MB / 0.5027 GB, free: 6.512 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.141e-06/0.8033, allocations: 0 / 0.5027 GB, free: 6.512 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002412/0.8036, allocations: 87.94 kB / 0.5028 GB, free: 6.426 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.0137/0.8173, allocations: 4.152 MB / 0.5068 GB, free: 2.207 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.8173, allocations: 8.031 kB / 0.5068 GB, free: 2.199 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02427/0.8416, allocations: 4.432 MB / 0.5111 GB, free: 13.75 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01552/0.8572, allocations: 4.726 MB / 0.5158 GB, free: 8.961 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004844/0.8577, allocations: 345.2 kB / 0.5161 GB, free: 8.621 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001994/0.8597, allocations: 467.8 kB / 0.5165 GB, free: 8.164 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2621/1.122, allocations: 10.55 MB / 0.5268 GB, free: 85.13 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002334/1.122, allocations: 57.58 kB / 0.5269 GB, free: 85.13 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001571/1.124, allocations: 224.7 kB / 0.5271 GB, free: 85.13 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001891/1.126, allocations: 0.9869 MB / 0.5281 GB, free: 85.12 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01947/1.145, allocations: 8.441 MB / 0.5363 GB, free: 85.08 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05497/1.2, allocations: 46.87 MB / 0.5821 GB, free: 56.55 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006649/1.207, allocations: 2.931 MB / 0.585 GB, free: 55.14 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002573/1.209, allocations: 1.584 MB / 0.5865 GB, free: 54.48 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004047/1.21, allocations: 340.2 kB / 0.5868 GB, free: 54.18 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/1.21, allocations: 58.97 kB / 0.5869 GB, free: 54.13 MB / 426.7 MB Notification: Performance of pre-optimization done (n=176): time 6.665e-06/1.21, allocations: 0 / 0.5869 GB, free: 54.13 MB / 426.7 MB Notification: Performance of matching and sorting (n=194): time 0.03003/1.24, allocations: 11.28 MB / 0.5979 GB, free: 49.26 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.316e-05/1.24, allocations: 206.9 kB / 0.5981 GB, free: 49.04 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006454/1.247, allocations: 3.361 MB / 0.6014 GB, free: 47.86 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003477/1.247, allocations: 53.3 kB / 0.6014 GB, free: 47.81 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002/1.249, allocations: 3.146 MB / 0.6045 GB, free: 45.46 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008498/1.25, allocations: 0.7401 MB / 0.6052 GB, free: 44.93 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005041/1.25, allocations: 123.8 kB / 0.6053 GB, free: 44.83 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003755/1.251, allocations: 0.5672 MB / 0.6059 GB, free: 44.4 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003786/1.255, allocations: 1.995 MB / 0.6078 GB, free: 43.75 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005852/1.26, allocations: 5.648 MB / 0.6134 GB, free: 38.11 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006183/1.267, allocations: 3.33 MB / 0.6166 GB, free: 36.96 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.459e-05/1.267, allocations: 39.69 kB / 0.6166 GB, free: 36.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.01702/1.284, allocations: 7.501 MB / 0.624 GB, free: 34.21 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001106/1.284, allocations: 60.38 kB / 0.624 GB, free: 34.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001559/1.284, allocations: 126.4 kB / 0.6241 GB, free: 34.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001096/1.285, allocations: 399.9 kB / 0.6245 GB, free: 34.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006431/1.292, allocations: 1.418 MB / 0.6259 GB, free: 33.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00414/1.296, allocations: 2.997 MB / 0.6288 GB, free: 31.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005904/1.302, allocations: 348.1 kB / 0.6292 GB, free: 31.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001045/1.303, allocations: 366.8 kB / 0.6295 GB, free: 31.8 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 590 * 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],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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 (744): * Single equations (assignments): 740 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001105/1.304, allocations: 0.5646 MB / 0.6301 GB, free: 31.32 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007159/1.305, allocations: 339.9 kB / 0.6304 GB, free: 31.14 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00544/1.31, allocations: 2.618 MB / 0.633 GB, free: 30.15 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-05/1.31, allocations: 27.88 kB / 0.633 GB, free: 30.14 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.339e-05/1.31, allocations: 7.641 kB / 0.633 GB, free: 30.14 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.411e-05/1.31, allocations: 10.45 kB / 0.633 GB, free: 30.14 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01835/1.329, allocations: 7.444 MB / 0.6403 GB, free: 24.51 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.645e-05/1.329, allocations: 4 kB / 0.6403 GB, free: 24.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002246/1.331, allocations: 353.5 kB / 0.6406 GB, free: 24.22 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000707/1.332, allocations: 178.5 kB / 0.6408 GB, free: 24.09 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00024/1.332, allocations: 46.22 kB / 0.6408 GB, free: 24.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003225/1.335, allocations: 2.554 MB / 0.6433 GB, free: 21.59 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.464e-06/1.335, allocations: 4.031 kB / 0.6433 GB, free: 21.59 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009468/1.345, allocations: 5.149 MB / 0.6484 GB, free: 17.01 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003231/1.348, allocations: 0.6268 MB / 0.649 GB, free: 16.41 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001634/1.35, allocations: 35.56 kB / 0.649 GB, free: 16.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004186/1.354, allocations: 111.2 kB / 0.6491 GB, free: 16.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008131/1.355, allocations: 134.4 kB / 0.6492 GB, free: 16.22 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003798/1.355, allocations: 62.94 kB / 0.6493 GB, free: 16.17 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.008347/1.364, allocations: 2.327 MB / 0.6516 GB, free: 14.13 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.393e-06/1.364, allocations: 7.875 kB / 0.6516 GB, free: 14.12 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01124/1.375, allocations: 0.9901 MB / 0.6525 GB, free: 13.14 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (164): * Single equations (assignments): 160 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007555/1.376, allocations: 174 kB / 0.6527 GB, free: 12.97 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01423/1.39, allocations: 4.866 MB / 0.6575 GB, free: 8.547 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.381e-06/1.39, allocations: 0 / 0.6575 GB, free: 8.547 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002845/1.393, allocations: 1.544 MB / 0.659 GB, free: 7.152 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002591/1.396, allocations: 391.1 kB / 0.6593 GB, free: 6.824 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01945/1.415, allocations: 8.197 MB / 0.6673 GB, free: 15.6 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00756/1.423, allocations: 3.543 MB / 0.6708 GB, free: 12.9 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001535/1.424, allocations: 304.2 kB / 0.6711 GB, free: 12.62 MB / 442.7 MB Notification: Performance of SimCode: time 1.864e-06/1.424, allocations: 7.938 kB / 0.6711 GB, free: 12.61 MB / 442.7 MB Notification: Performance of Templates: time 0.3624/1.787, allocations: 75.81 MB / 0.7451 GB, free: 82.09 MB / 442.7 MB