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/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.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.314/2.314, allocations: 235 MB / 248.1 MB, free: 14.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.428e-05/6.454e-05, allocations: 8 kB / 309.7 MB, free: 1.539 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3316, allocations: 54.85 MB / 364.5 MB, free: 5.523 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1584/0.49, allocations: 103.8 MB / 468.3 MB, free: 8.676 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000264/0.4903, allocations: 83.55 kB / 468.4 MB, free: 8.598 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6545/1.145, allocations: 91.12 MB / 0.5464 GB, free: 106.5 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.346e-06/1.145, allocations: 0 / 0.5464 GB, free: 106.5 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002248/1.145, allocations: 81.81 kB / 0.5465 GB, free: 106.5 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: 1642 * Number of variables: 1642 Notification: Performance of Generate backend data structure: time 0.01285/1.158, allocations: 4.146 MB / 0.5505 GB, free: 104.7 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/1.158, allocations: 13.56 kB / 0.5506 GB, free: 104.7 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02375/1.182, allocations: 4.435 MB / 0.5549 GB, free: 104.4 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01434/1.196, allocations: 4.724 MB / 0.5595 GB, free: 103.8 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003946/1.197, allocations: 356.1 kB / 0.5598 GB, free: 103.8 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001999/1.199, allocations: 458.7 kB / 0.5603 GB, free: 103.8 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02367/1.222, allocations: 10.56 MB / 0.5706 GB, free: 100.3 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002688/1.223, allocations: 66.89 kB / 0.5707 GB, free: 100.3 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001965/1.225, allocations: 222.2 kB / 0.5709 GB, free: 100.1 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001689/1.226, allocations: 0.9866 MB / 0.5718 GB, free: 99.96 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01934/1.246, allocations: 8.446 MB / 0.5801 GB, free: 97.17 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05696/1.303, allocations: 46.88 MB / 0.6259 GB, free: 60.18 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00709/1.31, allocations: 2.923 MB / 0.6287 GB, free: 57.45 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002634/1.313, allocations: 1.582 MB / 0.6303 GB, free: 56.01 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004457/1.313, allocations: 344.7 kB / 0.6306 GB, free: 55.64 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.705e-05/1.313, allocations: 59.5 kB / 0.6306 GB, free: 55.58 MB / 458.7 MB Notification: Performance of pre-optimization done (n=176): time 6.39e-06/1.313, allocations: 0 / 0.6306 GB, free: 55.58 MB / 458.7 MB Notification: Performance of matching and sorting (n=194): time 0.03102/1.344, allocations: 11.27 MB / 0.6417 GB, free: 45.5 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.386e-05/1.344, allocations: 205.2 kB / 0.6418 GB, free: 45.26 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006718/1.351, allocations: 3.346 MB / 0.6451 GB, free: 41.93 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003663/1.351, allocations: 53.7 kB / 0.6452 GB, free: 41.87 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002091/1.354, allocations: 3.159 MB / 0.6483 GB, free: 38.71 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009045/1.354, allocations: 0.7317 MB / 0.649 GB, free: 37.98 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005926/1.355, allocations: 116 kB / 0.6491 GB, free: 37.87 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0006289/1.356, allocations: 0.5629 MB / 0.6496 GB, free: 37.3 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00427/1.36, allocations: 1.999 MB / 0.6516 GB, free: 35.29 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006326/1.366, allocations: 5.639 MB / 0.6571 GB, free: 27.82 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006153/1.373, allocations: 3.329 MB / 0.6603 GB, free: 24.49 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001744/1.373, allocations: 36 kB / 0.6604 GB, free: 24.46 MB / 458.7 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.0167/1.39, allocations: 7.511 MB / 0.6677 GB, free: 16.95 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.854e-05/1.39, allocations: 63.95 kB / 0.6678 GB, free: 16.88 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001329/1.39, allocations: 128 kB / 0.6679 GB, free: 16.76 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001009/1.391, allocations: 387 kB / 0.6683 GB, free: 16.38 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006108/1.397, allocations: 1.427 MB / 0.6697 GB, free: 14.95 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003939/1.401, allocations: 2.993 MB / 0.6726 GB, free: 11.82 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00587/1.407, allocations: 343.8 kB / 0.6729 GB, free: 11.48 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001132/1.408, allocations: 371.9 kB / 0.6733 GB, free: 11.12 MB / 458.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.001342/1.409, allocations: 0.5625 MB / 0.6738 GB, free: 10.55 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007245/1.41, allocations: 339.6 kB / 0.6741 GB, free: 10.22 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005576/1.416, allocations: 2.627 MB / 0.6767 GB, free: 7.582 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.636e-05/1.416, allocations: 25.5 kB / 0.6767 GB, free: 7.559 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.261e-05/1.416, allocations: 4 kB / 0.6767 GB, free: 7.555 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.677e-05/1.416, allocations: 11.95 kB / 0.6767 GB, free: 7.543 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01739/1.433, allocations: 7.441 MB / 0.684 GB, free: 76 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-05/1.433, allocations: 0 / 0.684 GB, free: 76 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002484/1.436, allocations: 351.5 kB / 0.6843 GB, free: 15.73 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008068/1.437, allocations: 180.6 kB / 0.6845 GB, free: 15.55 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003822/1.437, allocations: 39.98 kB / 0.6845 GB, free: 15.51 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004315/1.441, allocations: 2.556 MB / 0.687 GB, free: 12.82 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.401e-06/1.442, allocations: 0 / 0.687 GB, free: 12.82 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01128/1.453, allocations: 5.153 MB / 0.6921 GB, free: 7.645 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002104/1.455, allocations: 0.6293 MB / 0.6927 GB, free: 6.992 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008644/1.456, allocations: 32 kB / 0.6927 GB, free: 6.961 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002441/1.458, allocations: 111.9 kB / 0.6928 GB, free: 6.852 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006311/1.459, allocations: 137.1 kB / 0.693 GB, free: 6.715 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002657/1.459, allocations: 51.98 kB / 0.693 GB, free: 6.664 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005964/1.465, allocations: 2.322 MB / 0.6953 GB, free: 4.359 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.05e-06/1.465, allocations: 0 / 0.6953 GB, free: 4.359 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007646/1.473, allocations: 0.9842 MB / 0.6962 GB, free: 3.379 MB / 474.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.0006937/1.474, allocations: 174.9 kB / 0.6964 GB, free: 3.199 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01151/1.485, allocations: 4.876 MB / 0.7012 GB, free: 14.35 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.028e-06/1.485, allocations: 0 / 0.7012 GB, free: 14.35 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003607/1.489, allocations: 1.532 MB / 0.7027 GB, free: 12.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002817/1.492, allocations: 386.9 kB / 0.703 GB, free: 12.43 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02276/1.515, allocations: 8.185 MB / 0.711 GB, free: 4.199 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008238/1.523, allocations: 3.535 MB / 0.7145 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001568/1.524, allocations: 303.4 kB / 0.7148 GB, free: 352 kB / 490.7 MB Notification: Performance of SimCode: time 1.807e-06/1.524, allocations: 0 / 0.7148 GB, free: 352 kB / 490.7 MB Notification: Performance of Templates: time 0.3879/1.912, allocations: 75.83 MB / 0.7888 GB, free: 99.25 MB / 490.7 MB