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.Forces.DifferentiationOfForces.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.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") Notification: Performance of loadModel(ModelicaTest): time 2.138/2.138, allocations: 235.1 MB / 243 MB, free: 9.492 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.408e-05/2.41e-05, allocations: 4 kB / 303.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3542/0.3542, allocations: 54.86 MB / 358 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1548/0.5091, allocations: 103.1 MB / 461.2 MB, free: 7.652 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/0.5094, allocations: 75.97 kB / 461.2 MB, free: 7.578 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5482/1.058, allocations: 89.14 MB / 0.5375 GB, free: 30.99 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.051e-06/1.058, allocations: 0 / 0.5375 GB, free: 30.99 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001815/1.058, allocations: 95.98 kB / 0.5376 GB, free: 30.9 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1642 * Number of variables: 1642 Notification: Performance of Generate backend data structure: time 0.01168/1.07, allocations: 4.141 MB / 0.5416 GB, free: 26.69 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/1.07, allocations: 12.03 kB / 0.5416 GB, free: 26.68 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0248/1.094, allocations: 4.436 MB / 0.546 GB, free: 22.23 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01304/1.108, allocations: 4.726 MB / 0.5506 GB, free: 17.44 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002153/1.108, allocations: 152 kB / 0.5507 GB, free: 17.29 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001439/1.109, allocations: 264 kB / 0.551 GB, free: 17.03 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01213/1.121, allocations: 6.316 MB / 0.5572 GB, free: 10.71 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01869/1.14, allocations: 9.711 MB / 0.5666 GB, free: 15.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002059/1.14, allocations: 59.41 kB / 0.5667 GB, free: 15.92 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001032/1.141, allocations: 32 kB / 0.5667 GB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001885/1.143, allocations: 0.9916 MB / 0.5677 GB, free: 14.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06571/1.209, allocations: 44.74 MB / 0.6114 GB, free: 0.8438 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004841/1.214, allocations: 2.696 MB / 0.614 GB, free: 14 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002862/1.217, allocations: 1.554 MB / 0.6155 GB, free: 12.44 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005389/1.217, allocations: 340.3 kB / 0.6159 GB, free: 12.05 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.521e-05/1.217, allocations: 51.88 kB / 0.6159 GB, free: 11.99 MB / 458.7 MB Notification: Performance of pre-optimization done (n=176): time 6.464e-06/1.217, allocations: 0 / 0.6159 GB, free: 11.99 MB / 458.7 MB Notification: Performance of matching and sorting (n=194): time 0.2935/1.511, allocations: 12.35 MB / 0.628 GB, free: 104.5 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.464e-05/1.511, allocations: 203.7 kB / 0.6282 GB, free: 104.3 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006477/1.518, allocations: 2.96 MB / 0.631 GB, free: 104 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003442/1.518, allocations: 26.73 kB / 0.6311 GB, free: 104 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002243/1.52, allocations: 3.269 MB / 0.6343 GB, free: 102.9 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008782/1.521, allocations: 0.7199 MB / 0.635 GB, free: 102.5 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004203/1.522, allocations: 0.7812 kB / 0.635 GB, free: 102.5 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004136/1.522, allocations: 0.5735 MB / 0.6355 GB, free: 102.2 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003719/1.526, allocations: 1.934 MB / 0.6374 GB, free: 102.1 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005968/1.532, allocations: 5.762 MB / 0.643 GB, free: 97.16 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00606/1.538, allocations: 3.308 MB / 0.6463 GB, free: 97.14 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001162/1.538, allocations: 41.62 kB / 0.6463 GB, free: 97.14 MB / 458.7 MB Notification: Performance of matching and sorting (n=818) (initialization): time 0.01625/1.554, allocations: 6.948 MB / 0.6531 GB, free: 96.73 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001084/1.554, allocations: 65.72 kB / 0.6532 GB, free: 96.73 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001446/1.555, allocations: 135.6 kB / 0.6533 GB, free: 96.73 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000977/1.556, allocations: 389.2 kB / 0.6537 GB, free: 96.72 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006209/1.562, allocations: 1.498 MB / 0.6551 GB, free: 96.59 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003954/1.566, allocations: 2.901 MB / 0.658 GB, free: 95.21 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006277/1.572, allocations: 235.2 kB / 0.6582 GB, free: 95.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0012/1.573, allocations: 388.6 kB / 0.6586 GB, free: 95.2 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 626 * 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 (780): * Single equations (assignments): 776 * 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.001073/1.574, allocations: 448.8 kB / 0.659 GB, free: 94.86 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007289/1.575, allocations: 320.8 kB / 0.6593 GB, free: 94.69 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005149/1.58, allocations: 2.484 MB / 0.6617 GB, free: 94.56 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.343e-05/1.58, allocations: 21.25 kB / 0.6617 GB, free: 94.56 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.377e-05/1.58, allocations: 7.469 kB / 0.6617 GB, free: 94.56 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.64e-05/1.58, allocations: 8.203 kB / 0.6617 GB, free: 94.56 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01597/1.596, allocations: 6.523 MB / 0.6681 GB, free: 93.34 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.574e-05/1.597, allocations: 6.188 kB / 0.6681 GB, free: 93.34 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002406/1.599, allocations: 348.3 kB / 0.6685 GB, free: 93.32 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007435/1.6, allocations: 185.7 kB / 0.6686 GB, free: 93.27 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000259/1.6, allocations: 18.45 kB / 0.6686 GB, free: 93.26 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003207/1.603, allocations: 2.446 MB / 0.671 GB, free: 91.49 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/1.603, allocations: 0 / 0.671 GB, free: 91.49 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008663/1.612, allocations: 5.011 MB / 0.6759 GB, free: 89.31 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001699/1.614, allocations: 0.5863 MB / 0.6765 GB, free: 88.95 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006533/1.614, allocations: 11.02 kB / 0.6765 GB, free: 88.95 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002345/1.617, allocations: 94.2 kB / 0.6766 GB, free: 88.95 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004385/1.617, allocations: 127.9 kB / 0.6767 GB, free: 88.93 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001883/1.617, allocations: 54.16 kB / 0.6768 GB, free: 88.92 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003723/1.621, allocations: 1.967 MB / 0.6787 GB, free: 88.19 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.169e-06/1.621, allocations: 0 / 0.6787 GB, free: 88.19 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006665/1.628, allocations: 0.8564 MB / 0.6795 GB, free: 88.18 MB / 458.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.0005472/1.628, allocations: 137.4 kB / 0.6797 GB, free: 88.08 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008531/1.637, allocations: 4.677 MB / 0.6842 GB, free: 86.43 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.574e-06/1.637, allocations: 0 / 0.6842 GB, free: 86.43 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002503/1.64, allocations: 1.488 MB / 0.6857 GB, free: 85.82 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002238/1.642, allocations: 299.6 kB / 0.686 GB, free: 85.69 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01894/1.661, allocations: 8.086 MB / 0.6939 GB, free: 81.26 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006826/1.668, allocations: 3.531 MB / 0.6973 GB, free: 78.57 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001418/1.669, allocations: 302.4 kB / 0.6976 GB, free: 78.3 MB / 458.7 MB Notification: Performance of SimCode: time 1.815e-06/1.669, allocations: 2.734 kB / 0.6976 GB, free: 78.3 MB / 458.7 MB Notification: Performance of Templates: time 0.1065/1.776, allocations: 73.86 MB / 0.7697 GB, free: 13.91 MB / 458.7 MB