Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 195.7 kB / 16.26 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.388/1.388, allocations: 205.1 MB / 222.1 MB, free: 4.73 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 47.94 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.299, allocations: 46.63 MB / 324.9 MB, free: 1.941 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.01439/0.3134, allocations: 13.98 MB / 338.8 MB, free: 6.09 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01013/0.3236, allocations: 4.195 MB / 343 MB, free: 1.883 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003496/0.3272, allocations: 51.88 kB / 343.1 MB, free: 1.832 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002027/0.3292, allocations: 0.627 MB / 343.7 MB, free: 1.203 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003601/0.3328, allocations: 1.308 MB / 345 MB, free: 15.89 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000947/0.3338, allocations: 483.3 kB / 345.5 MB, free: 15.42 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004065/0.3379, allocations: 3.136 MB / 348.6 MB, free: 12.27 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007518/0.3386, allocations: 475.1 kB / 349.1 MB, free: 11.79 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001111/0.3398, allocations: 0.8171 MB / 349.9 MB, free: 10.97 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001582/0.3414, allocations: 1.367 MB / 351.3 MB, free: 9.602 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002306/0.3416, allocations: 132 kB / 351.4 MB, free: 9.473 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001573/0.3432, allocations: 0.9594 MB / 352.4 MB, free: 8.512 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009833/0.3442, allocations: 1.114 MB / 353.5 MB, free: 7.395 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001144/0.3453, allocations: 1.25 MB / 354.7 MB, free: 6.137 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004488/0.3498, allocations: 3.907 MB / 358.6 MB, free: 2.219 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.3499, allocations: 0 / 358.6 MB, free: 2.219 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.3499, allocations: 0 / 358.6 MB, free: 2.219 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.197e-05/0.35, allocations: 3.938 kB / 358.6 MB, free: 2.215 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 911 * Number of variables: 911 Notification: Performance of Generate backend data structure: time 0.007866/0.3578, allocations: 3.216 MB / 361.8 MB, free: 14.94 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.125e-05/0.3579, allocations: 12.03 kB / 361.9 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008278/0.3662, allocations: 1.889 MB / 363.7 MB, free: 13.03 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004385/0.3706, allocations: 1.73 MB / 365.5 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000119/0.3708, allocations: 114.6 kB / 365.6 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001046/0.3718, allocations: 299.5 kB / 365.9 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01592/0.3878, allocations: 8.223 MB / 374.1 MB, free: 2.062 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.679e-05/0.3879, allocations: 35.75 kB / 374.1 MB, free: 2.027 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003152/0.3882, allocations: 79.89 kB / 374.2 MB, free: 1.949 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002286/0.3905, allocations: 1.405 MB / 375.6 MB, free: 0.543 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01885/0.4094, allocations: 9.534 MB / 385.2 MB, free: 6.996 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03728/0.4467, allocations: 30.63 MB / 415.8 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01194/0.4587, allocations: 4.38 MB / 420.2 MB, free: 2.977 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00332/0.462, allocations: 2.113 MB / 422.3 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.94e-05/0.4621, allocations: 15.98 kB / 422.3 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.4622, allocations: 50.5 kB / 422.3 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of pre-optimization done (n=122): time 3.456e-06/0.4622, allocations: 0 / 422.3 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of matching and sorting (n=136): time 0.04773/0.5099, allocations: 18.33 MB / 440.7 MB, free: 14.15 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002663/0.5126, allocations: 3.235 MB / 443.9 MB, free: 10.58 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004605/0.5173, allocations: 3.006 MB / 446.9 MB, free: 7.555 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001134/0.5184, allocations: 45.61 kB / 447 MB, free: 7.508 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002196/0.5206, allocations: 2.076 MB / 449 MB, free: 5.402 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001339/0.522, allocations: 0.5632 MB / 449.6 MB, free: 4.832 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001648/0.5236, allocations: 1.019 MB / 450.6 MB, free: 3.801 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.5238, allocations: 313.1 kB / 450.9 MB, free: 3.492 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003978/0.5278, allocations: 2.633 MB / 453.5 MB, free: 0.8516 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2205/0.7483, allocations: 5.575 MB / 459.1 MB, free: 108.7 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01011/0.7585, allocations: 8.629 MB / 467.8 MB, free: 102.6 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001386/0.7586, allocations: 35.34 kB / 467.8 MB, free: 102.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.03051/0.7892, allocations: 11.78 MB / 479.6 MB, free: 97.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.727e-05/0.7893, allocations: 52 kB / 479.6 MB, free: 97.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02043/0.8097, allocations: 7.01 MB / 486.6 MB, free: 90.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0197/0.8295, allocations: 4.546 MB / 491.2 MB, free: 85.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004174/0.8337, allocations: 1.248 MB / 492.4 MB, free: 84.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0134/0.8471, allocations: 12.55 MB / 0.4931 GB, free: 71.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005001/0.8521, allocations: 0.5805 MB / 0.4937 GB, free: 70.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009603/0.8531, allocations: 316 kB / 0.494 GB, free: 70.28 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 475 * Number of states: 0 () * Number of discrete variables: 18 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (592): * Single equations (assignments): 577 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(4,100.0%), (3,100.0%), (4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 2 systems {4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002131/0.8553, allocations: 1.423 MB / 0.4954 GB, free: 68.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005226/0.8558, allocations: 253.5 kB / 0.4956 GB, free: 68.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006861/0.8565, allocations: 415.2 kB / 0.496 GB, free: 68.39 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009616/0.8661, allocations: 5.018 MB / 0.5009 GB, free: 63.35 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-05/0.8662, allocations: 4 kB / 0.5009 GB, free: 63.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.133e-05/0.8663, allocations: 3.984 kB / 0.5009 GB, free: 63.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006763/0.873, allocations: 5.36 MB / 0.5062 GB, free: 57.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.8731, allocations: 4 kB / 0.5062 GB, free: 57.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001545/0.8746, allocations: 367.4 kB / 0.5065 GB, free: 57.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007447/0.8821, allocations: 2.39 MB / 0.5089 GB, free: 55.2 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003959/0.8825, allocations: 54.19 kB / 0.5089 GB, free: 55.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007203/0.8897, allocations: 9.443 MB / 0.5181 GB, free: 45.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001384/0.8911, allocations: 3.063 MB / 0.5211 GB, free: 41.86 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01426/0.9054, allocations: 8.773 MB / 0.5297 GB, free: 33.06 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007967/0.9063, allocations: 329.8 kB / 0.53 GB, free: 32.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006055/0.9069, allocations: 35.98 kB / 0.53 GB, free: 32.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002026/0.9089, allocations: 315.4 kB / 0.5303 GB, free: 32.37 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004083/0.9093, allocations: 107.7 kB / 0.5304 GB, free: 32.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001567/0.9095, allocations: 59.89 kB / 0.5305 GB, free: 32.21 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002124/0.9116, allocations: 1.879 MB / 0.5323 GB, free: 30.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.9116, allocations: 6.734 kB / 0.5323 GB, free: 30.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004201/0.9158, allocations: 1.002 MB / 0.5333 GB, free: 29.32 MB / 382.1 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 (not torn): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(3,100.0%), (4,100.0%), (3,100.0%), (4,100.0%)} * Non-linear Jacobian (size): 2 systems {4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004606/0.9163, allocations: 171.4 kB / 0.5335 GB, free: 29.15 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0105/0.9268, allocations: 7.734 MB / 0.541 GB, free: 21.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.533e-06/0.9269, allocations: 0 / 0.541 GB, free: 21.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005354/0.9322, allocations: 3.639 MB / 0.5446 GB, free: 17.54 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002193/0.9345, allocations: 311.4 kB / 0.5449 GB, free: 17.24 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/0.945, allocations: 9.334 MB / 0.554 GB, free: 7.863 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001725/0.9468, allocations: 2.301 MB / 0.5562 GB, free: 5.531 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003795/0.9506, allocations: 1.667 MB / 0.5579 GB, free: 3.855 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007271/0.9513, allocations: 199.3 kB / 0.5581 GB, free: 3.66 MB / 382.1 MB Notification: Performance of SimCode: time 8.52e-07/0.9513, allocations: 0 / 0.5581 GB, free: 3.66 MB / 382.1 MB Notification: Performance of Templates: time 0.07768/1.029, allocations: 46.31 MB / 0.6033 GB, free: 5.359 MB / 430.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1)