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.007964/0.007964, allocations: 98.58 kB / 15.73 MB, free: 5.582 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.001441/0.001442, allocations: 199.3 kB / 16.68 MB, free: 5.523 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.473/1.473, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.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.001357/0.001357, allocations: 47.94 kB / 326.5 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08735/0.08872, allocations: 46.62 MB / 373.2 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.1911/0.2799, allocations: 6.992 MB / 380.2 MB, free: 9.637 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006546/0.2865, allocations: 3.093 MB / 383.2 MB, free: 8.332 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001241/0.2878, allocations: 31.59 kB / 383.3 MB, free: 8.328 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001607/0.2894, allocations: 0.6714 MB / 384 MB, free: 8.086 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003542/0.293, allocations: 1.41 MB / 385.4 MB, free: 7.5 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.2941, allocations: 0.4942 MB / 385.9 MB, free: 7.328 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004431/0.2985, allocations: 3.137 MB / 389 MB, free: 6.312 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008308/0.2994, allocations: 455.6 kB / 389.4 MB, free: 6.137 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001475/0.3008, allocations: 0.8016 MB / 390.2 MB, free: 5.824 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00169/0.3025, allocations: 1.221 MB / 391.5 MB, free: 5.41 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003608/0.3029, allocations: 130.7 kB / 391.6 MB, free: 5.41 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001939/0.3049, allocations: 0.9452 MB / 392.5 MB, free: 5.188 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001097/0.306, allocations: 1.084 MB / 393.6 MB, free: 4.84 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001101/0.3071, allocations: 1.231 MB / 394.8 MB, free: 3.969 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005566/0.3127, allocations: 4.046 MB / 398.9 MB, free: 1.559 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3127, allocations: 0 / 398.9 MB, free: 1.559 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3127, allocations: 0 / 398.9 MB, free: 1.559 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.066e-05/0.3128, allocations: 0.9375 kB / 398.9 MB, free: 1.559 MB / 318.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.007817/0.3206, allocations: 3.218 MB / 402.1 MB, free: 15.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.3207, allocations: 8.656 kB / 402.1 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009028/0.3297, allocations: 1.891 MB / 404 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005083/0.3348, allocations: 1.746 MB / 405.8 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001677/0.335, allocations: 118.9 kB / 405.9 MB, free: 13.19 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00112/0.3362, allocations: 300.9 kB / 406.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01677/0.353, allocations: 8.223 MB / 414.4 MB, free: 5.621 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.726e-05/0.3531, allocations: 35.66 kB / 414.4 MB, free: 5.586 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003092/0.3534, allocations: 75.89 kB / 414.5 MB, free: 5.512 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00248/0.3559, allocations: 1.401 MB / 415.9 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01833/0.3742, allocations: 9.541 MB / 425.4 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03831/0.4126, allocations: 30.54 MB / 456 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01264/0.4252, allocations: 4.387 MB / 460.4 MB, free: 6.637 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003056/0.4283, allocations: 2.116 MB / 462.5 MB, free: 4.504 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001125/0.4285, allocations: 19.98 kB / 462.5 MB, free: 4.484 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.4285, allocations: 46.48 kB / 462.5 MB, free: 4.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=122): time 3.797e-06/0.4285, allocations: 0 / 462.5 MB, free: 4.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=136): time 0.04909/0.4776, allocations: 18.33 MB / 480.9 MB, free: 1.809 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002282/0.4799, allocations: 3.227 MB / 484.1 MB, free: 14.25 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004463/0.4844, allocations: 3.002 MB / 487.1 MB, free: 11.22 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007375/0.4852, allocations: 41.89 kB / 487.2 MB, free: 11.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001778/0.487, allocations: 2.079 MB / 489.2 MB, free: 9.066 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001316/0.4883, allocations: 0.5709 MB / 489.8 MB, free: 8.488 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001782/0.4901, allocations: 1.015 MB / 490.8 MB, free: 7.461 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.4902, allocations: 301.1 kB / 491.1 MB, free: 7.164 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004539/0.4948, allocations: 2.633 MB / 493.7 MB, free: 4.523 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006043/0.5008, allocations: 5.585 MB / 499.3 MB, free: 13.46 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01022/0.5111, allocations: 8.626 MB / 0.496 GB, free: 3.371 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.195e-05/0.5112, allocations: 32 kB / 0.4961 GB, free: 3.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.03365/0.5448, allocations: 11.78 MB / 0.5076 GB, free: 7.516 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.291e-05/0.5449, allocations: 55.84 kB / 0.5076 GB, free: 7.461 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02469/0.5696, allocations: 7.013 MB / 0.5145 GB, free: 428 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02405/0.5937, allocations: 4.538 MB / 0.5189 GB, free: 11.85 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004685/0.5984, allocations: 1.244 MB / 0.5201 GB, free: 10.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01783/0.6163, allocations: 12.55 MB / 0.5324 GB, free: 13.49 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005784/0.6221, allocations: 0.5771 MB / 0.5329 GB, free: 12.91 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001304/0.6234, allocations: 315.9 kB / 0.5333 GB, free: 12.6 MB / 478.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.004391/0.6278, allocations: 1.422 MB / 0.5346 GB, free: 11.17 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000888/0.6287, allocations: 260.6 kB / 0.5349 GB, free: 10.91 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001317/0.6301, allocations: 415.2 kB / 0.5353 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01307/0.6432, allocations: 5.01 MB / 0.5402 GB, free: 5.453 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.286e-05/0.6432, allocations: 4 kB / 0.5402 GB, free: 5.449 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-05/0.6433, allocations: 11.92 kB / 0.5402 GB, free: 5.438 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01004/0.6533, allocations: 5.338 MB / 0.5454 GB, free: 20 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.898e-05/0.6534, allocations: 11.88 kB / 0.5454 GB, free: 8 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2139/0.8673, allocations: 364.1 kB / 0.5458 GB, free: 151.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01001/0.8773, allocations: 2.382 MB / 0.5481 GB, free: 151.5 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006676/0.878, allocations: 47.39 kB / 0.5481 GB, free: 151.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00969/0.8877, allocations: 9.439 MB / 0.5574 GB, free: 146.1 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001592/0.8894, allocations: 3.069 MB / 0.5604 GB, free: 143.2 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0185/0.9079, allocations: 8.779 MB / 0.5689 GB, free: 140.8 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009622/0.9089, allocations: 331.6 kB / 0.5692 GB, free: 140.6 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006009/0.9095, allocations: 36.83 kB / 0.5693 GB, free: 140.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002362/0.9119, allocations: 316.4 kB / 0.5696 GB, free: 140.6 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005263/0.9124, allocations: 108.1 kB / 0.5697 GB, free: 140.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001965/0.9126, allocations: 52.06 kB / 0.5697 GB, free: 140.6 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003496/0.9161, allocations: 1.882 MB / 0.5716 GB, free: 140 MB / 478.1 MB Notification: Performance of sort global known variables: time 2e-07/0.9161, allocations: 0 / 0.5716 GB, free: 140 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006019/0.9222, allocations: 1.014 MB / 0.5726 GB, free: 139.9 MB / 478.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.0005759/0.9227, allocations: 163.2 kB / 0.5727 GB, free: 139.8 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0119/0.9347, allocations: 7.462 MB / 0.58 GB, free: 136.9 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.685e-06/0.9347, allocations: 0 / 0.58 GB, free: 136.9 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006127/0.9408, allocations: 3.643 MB / 0.5836 GB, free: 135.3 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002634/0.9435, allocations: 312.4 kB / 0.5839 GB, free: 135.2 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01103/0.9545, allocations: 8.13 MB / 0.5918 GB, free: 128 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001686/0.9563, allocations: 2.295 MB / 0.594 GB, free: 125.7 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003343/0.9596, allocations: 1.671 MB / 0.5957 GB, free: 124 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007157/0.9604, allocations: 195.3 kB / 0.5959 GB, free: 123.8 MB / 478.1 MB Notification: Performance of SimCode: time 7.21e-07/0.9604, allocations: 4 kB / 0.5959 GB, free: 123.8 MB / 478.1 MB Notification: Performance of Templates: time 0.05646/1.017, allocations: 43.4 MB / 0.6382 GB, free: 80.41 MB / 478.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)