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.0008245/0.0008245, allocations: 90.83 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.0057/0.0057, allocations: 171.9 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.407/1.407, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.0004109/0.0004109, allocations: 8.375 kB / 279.4 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2354, allocations: 47.59 MB / 327 MB, free: 1.633 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.01296/0.2484, allocations: 13.39 MB / 340.4 MB, free: 6.09 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.009716/0.2581, allocations: 4.239 MB / 344.7 MB, free: 1.84 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002762/0.2609, allocations: 59.81 kB / 344.7 MB, free: 1.781 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009472/0.2619, allocations: 270.8 kB / 345 MB, free: 1.516 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003571/0.2655, allocations: 1.312 MB / 346.3 MB, free: 204 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001208/0.2667, allocations: 463.3 kB / 346.8 MB, free: 15.75 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004925/0.2717, allocations: 4.154 MB / 350.9 MB, free: 11.58 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001202/0.2729, allocations: 0.5348 MB / 351.4 MB, free: 11 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001214/0.2741, allocations: 0.6963 MB / 352.1 MB, free: 10.3 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001987/0.2761, allocations: 1.312 MB / 353.4 MB, free: 8.984 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005149/0.2767, allocations: 88 kB / 353.5 MB, free: 8.898 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001964/0.2787, allocations: 0.9514 MB / 354.5 MB, free: 7.945 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001235/0.2799, allocations: 1.075 MB / 355.6 MB, free: 6.867 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001521/0.2814, allocations: 1.224 MB / 356.8 MB, free: 5.629 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003803/0.2853, allocations: 3.781 MB / 360.6 MB, free: 1.836 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2853, allocations: 0 / 360.6 MB, free: 1.836 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2853, allocations: 4 kB / 360.6 MB, free: 1.832 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.62e-05/0.2854, allocations: 0 / 360.6 MB, free: 1.832 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.005822/0.2912, allocations: 2.714 MB / 363.3 MB, free: 15.06 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.2913, allocations: 8.031 kB / 363.3 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008186/0.2995, allocations: 1.939 MB / 365.2 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003197/0.3027, allocations: 1.727 MB / 367 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001098/0.3028, allocations: 126.6 kB / 367.1 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009929/0.3038, allocations: 295.5 kB / 367.4 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01477/0.3186, allocations: 8.246 MB / 375.6 MB, free: 2.109 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.42e-05/0.3187, allocations: 31.66 kB / 375.6 MB, free: 2.078 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002908/0.319, allocations: 79.88 kB / 375.7 MB, free: 2 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002191/0.3212, allocations: 1.401 MB / 377.1 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01805/0.3393, allocations: 9.538 MB / 386.7 MB, free: 7.051 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03567/0.375, allocations: 30.59 MB / 417.2 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01216/0.3872, allocations: 4.43 MB / 421.7 MB, free: 3.016 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003049/0.3903, allocations: 2.105 MB / 423.8 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.187e-05/0.3904, allocations: 19.94 kB / 423.8 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.3905, allocations: 42.56 kB / 423.8 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of pre-optimization done (n=122): time 4.569e-06/0.3905, allocations: 0 / 423.8 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of matching and sorting (n=136): time 0.04847/0.439, allocations: 18.46 MB / 442.3 MB, free: 14.08 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002433/0.4414, allocations: 3.054 MB / 445.4 MB, free: 10.7 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004366/0.4458, allocations: 3.002 MB / 448.4 MB, free: 7.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006224/0.4465, allocations: 41.7 kB / 448.4 MB, free: 7.633 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001467/0.448, allocations: 2.087 MB / 450.5 MB, free: 5.516 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009051/0.4489, allocations: 0.5633 MB / 451 MB, free: 4.945 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006415/0.4495, allocations: 420.7 kB / 451.5 MB, free: 4.527 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.4496, allocations: 305.1 kB / 451.8 MB, free: 4.227 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003998/0.4536, allocations: 2.629 MB / 454.4 MB, free: 1.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2053/0.659, allocations: 5.59 MB / 460 MB, free: 108.3 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008646/0.6677, allocations: 8.619 MB / 468.6 MB, free: 102.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.512e-05/0.6678, allocations: 31.62 kB / 468.6 MB, free: 102.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.02955/0.6973, allocations: 11.78 MB / 480.4 MB, free: 97.62 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.259e-05/0.6975, allocations: 49.56 kB / 480.5 MB, free: 97.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02103/0.7185, allocations: 7.013 MB / 487.5 MB, free: 90.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02197/0.7405, allocations: 4.544 MB / 492 MB, free: 85.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004334/0.7449, allocations: 1.244 MB / 493.3 MB, free: 84.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01332/0.7582, allocations: 11.47 MB / 0.4929 GB, free: 72.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005025/0.7633, allocations: 0.5818 MB / 0.4935 GB, free: 72.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006349/0.7639, allocations: 319.9 kB / 0.4938 GB, free: 71.88 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.001894/0.7658, allocations: 1.424 MB / 0.4952 GB, free: 70.51 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004044/0.7663, allocations: 252.4 kB / 0.4954 GB, free: 70.39 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008747/0.7671, allocations: 415.2 kB / 0.4958 GB, free: 69.99 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01062/0.7778, allocations: 5.019 MB / 0.5007 GB, free: 64.94 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.987e-05/0.7778, allocations: 4 kB / 0.5007 GB, free: 64.94 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.86e-05/0.7778, allocations: 3.984 kB / 0.5007 GB, free: 64.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006718/0.7846, allocations: 5.354 MB / 0.5059 GB, free: 59.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.258e-05/0.7846, allocations: 4.141 kB / 0.5059 GB, free: 59.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001642/0.7862, allocations: 369.7 kB / 0.5063 GB, free: 59.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008278/0.7945, allocations: 2.386 MB / 0.5086 GB, free: 56.8 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004265/0.795, allocations: 53.67 kB / 0.5087 GB, free: 56.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00733/0.8023, allocations: 8.842 MB / 0.5173 GB, free: 47.42 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001367/0.8037, allocations: 2.902 MB / 0.5201 GB, free: 44.26 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01503/0.8188, allocations: 8.767 MB / 0.5287 GB, free: 35.46 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008559/0.8197, allocations: 337.6 kB / 0.529 GB, free: 35.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004496/0.8201, allocations: 36.53 kB / 0.5291 GB, free: 35.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002121/0.8223, allocations: 320 kB / 0.5294 GB, free: 34.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004136/0.8227, allocations: 103.8 kB / 0.5295 GB, free: 34.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000152/0.8228, allocations: 52.58 kB / 0.5295 GB, free: 34.61 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002396/0.8252, allocations: 1.879 MB / 0.5313 GB, free: 32.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.513e-06/0.8253, allocations: 4 kB / 0.5314 GB, free: 32.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004032/0.8293, allocations: 1.007 MB / 0.5323 GB, free: 31.73 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.0004808/0.8298, allocations: 165.4 kB / 0.5325 GB, free: 31.56 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0105/0.8403, allocations: 7.398 MB / 0.5397 GB, free: 24.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.8403, allocations: 4.188 kB / 0.5397 GB, free: 24.04 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005421/0.8458, allocations: 3.622 MB / 0.5433 GB, free: 20.28 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002604/0.8484, allocations: 290.6 kB / 0.5435 GB, free: 20 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/0.8584, allocations: 9.623 MB / 0.5529 GB, free: 10.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00164/0.8601, allocations: 2.306 MB / 0.5552 GB, free: 7.977 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003659/0.8638, allocations: 1.663 MB / 0.5568 GB, free: 6.305 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008332/0.8646, allocations: 199.3 kB / 0.557 GB, free: 6.109 MB / 382.1 MB Notification: Performance of SimCode: time 3.436e-06/0.8647, allocations: 0 / 0.557 GB, free: 6.109 MB / 382.1 MB Notification: Performance of Templates: time 0.07507/0.9397, allocations: 43.82 MB / 0.5998 GB, free: 10.28 MB / 430.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)