Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.0009368/0.0009368, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.005395/0.005395, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.568/1.568, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.0004553/0.0004553, allocations: 16 kB / 279.4 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2677/0.2681, allocations: 47.58 MB / 327 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.01176/0.2799, allocations: 13.4 MB / 340.4 MB, free: 5.945 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007423/0.2874, allocations: 4.247 MB / 344.7 MB, free: 1.688 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001035/0.2885, allocations: 51.88 kB / 344.7 MB, free: 1.637 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006069/0.2891, allocations: 266.8 kB / 345 MB, free: 1.375 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002339/0.2914, allocations: 1.308 MB / 346.3 MB, free: 64 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007482/0.2922, allocations: 463.3 kB / 346.7 MB, free: 15.61 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00377/0.296, allocations: 4.158 MB / 350.9 MB, free: 11.44 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006536/0.2966, allocations: 0.5504 MB / 351.5 MB, free: 10.84 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007816/0.2974, allocations: 0.6846 MB / 352.1 MB, free: 10.16 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001402/0.2988, allocations: 1.316 MB / 353.5 MB, free: 8.836 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001708/0.299, allocations: 80 kB / 353.5 MB, free: 8.758 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001415/0.3004, allocations: 0.9592 MB / 354.5 MB, free: 7.797 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008283/0.3013, allocations: 1.071 MB / 355.6 MB, free: 6.723 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009701/0.3023, allocations: 1.224 MB / 356.8 MB, free: 5.484 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003302/0.3056, allocations: 3.785 MB / 360.6 MB, free: 1.688 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.3056, allocations: 0 / 360.6 MB, free: 1.688 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.3056, allocations: 0 / 360.6 MB, free: 1.688 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.497e-05/0.3057, allocations: 0 / 360.6 MB, free: 1.688 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.005299/0.311, allocations: 2.71 MB / 363.3 MB, free: 14.92 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.311, allocations: 15.97 kB / 363.3 MB, free: 14.9 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007837/0.3189, allocations: 1.939 MB / 365.2 MB, free: 12.96 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002734/0.3216, allocations: 1.727 MB / 367 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.93e-05/0.3217, allocations: 118.6 kB / 367.1 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008496/0.3226, allocations: 303.5 kB / 367.4 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01256/0.3352, allocations: 8.246 MB / 375.6 MB, free: 1.957 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.311e-05/0.3352, allocations: 35.66 kB / 375.7 MB, free: 1.922 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002436/0.3355, allocations: 75.89 kB / 375.7 MB, free: 1.848 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002077/0.3376, allocations: 1.397 MB / 377.1 MB, free: 460 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01674/0.3543, allocations: 9.534 MB / 386.7 MB, free: 6.906 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03248/0.3868, allocations: 30.59 MB / 417.3 MB, free: 7.457 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01192/0.3988, allocations: 4.426 MB / 421.7 MB, free: 2.871 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002716/0.4015, allocations: 2.116 MB / 423.8 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.662e-05/0.4016, allocations: 15.98 kB / 423.8 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.4017, allocations: 42.56 kB / 423.9 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of pre-optimization done (n=122): time 3.637e-06/0.4017, allocations: 0 / 423.9 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of matching and sorting (n=136): time 0.04695/0.4486, allocations: 18.45 MB / 442.3 MB, free: 13.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002701/0.4514, allocations: 3.05 MB / 445.3 MB, free: 10.56 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004912/0.4563, allocations: 3.006 MB / 448.4 MB, free: 7.535 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006333/0.457, allocations: 45.69 kB / 448.4 MB, free: 7.484 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001469/0.4585, allocations: 2.079 MB / 450.5 MB, free: 5.375 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007334/0.4592, allocations: 0.5671 MB / 451 MB, free: 4.801 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005509/0.4598, allocations: 416.7 kB / 451.5 MB, free: 4.387 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.149e-05/0.4598, allocations: 305.1 kB / 451.7 MB, free: 4.086 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003689/0.4635, allocations: 2.633 MB / 454.4 MB, free: 1.445 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2045/0.668, allocations: 5.581 MB / 460 MB, free: 108.1 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01171/0.6798, allocations: 8.628 MB / 468.6 MB, free: 102.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001533/0.68, allocations: 29.75 kB / 468.6 MB, free: 102.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.03248/0.7125, allocations: 11.78 MB / 480.4 MB, free: 97.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001198/0.7127, allocations: 53.81 kB / 480.5 MB, free: 97.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03048/0.7431, allocations: 7.008 MB / 487.5 MB, free: 90.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02746/0.7706, allocations: 4.544 MB / 492 MB, free: 85.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005025/0.7757, allocations: 1.24 MB / 493.2 MB, free: 84.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01368/0.7894, allocations: 11.49 MB / 0.4929 GB, free: 72.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006091/0.7956, allocations: 0.5765 MB / 0.4935 GB, free: 71.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008903/0.7965, allocations: 313.2 kB / 0.4938 GB, free: 71.54 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.002311/0.7988, allocations: 1.422 MB / 0.4952 GB, free: 70.17 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005148/0.7993, allocations: 255.8 kB / 0.4954 GB, free: 70.05 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000902/0.8002, allocations: 415.2 kB / 0.4958 GB, free: 69.65 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0106/0.8108, allocations: 5.014 MB / 0.5007 GB, free: 64.61 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.157e-05/0.8109, allocations: 8 kB / 0.5007 GB, free: 64.6 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.117e-05/0.8109, allocations: 7.969 kB / 0.5007 GB, free: 64.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006935/0.8179, allocations: 5.353 MB / 0.5059 GB, free: 59.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.427e-06/0.8179, allocations: 0 / 0.5059 GB, free: 59.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001665/0.8196, allocations: 367.4 kB / 0.5063 GB, free: 58.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008342/0.8279, allocations: 2.394 MB / 0.5086 GB, free: 56.45 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004184/0.8284, allocations: 46.14 kB / 0.5087 GB, free: 56.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00741/0.8358, allocations: 8.846 MB / 0.5173 GB, free: 47.08 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001397/0.8372, allocations: 2.899 MB / 0.5201 GB, free: 43.92 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01556/0.8528, allocations: 8.769 MB / 0.5287 GB, free: 35.12 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009622/0.8538, allocations: 337.6 kB / 0.529 GB, free: 34.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004822/0.8543, allocations: 36.53 kB / 0.5291 GB, free: 34.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002312/0.8566, allocations: 316.4 kB / 0.5294 GB, free: 34.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005107/0.8571, allocations: 103.8 kB / 0.5295 GB, free: 34.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001647/0.8573, allocations: 61.67 kB / 0.5295 GB, free: 34.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002564/0.8599, allocations: 1.878 MB / 0.5313 GB, free: 32.39 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.71e-07/0.8599, allocations: 0 / 0.5313 GB, free: 32.39 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004813/0.8647, allocations: 1.004 MB / 0.5323 GB, free: 31.39 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.0004961/0.8652, allocations: 168.5 kB / 0.5325 GB, free: 31.21 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01129/0.8765, allocations: 7.402 MB / 0.5397 GB, free: 23.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.804e-06/0.8766, allocations: 4 kB / 0.5397 GB, free: 23.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005496/0.8821, allocations: 3.614 MB / 0.5433 GB, free: 19.94 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002508/0.8846, allocations: 301.2 kB / 0.5435 GB, free: 19.65 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0108/0.8955, allocations: 9.62 MB / 0.5529 GB, free: 9.969 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001711/0.8972, allocations: 2.302 MB / 0.5552 GB, free: 7.633 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003637/0.9009, allocations: 1.66 MB / 0.5568 GB, free: 5.965 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006803/0.9016, allocations: 199.3 kB / 0.557 GB, free: 5.77 MB / 382.1 MB Notification: Performance of SimCode: time 1.483e-06/0.9016, allocations: 0 / 0.557 GB, free: 5.77 MB / 382.1 MB Notification: Performance of Templates: time 0.07058/0.9721, allocations: 43.82 MB / 0.5998 GB, free: 9.934 MB / 430.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1)