Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.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) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|body2.frame_a.r_0.1.|body2.frame_a.r_0.2.|body2.frame_a.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body2.w_a.1.|body2.w_a.2.|body2.w_a.3.",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") Notification: Performance of loadModel(Modelica): time 2.023/2.023, allocations: 194.9 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003575/0.0003577, allocations: 8 kB / 263.9 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08476/0.08515, allocations: 44.51 MB / 308.4 MB, free: 1.027 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.01575/0.1009, allocations: 11.38 MB / 319.7 MB, free: 5.602 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009496/0.1105, allocations: 3.886 MB / 323.6 MB, free: 1.707 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00217/0.1127, allocations: 47.88 kB / 323.7 MB, free: 1.66 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001846/0.1146, allocations: 0.525 MB / 324.2 MB, free: 1.133 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006567/0.1212, allocations: 1.89 MB / 326.1 MB, free: 15.24 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00148/0.1227, allocations: 439.2 kB / 326.5 MB, free: 14.81 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003846/0.1266, allocations: 1.751 MB / 328.3 MB, free: 13.05 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009772/0.1276, allocations: 0.5193 MB / 328.8 MB, free: 12.5 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001254/0.1289, allocations: 0.6541 MB / 329.4 MB, free: 11.84 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001769/0.1307, allocations: 0.9621 MB / 330.4 MB, free: 10.88 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004201/0.1312, allocations: 88 kB / 330.5 MB, free: 10.79 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002037/0.1333, allocations: 0.8074 MB / 331.3 MB, free: 9.98 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001524/0.1348, allocations: 0.978 MB / 332.3 MB, free: 9 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006996/0.1355, allocations: 0.4884 MB / 332.8 MB, free: 8.504 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00486/0.1404, allocations: 3.013 MB / 335.8 MB, free: 5.484 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.146e-06/0.1405, allocations: 0 / 335.8 MB, free: 5.484 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.577e-06/0.1405, allocations: 0 / 335.8 MB, free: 5.484 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.338e-05/0.1406, allocations: 0 / 335.8 MB, free: 5.484 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 908 * Number of variables: 908 Notification: Performance of Generate backend data structure: time 0.007476/0.148, allocations: 2.776 MB / 338.6 MB, free: 2.648 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.1481, allocations: 8.031 kB / 338.6 MB, free: 2.641 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01174/0.1599, allocations: 2.266 MB / 340.8 MB, free: 376 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004793/0.1647, allocations: 2.089 MB / 342.9 MB, free: 14.23 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00017/0.1649, allocations: 110.6 kB / 343 MB, free: 14.12 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001438/0.1664, allocations: 299.5 kB / 343.3 MB, free: 13.83 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02191/0.1883, allocations: 8.608 MB / 351.9 MB, free: 4.656 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001042/0.1885, allocations: 35.59 kB / 352 MB, free: 4.621 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000406/0.1889, allocations: 83.84 kB / 352 MB, free: 4.539 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00303/0.1919, allocations: 1.401 MB / 353.4 MB, free: 3.137 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02653/0.2185, allocations: 9.897 MB / 363.3 MB, free: 9.227 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2634/0.4819, allocations: 30.6 MB / 393.9 MB, free: 39.04 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01572/0.4977, allocations: 4.496 MB / 398.4 MB, free: 37.34 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001309/0.4978, allocations: 11.06 kB / 398.5 MB, free: 37.34 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.4979, allocations: 49.88 kB / 398.5 MB, free: 37.29 MB / 314.7 MB Notification: Performance of pre-optimization done (n=122): time 5.296e-06/0.4979, allocations: 2.688 kB / 398.5 MB, free: 37.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=136): time 0.06172/0.5596, allocations: 18.94 MB / 417.4 MB, free: 21.49 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002082/0.5618, allocations: 3.079 MB / 420.5 MB, free: 18.1 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004973/0.5668, allocations: 3.201 MB / 423.7 MB, free: 14.88 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005317/0.5674, allocations: 43.42 kB / 423.8 MB, free: 14.84 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001369/0.5687, allocations: 2.058 MB / 425.8 MB, free: 12.79 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009946/0.5698, allocations: 0.5676 MB / 426.4 MB, free: 12.23 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004787/0.5703, allocations: 97.25 kB / 426.5 MB, free: 12.14 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002814/0.5705, allocations: 0.5172 MB / 427 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005168/0.5757, allocations: 2.64 MB / 429.6 MB, free: 8.965 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006648/0.5824, allocations: 5.576 MB / 435.2 MB, free: 1.934 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007394/0.5899, allocations: 3.685 MB / 438.9 MB, free: 14.25 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.399e-05/0.59, allocations: 28 kB / 438.9 MB, free: 14.22 MB / 330.7 MB Notification: Performance of matching and sorting (n=633) (initialization): time 0.04144/0.6315, allocations: 11.7 MB / 450.6 MB, free: 2.492 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00011/0.6316, allocations: 48 kB / 450.7 MB, free: 2.445 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02874/0.6604, allocations: 7.048 MB / 457.7 MB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02656/0.687, allocations: 4.558 MB / 462.3 MB, free: 6.777 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005709/0.6927, allocations: 1.224 MB / 463.5 MB, free: 5.551 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02466/0.7174, allocations: 12.07 MB / 475.6 MB, free: 8.949 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006358/0.7239, allocations: 0.578 MB / 476.2 MB, free: 8.371 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001394/0.7253, allocations: 317.3 kB / 476.5 MB, free: 8.062 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 472 * Number of states: 0 () * Number of discrete variables: 15 (body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (581): * Single equations (assignments): 566 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004157/0.7295, allocations: 1.402 MB / 477.9 MB, free: 6.648 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008781/0.7304, allocations: 260.7 kB / 478.1 MB, free: 6.391 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001352/0.7318, allocations: 415.2 kB / 478.5 MB, free: 5.984 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01625/0.748, allocations: 5.011 MB / 483.5 MB, free: 0.9375 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.583e-05/0.7481, allocations: 4 kB / 483.5 MB, free: 0.9336 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.034e-05/0.7482, allocations: 11.97 kB / 483.6 MB, free: 0.9219 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01333/0.7615, allocations: 5.361 MB / 488.9 MB, free: 11.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.079e-05/0.7616, allocations: 4 kB / 488.9 MB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002632/0.7642, allocations: 371.4 kB / 489.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01086/0.7751, allocations: 2.382 MB / 491.7 MB, free: 8.73 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006315/0.7758, allocations: 52.64 kB / 491.7 MB, free: 8.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01407/0.7899, allocations: 9.011 MB / 0.489 GB, free: 15.15 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003058/0.793, allocations: 2.911 MB / 0.4918 GB, free: 11.95 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02298/0.816, allocations: 8.752 MB / 0.5004 GB, free: 3.148 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009035/0.817, allocations: 341.6 kB / 0.5007 GB, free: 2.793 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008402/0.8178, allocations: 40.53 kB / 0.5007 GB, free: 2.754 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003118/0.8209, allocations: 319.4 kB / 0.501 GB, free: 2.441 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007529/0.8217, allocations: 112.6 kB / 0.5012 GB, free: 2.332 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002797/0.822, allocations: 49.17 kB / 0.5012 GB, free: 2.285 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.004589/0.8266, allocations: 2.047 MB / 0.5032 GB, free: 240 kB / 394.7 MB Notification: Performance of sort global known variables: time 1.318e-06/0.8267, allocations: 0 / 0.5032 GB, free: 240 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.006196/0.8329, allocations: 1.014 MB / 0.5042 GB, free: 15.22 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 24 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],body2.frame_a.r_0[1],body2.frame_a.r_0[2],body2.frame_a.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.w_a[1],body2.w_a[2],body2.w_a[3],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3]) * 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 (92): * Single equations (assignments): 81 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008262/0.8337, allocations: 192.8 kB / 0.5044 GB, free: 15.04 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01749/0.8512, allocations: 7.339 MB / 0.5115 GB, free: 7.574 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.828e-06/0.8513, allocations: 0 / 0.5115 GB, free: 7.574 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009128/0.8604, allocations: 3.625 MB / 0.5151 GB, free: 3.805 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00239/0.8629, allocations: 290.4 kB / 0.5154 GB, free: 3.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2286/1.091, allocations: 9.592 MB / 0.5247 GB, free: 142.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003733/1.095, allocations: 2.35 MB / 0.527 GB, free: 141.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001749/1.097, allocations: 246.6 kB / 0.5273 GB, free: 141.3 MB / 410.7 MB Notification: Performance of SimCode: time 2.066e-06/1.097, allocations: 0 / 0.5273 GB, free: 141.3 MB / 410.7 MB Notification: Performance of Templates: time 0.17/1.267, allocations: 137.6 MB / 0.6617 GB, free: 15.26 MB / 410.7 MB