Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.86/1.86, allocations: 209.2 MB / 225.4 MB, free: 0.5273 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004496/0.0004498, allocations: 11.98 kB / 283.1 MB, free: 9.688 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.3422, allocations: 48.7 MB / 331.8 MB, free: 6.488 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1704/0.5126, allocations: 97.07 MB / 428.9 MB, free: 13.33 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002929/0.5129, allocations: 87.89 kB / 429 MB, free: 13.25 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6641/1.177, allocations: 91.52 MB / 0.5083 GB, free: 87.67 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.605e-06/1.177, allocations: 0 / 0.5083 GB, free: 87.67 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002366/1.177, allocations: 93.09 kB / 0.5084 GB, free: 87.66 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: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.0174/1.195, allocations: 4.392 MB / 0.5126 GB, free: 84.69 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/1.195, allocations: 10.41 kB / 0.5127 GB, free: 84.69 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03227/1.227, allocations: 4.438 MB / 0.517 GB, free: 80.86 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01748/1.245, allocations: 4.748 MB / 0.5216 GB, free: 76.1 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004355/1.245, allocations: 350.6 kB / 0.522 GB, free: 75.78 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002514/1.248, allocations: 463.8 kB / 0.5224 GB, free: 75.36 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02867/1.276, allocations: 10.71 MB / 0.5329 GB, free: 63.71 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003048/1.277, allocations: 59.55 kB / 0.5329 GB, free: 63.66 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00203/1.279, allocations: 220.2 kB / 0.5331 GB, free: 63.45 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001997/1.281, allocations: 0.9915 MB / 0.5341 GB, free: 62.46 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02352/1.304, allocations: 8.664 MB / 0.5426 GB, free: 53.78 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06599/1.37, allocations: 46.88 MB / 0.5883 GB, free: 5.395 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009349/1.38, allocations: 2.998 MB / 0.5913 GB, free: 2.254 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005723/1.38, allocations: 352 kB / 0.5916 GB, free: 1.855 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.762e-05/1.38, allocations: 51.56 kB / 0.5916 GB, free: 1.797 MB / 394.7 MB Notification: Performance of pre-optimization done (n=176): time 5.31e-06/1.38, allocations: 4 kB / 0.5917 GB, free: 1.793 MB / 394.7 MB Notification: Performance of matching and sorting (n=194): time 0.05798/1.438, allocations: 14.1 MB / 0.6054 GB, free: 3.523 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001267/1.439, allocations: 205.2 kB / 0.6056 GB, free: 3.281 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009367/1.448, allocations: 3.806 MB / 0.6093 GB, free: 15.49 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005226/1.449, allocations: 49.7 kB / 0.6094 GB, free: 15.43 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003467/1.452, allocations: 3.148 MB / 0.6125 GB, free: 12.24 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001403/1.454, allocations: 0.7366 MB / 0.6132 GB, free: 11.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008735/1.454, allocations: 124 kB / 0.6133 GB, free: 11.38 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006875/1.455, allocations: 0.5667 MB / 0.6138 GB, free: 10.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006865/1.462, allocations: 2.124 MB / 0.6159 GB, free: 8.668 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01038/1.473, allocations: 5.791 MB / 0.6216 GB, free: 1.035 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3107/1.783, allocations: 3.412 MB / 0.6249 GB, free: 105.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001475/1.783, allocations: 36.78 kB / 0.6249 GB, free: 105.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.02325/1.807, allocations: 7.758 MB / 0.6325 GB, free: 104.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001333/1.807, allocations: 60.56 kB / 0.6326 GB, free: 104.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002591/1.807, allocations: 128.5 kB / 0.6327 GB, free: 104.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001539/1.809, allocations: 388.8 kB / 0.6331 GB, free: 104.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009467/1.818, allocations: 1.425 MB / 0.6345 GB, free: 104.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005319/1.824, allocations: 3.051 MB / 0.6374 GB, free: 103.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006653/1.83, allocations: 351.6 kB / 0.6378 GB, free: 103.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001375/1.832, allocations: 374.2 kB / 0.6381 GB, free: 103.3 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 () * Number of clocked 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.00608/1.838, allocations: 2.22 MB / 0.6403 GB, free: 103 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008463/1.839, allocations: 335.6 kB / 0.6406 GB, free: 103 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009175/1.848, allocations: 2.825 MB / 0.6434 GB, free: 102.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.943e-05/1.848, allocations: 24.94 kB / 0.6434 GB, free: 102.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.336e-05/1.848, allocations: 3.5 kB / 0.6434 GB, free: 102.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.527e-05/1.848, allocations: 7.453 kB / 0.6434 GB, free: 102.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02427/1.872, allocations: 7.651 MB / 0.6509 GB, free: 100.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-05/1.872, allocations: 3.953 kB / 0.6509 GB, free: 100.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003477/1.876, allocations: 351.7 kB / 0.6512 GB, free: 100.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000956/1.877, allocations: 186.6 kB / 0.6514 GB, free: 100.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004613/1.877, allocations: 35.8 kB / 0.6514 GB, free: 100.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004234/1.882, allocations: 2.598 MB / 0.654 GB, free: 98.49 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/1.882, allocations: 3.438 kB / 0.654 GB, free: 98.49 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01413/1.896, allocations: 5.377 MB / 0.6592 GB, free: 96.49 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002272/1.898, allocations: 0.6284 MB / 0.6598 GB, free: 96.13 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00121/1.9, allocations: 35.36 kB / 0.6599 GB, free: 96.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00327/1.903, allocations: 117.7 kB / 0.66 GB, free: 96.09 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007337/1.904, allocations: 140.5 kB / 0.6601 GB, free: 96.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002611/1.904, allocations: 52.2 kB / 0.6602 GB, free: 96.05 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006135/1.91, allocations: 2.367 MB / 0.6625 GB, free: 95.26 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.222e-06/1.91, allocations: 0 / 0.6625 GB, free: 95.26 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007123/1.917, allocations: 0.9889 MB / 0.6634 GB, free: 95.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 () * Number of clocked 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.0008232/1.918, allocations: 164.6 kB / 0.6636 GB, free: 95.02 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01321/1.931, allocations: 5.106 MB / 0.6686 GB, free: 93.28 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.625e-06/1.931, allocations: 0 / 0.6686 GB, free: 93.28 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004383/1.936, allocations: 1.643 MB / 0.6702 GB, free: 92.66 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003238/1.939, allocations: 392.6 kB / 0.6706 GB, free: 92.48 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02797/1.967, allocations: 11.73 MB / 0.682 GB, free: 83.32 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008105/1.975, allocations: 3.54 MB / 0.6855 GB, free: 80.63 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001886/1.977, allocations: 308.4 kB / 0.6858 GB, free: 80.35 MB / 426.7 MB Notification: Performance of SimCode: time 1.443e-06/1.977, allocations: 0 / 0.6858 GB, free: 80.35 MB / 426.7 MB Notification: Performance of Templates: time 0.1409/2.118, allocations: 75.82 MB / 0.7598 GB, free: 10.56 MB / 426.7 MB