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.006588/0.006587, allocations: 105.5 kB / 15.74 MB, free: 6.008 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.0014/0.0014, allocations: 194.4 kB / 16.67 MB, free: 5.93 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.462/1.462, allocations: 205.1 MB / 222.5 MB, free: 4.504 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.001166/0.001167, allocations: 56.08 kB / 326.6 MB, free: 14.38 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08479/0.08597, allocations: 46.62 MB / 373.2 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.007834/0.09384, allocations: 6.989 MB / 380.2 MB, free: 10.29 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005937/0.09982, allocations: 3.096 MB / 383.3 MB, free: 7.18 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008511/0.1007, allocations: 39.88 kB / 383.3 MB, free: 7.141 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001575/0.1023, allocations: 0.6575 MB / 384 MB, free: 6.48 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003354/0.1057, allocations: 1.393 MB / 385.4 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009444/0.1067, allocations: 499.1 kB / 385.8 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00376/0.1104, allocations: 3.129 MB / 389 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000676/0.1111, allocations: 459.1 kB / 389.4 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009713/0.1121, allocations: 0.8094 MB / 390.2 MB, free: 188 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00132/0.1134, allocations: 1.211 MB / 391.4 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002807/0.1137, allocations: 132 kB / 391.6 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001559/0.1153, allocations: 0.9514 MB / 392.5 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009399/0.1163, allocations: 1.091 MB / 393.6 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001109/0.1174, allocations: 1.23 MB / 394.8 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004178/0.1216, allocations: 4.036 MB / 398.9 MB, free: 7.504 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.1216, allocations: 0 / 398.9 MB, free: 7.504 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1216, allocations: 0 / 398.9 MB, free: 7.504 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.351e-05/0.1217, allocations: 3.984 kB / 398.9 MB, free: 7.5 MB / 334.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.007105/0.1288, allocations: 3.205 MB / 402.1 MB, free: 4.234 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.1289, allocations: 12.03 kB / 402.1 MB, free: 4.223 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008441/0.1374, allocations: 1.889 MB / 404 MB, free: 2.328 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003775/0.1412, allocations: 1.757 MB / 405.7 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001091/0.1413, allocations: 110.6 kB / 405.8 MB, free: 424 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001083/0.1424, allocations: 303.5 kB / 406.1 MB, free: 120 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01488/0.1573, allocations: 8.219 MB / 414.4 MB, free: 7.332 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.185e-05/0.1574, allocations: 35.66 kB / 414.4 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002822/0.1577, allocations: 87.83 kB / 414.5 MB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00228/0.16, allocations: 1.401 MB / 415.9 MB, free: 5.805 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01844/0.1784, allocations: 9.534 MB / 425.4 MB, free: 12.26 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2581/0.4366, allocations: 30.53 MB / 456 MB, free: 50.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01383/0.4505, allocations: 4.389 MB / 460.3 MB, free: 49.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003312/0.4538, allocations: 2.109 MB / 462.5 MB, free: 49.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.687e-05/0.454, allocations: 16.59 kB / 462.5 MB, free: 49.62 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.454, allocations: 50.44 kB / 462.5 MB, free: 49.58 MB / 382.1 MB Notification: Performance of pre-optimization done (n=122): time 3.347e-06/0.454, allocations: 0 / 462.5 MB, free: 49.58 MB / 382.1 MB Notification: Performance of matching and sorting (n=136): time 0.04504/0.4991, allocations: 18.32 MB / 480.8 MB, free: 42.63 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0018/0.5009, allocations: 3.233 MB / 484.1 MB, free: 39.31 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003594/0.5045, allocations: 3.001 MB / 487.1 MB, free: 36.37 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005514/0.5051, allocations: 44.08 kB / 487.1 MB, free: 36.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009791/0.5061, allocations: 2.083 MB / 489.2 MB, free: 34.26 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000793/0.5069, allocations: 0.5668 MB / 489.8 MB, free: 33.7 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001266/0.5081, allocations: 1.011 MB / 490.8 MB, free: 32.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.17e-05/0.5082, allocations: 309.9 kB / 491.1 MB, free: 32.37 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003085/0.5113, allocations: 2.636 MB / 493.7 MB, free: 29.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004218/0.5155, allocations: 5.588 MB / 499.3 MB, free: 22.74 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007668/0.5232, allocations: 8.626 MB / 0.496 GB, free: 12.81 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.703e-05/0.5233, allocations: 32 kB / 0.4961 GB, free: 12.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.03003/0.5533, allocations: 11.77 MB / 0.5075 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.869e-05/0.5534, allocations: 56.23 kB / 0.5076 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02428/0.5777, allocations: 7.009 MB / 0.5144 GB, free: 9.879 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02331/0.6011, allocations: 4.546 MB / 0.5189 GB, free: 5.305 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004796/0.6059, allocations: 1.247 MB / 0.5201 GB, free: 4.059 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01701/0.6229, allocations: 12.54 MB / 0.5323 GB, free: 6.973 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005731/0.6287, allocations: 0.5803 MB / 0.5329 GB, free: 6.395 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001198/0.6299, allocations: 315.8 kB / 0.5332 GB, free: 6.09 MB / 414.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.003923/0.6339, allocations: 1.41 MB / 0.5346 GB, free: 4.668 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007343/0.6346, allocations: 256.7 kB / 0.5348 GB, free: 4.414 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001017/0.6356, allocations: 415.2 kB / 0.5352 GB, free: 4.004 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01234/0.648, allocations: 5.022 MB / 0.5401 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.662e-05/0.648, allocations: 4 kB / 0.5401 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-05/0.6481, allocations: 3.984 kB / 0.5401 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009924/0.658, allocations: 5.372 MB / 0.5454 GB, free: 9.535 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.658, allocations: 4 kB / 0.5454 GB, free: 9.531 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00184/0.6599, allocations: 367.4 kB / 0.5457 GB, free: 9.172 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00913/0.669, allocations: 2.388 MB / 0.5481 GB, free: 6.758 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005133/0.6696, allocations: 43.95 kB / 0.5481 GB, free: 6.715 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01012/0.6797, allocations: 9.44 MB / 0.5573 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002095/0.6819, allocations: 3.067 MB / 0.5603 GB, free: 9.371 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01727/0.6991, allocations: 8.774 MB / 0.5689 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008638/0.7, allocations: 321.8 kB / 0.5692 GB, free: 204 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004363/0.7005, allocations: 31.98 kB / 0.5692 GB, free: 172 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0022/0.7027, allocations: 319.4 kB / 0.5695 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004365/0.7031, allocations: 111.8 kB / 0.5697 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000164/0.7033, allocations: 47.97 kB / 0.5697 GB, free: 15.7 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002803/0.7061, allocations: 1.883 MB / 0.5715 GB, free: 13.81 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.7061, allocations: 0 / 0.5715 GB, free: 13.81 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004198/0.7103, allocations: 1.006 MB / 0.5725 GB, free: 12.81 MB / 462.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.0004652/0.7108, allocations: 168.5 kB / 0.5727 GB, free: 12.64 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01288/0.7237, allocations: 7.469 MB / 0.58 GB, free: 5.062 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.7238, allocations: 4.125 kB / 0.58 GB, free: 5.059 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006744/0.7305, allocations: 3.642 MB / 0.5835 GB, free: 1.277 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002248/0.7328, allocations: 311.9 kB / 0.5838 GB, free: 0.9766 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01161/0.7444, allocations: 8.141 MB / 0.5918 GB, free: 8.797 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00226/0.7467, allocations: 2.301 MB / 0.594 GB, free: 6.473 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003808/0.7505, allocations: 1.667 MB / 0.5957 GB, free: 4.797 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007738/0.7513, allocations: 195.3 kB / 0.5958 GB, free: 4.605 MB / 478.1 MB Notification: Performance of SimCode: time 3.406e-06/0.7513, allocations: 0 / 0.5958 GB, free: 4.605 MB / 478.1 MB Notification: Performance of Templates: time 0.2723/1.024, allocations: 43.4 MB / 0.6382 GB, free: 180.3 MB / 0.4981 GB 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)