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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003037/0.003037, allocations: 173.2 kB / 7.449 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.333/1.333, allocations: 170.6 MB / 178.4 MB, free: 15.4 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001739/0.001739, allocations: 116.4 kB / 217.7 MB, free: 8.168 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 9.568e-06/9.588e-06, allocations: 4 kB / 261.7 MB, free: 26.65 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09257/0.09259, allocations: 38.77 MB / 300.5 MB, free: 3.898 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2751/0.3677, allocations: 74.95 MB / 375.5 MB, free: 9.707 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002203/0.368, allocations: 80.08 kB / 375.5 MB, free: 9.668 MB / 266.7 MB Notification: Performance of FrontEnd: time 0.1661/0.5342, allocations: 57.14 MB / 432.7 MB, free: 6.43 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001952/0.5344, allocations: 40 kB / 432.7 MB, free: 6.391 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 908 * Number of variables: 908 Notification: Performance of Generate backend data structure: time 0.01905/0.5535, allocations: 3.192 MB / 435.9 MB, free: 3.141 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.5536, allocations: 8.031 kB / 435.9 MB, free: 3.133 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0106/0.5642, allocations: 1.794 MB / 437.7 MB, free: 1.332 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01393/0.5782, allocations: 4.789 MB / 442.5 MB, free: 12.49 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002088/0.5785, allocations: 72 kB / 442.6 MB, free: 12.42 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001695/0.5802, allocations: 131.9 kB / 442.7 MB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008349/0.5885, allocations: 4.189 MB / 446.9 MB, free: 8.09 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01043/0.599, allocations: 6.437 MB / 453.3 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001151/0.5992, allocations: 59.47 kB / 453.4 MB, free: 0.75 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003845/0.5996, allocations: 24 kB / 453.4 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001193/0.6008, allocations: 0.7686 MB / 454.2 MB, free: 15.95 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.256/0.8568, allocations: 33.38 MB / 487.6 MB, free: 40.43 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00315/0.86, allocations: 2.268 MB / 489.8 MB, free: 39.76 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001509/0.8615, allocations: 1.345 MB / 491.2 MB, free: 39.72 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001021/0.8626, allocations: 0.6336 MB / 491.8 MB, free: 39.16 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.8626, allocations: 54.09 kB / 491.9 MB, free: 39.12 MB / 346.7 MB Notification: Performance of pre-optimization done (n=122): time 4.819e-06/0.8626, allocations: 0 / 491.9 MB, free: 39.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=136): time 0.05417/0.9168, allocations: 22.84 MB / 0.5026 GB, free: 36.84 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.624e-05/0.9169, allocations: 170.1 kB / 0.5028 GB, free: 36.66 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004082/0.921, allocations: 2.329 MB / 0.5051 GB, free: 36.38 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005427/0.9216, allocations: 28.27 kB / 0.5051 GB, free: 36.35 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001311/0.9229, allocations: 1.992 MB / 0.507 GB, free: 35.29 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007925/0.9237, allocations: 0.5523 MB / 0.5076 GB, free: 35 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002053/0.9239, allocations: 0 / 0.5076 GB, free: 35 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002691/0.9242, allocations: 0.5172 MB / 0.5081 GB, free: 34.68 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002757/0.927, allocations: 2.077 MB / 0.5101 GB, free: 34.67 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004879/0.9319, allocations: 5.049 MB / 0.515 GB, free: 30.75 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0155/0.9474, allocations: 6.979 MB / 0.5219 GB, free: 29.34 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001048/0.9475, allocations: 29.34 kB / 0.5219 GB, free: 29.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.03265/0.9802, allocations: 11.71 MB / 0.5333 GB, free: 26.54 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.165e-05/0.9803, allocations: 9.406 kB / 0.5333 GB, free: 26.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02169/1.002, allocations: 7.599 MB / 0.5407 GB, free: 23.53 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00787/1.01, allocations: 1.896 MB / 0.5426 GB, free: 22.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005789/1.016, allocations: 1.166 MB / 0.5437 GB, free: 21.21 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006442/1.022, allocations: 7.039 MB / 0.5506 GB, free: 14.26 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006293/1.029, allocations: 348.6 kB / 0.5509 GB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001146/1.03, allocations: 321.4 kB / 0.5512 GB, free: 13.71 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 487 * Number of states: 0 () * Number of discrete variables: 15 (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.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (602): * Single equations (assignments): 587 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001712/1.031, allocations: 377 kB / 0.5516 GB, free: 13.34 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005874/1.032, allocations: 233 kB / 0.5518 GB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007681/1.033, allocations: 346.9 kB / 0.5522 GB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02078/1.054, allocations: 7.601 MB / 0.5596 GB, free: 6.965 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.621e-05/1.054, allocations: 4 kB / 0.5596 GB, free: 6.961 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-05/1.054, allocations: 9.812 kB / 0.5596 GB, free: 6.957 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009976/1.064, allocations: 4.642 MB / 0.5641 GB, free: 2.672 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/1.064, allocations: 0 / 0.5641 GB, free: 2.672 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001293/1.065, allocations: 223.6 kB / 0.5643 GB, free: 2.453 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007848/1.073, allocations: 2.054 MB / 0.5664 GB, free: 384 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004141/1.073, allocations: 43.84 kB / 0.5664 GB, free: 340 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01097/1.084, allocations: 8.404 MB / 0.5746 GB, free: 7.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002272/1.087, allocations: 2.715 MB / 0.5773 GB, free: 4.527 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02817/1.115, allocations: 10.86 MB / 0.5879 GB, free: 9.594 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001243/1.116, allocations: 309.9 kB / 0.5882 GB, free: 9.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004499/1.117, allocations: 23.92 kB / 0.5882 GB, free: 9.246 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00177/1.118, allocations: 139.7 kB / 0.5883 GB, free: 9.109 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002466/1.119, allocations: 67.81 kB / 0.5884 GB, free: 9.043 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000173/1.119, allocations: 55.97 kB / 0.5884 GB, free: 8.988 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.002632/1.122, allocations: 1.553 MB / 0.5899 GB, free: 7.426 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005418/1.127, allocations: 0.8282 MB / 0.5908 GB, free: 6.605 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 24 ($STATESET140303613856152.x[3],$STATESET140303613856152.x[2],$STATESET140303613856152.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],$STATESET140303613856151.x[3],$STATESET140303613856151.x[2],$STATESET140303613856151.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 () * 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 (linear and non-linear blocks): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007567/1.128, allocations: 170.2 kB / 0.5909 GB, free: 6.445 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01219/1.14, allocations: 5.847 MB / 0.5966 GB, free: 0.5156 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.281e-06/1.14, allocations: 0 / 0.5966 GB, free: 0.5156 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1649/1.305, allocations: 2.968 MB / 0.5995 GB, free: 146.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001995/1.307, allocations: 229.1 kB / 0.5997 GB, free: 146.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01432/1.321, allocations: 6.789 MB / 0.6064 GB, free: 145.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00293/1.324, allocations: 2.562 MB / 0.6089 GB, free: 144.7 MB / 378.7 MB Notification: Performance of SimCode: time 8.72e-07/1.324, allocations: 0 / 0.6089 GB, free: 144.7 MB / 378.7 MB Notification: Performance of Templates: time 0.06278/1.387, allocations: 34.59 MB / 0.6427 GB, free: 138.9 MB / 378.7 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)