Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001112/0.001112, allocations: 98.62 kB / 16.5 MB, free: 6.641 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.001264/0.001264, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.358/1.358, allocations: 205.1 MB / 223.3 MB, free: 12.46 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.001403/0.001403, allocations: 44.34 kB / 279.3 MB, free: 3.594 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09489/0.09631, allocations: 46.63 MB / 326 MB, free: 4.895 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.01379/0.1101, allocations: 13.98 MB / 339.9 MB, free: 6.848 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008019/0.1182, allocations: 4.297 MB / 344.2 MB, free: 2.539 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001769/0.12, allocations: 55.81 kB / 344.3 MB, free: 2.484 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0017/0.1217, allocations: 0.627 MB / 344.9 MB, free: 1.855 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002882/0.1246, allocations: 1.301 MB / 346.2 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008569/0.1255, allocations: 463.3 kB / 346.7 MB, free: 100 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004408/0.1299, allocations: 4.158 MB / 350.8 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007256/0.1307, allocations: 431.1 kB / 351.3 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009162/0.1316, allocations: 0.6846 MB / 351.9 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001468/0.1331, allocations: 1.312 MB / 353.2 MB, free: 9.492 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002412/0.1333, allocations: 84 kB / 353.3 MB, free: 9.41 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001572/0.1349, allocations: 0.9632 MB / 354.3 MB, free: 8.445 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009878/0.1359, allocations: 1.071 MB / 355.4 MB, free: 7.371 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001046/0.137, allocations: 1.195 MB / 356.6 MB, free: 6.168 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004048/0.141, allocations: 3.835 MB / 360.4 MB, free: 2.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.141, allocations: 0 / 360.4 MB, free: 2.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1411, allocations: 0 / 360.4 MB, free: 2.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.826e-05/0.1411, allocations: 0 / 360.4 MB, free: 2.32 MB / 302.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.005946/0.1471, allocations: 3.216 MB / 363.6 MB, free: 15.04 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.1471, allocations: 8.031 kB / 363.6 MB, free: 15.04 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007722/0.1548, allocations: 1.892 MB / 365.5 MB, free: 13.14 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003212/0.1581, allocations: 1.73 MB / 367.2 MB, free: 11.36 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001271/0.1582, allocations: 114.6 kB / 367.4 MB, free: 11.25 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001127/0.1594, allocations: 307.4 kB / 367.7 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01549/0.1749, allocations: 8.223 MB / 375.9 MB, free: 2.16 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.068e-05/0.175, allocations: 31.75 kB / 375.9 MB, free: 2.129 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004812/0.1755, allocations: 83.88 kB / 376 MB, free: 2.047 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002123/0.1776, allocations: 1.393 MB / 377.4 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1715/0.3492, allocations: 9.538 MB / 386.9 MB, free: 48.65 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02886/0.3781, allocations: 30.61 MB / 417.5 MB, free: 22.98 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01023/0.3883, allocations: 4.387 MB / 421.9 MB, free: 18.44 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002342/0.3907, allocations: 2.109 MB / 424 MB, free: 16.31 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001111/0.3908, allocations: 21 kB / 424 MB, free: 16.29 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.3909, allocations: 50.5 kB / 424.1 MB, free: 16.23 MB / 318.1 MB Notification: Performance of pre-optimization done (n=122): time 3.396e-06/0.3909, allocations: 0 / 424.1 MB, free: 16.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=136): time 0.04288/0.4338, allocations: 18.32 MB / 442.4 MB, free: 13.63 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0026/0.4364, allocations: 3.06 MB / 445.5 MB, free: 10.26 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006178/0.4426, allocations: 3.006 MB / 448.5 MB, free: 7.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006713/0.4433, allocations: 45.14 kB / 448.5 MB, free: 7.184 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001682/0.445, allocations: 2.08 MB / 450.6 MB, free: 5.109 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001016/0.4461, allocations: 0.5661 MB / 451.2 MB, free: 4.547 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002721/0.4488, allocations: 1.017 MB / 452.2 MB, free: 3.523 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.4489, allocations: 301.1 kB / 452.5 MB, free: 3.227 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004461/0.4534, allocations: 2.633 MB / 455.1 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00724/0.4606, allocations: 5.585 MB / 460.7 MB, free: 9.523 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01224/0.4729, allocations: 8.622 MB / 469.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001423/0.4731, allocations: 28 kB / 469.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.03405/0.5072, allocations: 11.78 MB / 481.1 MB, free: 3.605 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001354/0.5074, allocations: 56.22 kB / 481.2 MB, free: 3.551 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02245/0.5298, allocations: 7.013 MB / 488.2 MB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02132/0.5512, allocations: 4.542 MB / 492.7 MB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004739/0.556, allocations: 1.248 MB / 494 MB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01725/0.5732, allocations: 11.48 MB / 0.4936 GB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005839/0.5791, allocations: 0.5732 MB / 0.4942 GB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001434/0.5806, allocations: 323.7 kB / 0.4945 GB, free: 9.789 MB / 398.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.00401/0.5846, allocations: 1.407 MB / 0.4959 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001048/0.5857, allocations: 252.7 kB / 0.4961 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001283/0.587, allocations: 415.2 kB / 0.4965 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01208/0.5991, allocations: 5.017 MB / 0.5014 GB, free: 2.656 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.692e-05/0.5991, allocations: 8 kB / 0.5014 GB, free: 2.648 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-05/0.5992, allocations: 3.984 kB / 0.5014 GB, free: 2.645 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009585/0.6087, allocations: 5.369 MB / 0.5067 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-05/0.6088, allocations: 0 / 0.5067 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001756/0.6106, allocations: 371.4 kB / 0.507 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00831/0.6189, allocations: 2.386 MB / 0.5093 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004542/0.6194, allocations: 47.94 kB / 0.5094 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009496/0.6289, allocations: 8.82 MB / 0.518 GB, free: 1.023 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.2028/0.8317, allocations: 2.896 MB / 0.5208 GB, free: 129.4 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01863/0.8504, allocations: 8.761 MB / 0.5294 GB, free: 127.8 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008849/0.8513, allocations: 324 kB / 0.5297 GB, free: 127.7 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000572/0.8519, allocations: 32.22 kB / 0.5297 GB, free: 127.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002243/0.8541, allocations: 316.5 kB / 0.53 GB, free: 127.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004958/0.8546, allocations: 110.9 kB / 0.5301 GB, free: 127.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002044/0.8548, allocations: 56.55 kB / 0.5302 GB, free: 127.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003188/0.858, allocations: 1.887 MB / 0.532 GB, free: 127 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.858, allocations: 3.844 kB / 0.532 GB, free: 127 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004539/0.8626, allocations: 1.002 MB / 0.533 GB, free: 127 MB / 414.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.0004925/0.8631, allocations: 173.4 kB / 0.5332 GB, free: 126.9 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01213/0.8752, allocations: 7.434 MB / 0.5404 GB, free: 124 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/0.8753, allocations: 0 / 0.5404 GB, free: 124 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006277/0.8816, allocations: 3.629 MB / 0.544 GB, free: 122.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00415/0.8857, allocations: 285.9 kB / 0.5443 GB, free: 122.3 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0155/0.9013, allocations: 9.335 MB / 0.5534 GB, free: 115.3 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002952/0.9043, allocations: 2.304 MB / 0.5556 GB, free: 113.5 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.004548/0.9088, allocations: 1.663 MB / 0.5572 GB, free: 112.2 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001196/0.9101, allocations: 199.3 kB / 0.5574 GB, free: 112 MB / 414.1 MB Notification: Performance of SimCode: time 1.122e-06/0.9101, allocations: 0 / 0.5574 GB, free: 112 MB / 414.1 MB Notification: Performance of Templates: time 0.05889/0.969, allocations: 44.4 MB / 0.6008 GB, free: 67.65 MB / 414.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1)