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.001129/0.001129, allocations: 104.3 kB / 16.62 MB, free: 6.805 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.001143/0.001143, allocations: 193.9 kB / 17.55 MB, free: 5.953 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.398/1.398, allocations: 205.1 MB / 223.4 MB, free: 12.45 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.001248/0.001249, allocations: 51.92 kB / 279.5 MB, free: 3.496 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08603/0.08729, allocations: 46.63 MB / 326.1 MB, free: 4.805 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.01391/0.1012, allocations: 13.97 MB / 340.1 MB, free: 6.762 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009715/0.111, allocations: 4.203 MB / 344.3 MB, free: 2.547 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00286/0.114, allocations: 51.88 kB / 344.4 MB, free: 2.496 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002041/0.116, allocations: 0.6269 MB / 345 MB, free: 1.867 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004692/0.1208, allocations: 1.305 MB / 346.3 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001353/0.1221, allocations: 479.3 kB / 346.8 MB, free: 92 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004492/0.1266, allocations: 3.148 MB / 349.9 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001254/0.1279, allocations: 475.1 kB / 350.4 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001575/0.1295, allocations: 0.8094 MB / 351.2 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002067/0.1316, allocations: 1.371 MB / 352.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005606/0.1322, allocations: 132 kB / 352.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002172/0.1343, allocations: 0.9555 MB / 353.6 MB, free: 9.184 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001764/0.1361, allocations: 1.118 MB / 354.8 MB, free: 8.062 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00272/0.1389, allocations: 1.25 MB / 356 MB, free: 6.805 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006305/0.1452, allocations: 3.902 MB / 359.9 MB, free: 2.891 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.1452, allocations: 0 / 359.9 MB, free: 2.891 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1452, allocations: 0 / 359.9 MB, free: 2.891 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001267/0.1454, allocations: 0 / 359.9 MB, free: 2.891 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.0079/0.1533, allocations: 3.22 MB / 363.1 MB, free: 15.61 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.1533, allocations: 12.03 kB / 363.2 MB, free: 15.6 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008036/0.1614, allocations: 1.889 MB / 365 MB, free: 13.7 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003488/0.1649, allocations: 1.723 MB / 366.8 MB, free: 11.94 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/0.1651, allocations: 114.6 kB / 366.9 MB, free: 11.82 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001032/0.1661, allocations: 307.4 kB / 367.2 MB, free: 11.52 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0162/0.1823, allocations: 8.223 MB / 375.4 MB, free: 2.734 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.821e-05/0.1825, allocations: 35.69 kB / 375.4 MB, free: 2.699 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003127/0.1828, allocations: 75.89 kB / 375.5 MB, free: 2.625 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00224/0.185, allocations: 1.401 MB / 376.9 MB, free: 1.223 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.208/0.3931, allocations: 9.536 MB / 386.4 MB, free: 48.74 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0286/0.4217, allocations: 30.61 MB / 417.1 MB, free: 23.54 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01024/0.432, allocations: 4.374 MB / 421.4 MB, free: 19.01 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002355/0.4344, allocations: 2.11 MB / 423.5 MB, free: 16.89 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001111/0.4345, allocations: 24.52 kB / 423.6 MB, free: 16.87 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.187e-05/0.4346, allocations: 42.55 kB / 423.6 MB, free: 16.82 MB / 318.1 MB Notification: Performance of pre-optimization done (n=122): time 4.699e-06/0.4346, allocations: 0 / 423.6 MB, free: 16.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=136): time 0.04304/0.4777, allocations: 18.34 MB / 441.9 MB, free: 14.2 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002657/0.4803, allocations: 3.233 MB / 445.2 MB, free: 10.64 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004389/0.4848, allocations: 2.998 MB / 448.2 MB, free: 7.617 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005129/0.4853, allocations: 45.64 kB / 448.2 MB, free: 7.566 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001467/0.4868, allocations: 2.087 MB / 450.3 MB, free: 5.488 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008316/0.4876, allocations: 0.5699 MB / 450.9 MB, free: 4.922 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001391/0.489, allocations: 1.011 MB / 451.9 MB, free: 3.902 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.675e-05/0.4891, allocations: 305.1 kB / 452.2 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003785/0.4929, allocations: 2.641 MB / 454.8 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006411/0.4993, allocations: 5.581 MB / 460.4 MB, free: 9.895 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0112/0.5106, allocations: 8.624 MB / 469 MB, free: 15.81 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.127e-05/0.5107, allocations: 28.88 kB / 469.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.0339/0.5446, allocations: 11.77 MB / 480.8 MB, free: 3.977 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001061/0.5448, allocations: 52 kB / 480.9 MB, free: 3.926 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02348/0.5682, allocations: 7.023 MB / 487.9 MB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02233/0.5906, allocations: 4.546 MB / 492.5 MB, free: 8.293 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004979/0.5957, allocations: 1.244 MB / 493.7 MB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01743/0.6131, allocations: 12.56 MB / 0.4944 GB, free: 9.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005575/0.6187, allocations: 0.5771 MB / 0.4949 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001345/0.6201, allocations: 316 kB / 0.4953 GB, free: 9.043 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.003566/0.6237, allocations: 1.414 MB / 0.4966 GB, free: 7.617 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008387/0.6245, allocations: 260.9 kB / 0.4969 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001032/0.6256, allocations: 415.2 kB / 0.4973 GB, free: 6.949 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01169/0.6373, allocations: 5.021 MB / 0.5022 GB, free: 1.891 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.877e-05/0.6373, allocations: 4 kB / 0.5022 GB, free: 1.887 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.561e-05/0.6374, allocations: 7.969 kB / 0.5022 GB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01046/0.6479, allocations: 5.358 MB / 0.5074 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.131e-05/0.6479, allocations: 4 kB / 0.5074 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001928/0.6498, allocations: 367.4 kB / 0.5078 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00872/0.6586, allocations: 2.394 MB / 0.5101 GB, free: 9.652 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006119/0.6592, allocations: 51.94 kB / 0.5102 GB, free: 9.602 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1905/0.8497, allocations: 9.437 MB / 0.5194 GB, free: 130.6 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001732/0.8515, allocations: 3.073 MB / 0.5224 GB, free: 127.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02001/0.8715, allocations: 8.752 MB / 0.5309 GB, free: 126.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001048/0.8726, allocations: 332 kB / 0.5312 GB, free: 126.1 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008846/0.8735, allocations: 37.56 kB / 0.5313 GB, free: 126 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003923/0.8775, allocations: 315.5 kB / 0.5316 GB, free: 126 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008076/0.8783, allocations: 103 kB / 0.5317 GB, free: 126 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003039/0.8786, allocations: 54.45 kB / 0.5317 GB, free: 126 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.004668/0.8833, allocations: 1.885 MB / 0.5336 GB, free: 125.4 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.683e-06/0.8833, allocations: 0 / 0.5336 GB, free: 125.4 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.005233/0.8886, allocations: 1.013 MB / 0.5346 GB, free: 125.3 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.0006171/0.8892, allocations: 177.1 kB / 0.5347 GB, free: 125.2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01289/0.9022, allocations: 7.737 MB / 0.5423 GB, free: 122.4 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.9022, allocations: 0 / 0.5423 GB, free: 122.4 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00809/0.9103, allocations: 3.642 MB / 0.5458 GB, free: 120.8 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00456/0.9149, allocations: 313.3 kB / 0.5461 GB, free: 120.6 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01897/0.9339, allocations: 9.334 MB / 0.5553 GB, free: 113.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003692/0.9377, allocations: 2.303 MB / 0.5575 GB, free: 111.6 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.006204/0.9439, allocations: 1.658 MB / 0.5591 GB, free: 110.4 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001386/0.9453, allocations: 199.3 kB / 0.5593 GB, free: 110.2 MB / 414.1 MB Notification: Performance of SimCode: time 1.512e-06/0.9453, allocations: 0 / 0.5593 GB, free: 110.2 MB / 414.1 MB Notification: Performance of Templates: time 0.06372/1.009, allocations: 46.31 MB / 0.6045 GB, free: 63.91 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)