Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.|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.",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.|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.",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001323/0.001323, allocations: 114.3 kB / 18.46 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001204/0.001204, allocations: 206.8 kB / 19.41 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.318/1.318, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 63.91 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2105, allocations: 50.55 MB / 409.9 MB, free: 1.633 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.007638/0.2181, allocations: 6.957 MB / 416.9 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005148/0.2233, allocations: 3.107 MB / 420 MB, free: 7.523 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005775/0.2239, allocations: 31.94 kB / 420 MB, free: 7.492 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001388/0.2253, allocations: 0.6653 MB / 420.7 MB, free: 6.824 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002549/0.2279, allocations: 1.362 MB / 422.1 MB, free: 5.457 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008259/0.2287, allocations: 495.1 kB / 422.5 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003182/0.2319, allocations: 3.21 MB / 425.8 MB, free: 1.758 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005233/0.2324, allocations: 451.1 kB / 426.2 MB, free: 1.305 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006946/0.2331, allocations: 0.79 MB / 427 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00124/0.2344, allocations: 1.207 MB / 428.2 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002312/0.2346, allocations: 128 kB / 428.3 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001344/0.236, allocations: 0.9399 MB / 429.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008291/0.2368, allocations: 1.063 MB / 430.3 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009296/0.2378, allocations: 1.215 MB / 431.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003271/0.2411, allocations: 3.991 MB / 435.5 MB, free: 7.945 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.2411, allocations: 4 kB / 435.5 MB, free: 7.941 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.2411, allocations: 0 / 435.5 MB, free: 7.941 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.38e-05/0.2411, allocations: 0 / 435.5 MB, free: 7.941 MB / 350.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.00544/0.2466, allocations: 3.178 MB / 438.7 MB, free: 4.703 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.2466, allocations: 8.031 kB / 438.7 MB, free: 4.695 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008331/0.2549, allocations: 2.013 MB / 440.7 MB, free: 2.676 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002578/0.2575, allocations: 1.59 MB / 442.3 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.589e-05/0.2576, allocations: 118.6 kB / 442.4 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008338/0.2585, allocations: 299.5 kB / 442.7 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0127/0.2712, allocations: 8.223 MB / 451 MB, free: 7.836 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-05/0.2713, allocations: 31.66 kB / 451 MB, free: 7.805 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002584/0.2715, allocations: 75.89 kB / 451.1 MB, free: 7.73 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002112/0.2736, allocations: 1.397 MB / 452.5 MB, free: 6.328 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01635/0.29, allocations: 9.542 MB / 462 MB, free: 12.78 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02993/0.32, allocations: 30.53 MB / 492.5 MB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01146/0.3314, allocations: 4.379 MB / 496.9 MB, free: 8.859 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002606/0.3341, allocations: 2.12 MB / 499 MB, free: 6.723 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.571e-05/0.3341, allocations: 11.98 kB / 499 MB, free: 6.711 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.3342, allocations: 46.55 kB / 499.1 MB, free: 6.656 MB / 414.1 MB Notification: Performance of pre-optimization done (n=122): time 3.666e-06/0.3342, allocations: 4 kB / 499.1 MB, free: 6.652 MB / 414.1 MB Notification: Performance of matching and sorting (n=124): time 0.04197/0.3762, allocations: 17.51 MB / 0.5045 GB, free: 4.867 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.057e-05/0.3763, allocations: 166.2 kB / 0.5046 GB, free: 4.668 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003552/0.3798, allocations: 2.982 MB / 0.5076 GB, free: 1.664 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001623/0.38, allocations: 45.69 kB / 0.5076 GB, free: 1.613 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001295/0.3813, allocations: 2.071 MB / 0.5096 GB, free: 15.51 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000495/0.3818, allocations: 0.5287 MB / 0.5101 GB, free: 14.97 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001304/0.3831, allocations: 0.9797 MB / 0.5111 GB, free: 13.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.729e-05/0.3832, allocations: 301.1 kB / 0.5114 GB, free: 13.68 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003409/0.3866, allocations: 2.434 MB / 0.5138 GB, free: 11.24 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005031/0.3917, allocations: 5.376 MB / 0.519 GB, free: 4.391 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009276/0.401, allocations: 8.296 MB / 0.5271 GB, free: 10.63 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.759e-05/0.401, allocations: 28 kB / 0.5271 GB, free: 10.61 MB / 462.1 MB Notification: Performance of matching and sorting (n=626) (initialization): time 0.2007/0.6017, allocations: 11.5 MB / 0.5384 GB, free: 119.4 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001058/0.6019, allocations: 49.94 kB / 0.5384 GB, free: 119.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02072/0.6226, allocations: 6.725 MB / 0.545 GB, free: 119.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02059/0.6432, allocations: 4.722 MB / 0.5496 GB, free: 119 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003423/0.6467, allocations: 1.217 MB / 0.5508 GB, free: 119 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01358/0.6603, allocations: 12.58 MB / 0.5631 GB, free: 108.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003528/0.6638, allocations: 464.1 kB / 0.5635 GB, free: 108.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003271/0.6641, allocations: 311.2 kB / 0.5638 GB, free: 107.8 MB / 462.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 (582): * Single equations (assignments): 571 * 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 {(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.00145/0.6656, allocations: 1.401 MB / 0.5652 GB, free: 106.6 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003765/0.666, allocations: 259.7 kB / 0.5654 GB, free: 106.5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005525/0.6665, allocations: 403 kB / 0.5658 GB, free: 106.1 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.6666, allocations: 11.97 kB / 0.5658 GB, free: 106.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.6666, allocations: 0 / 0.5658 GB, free: 106.1 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003157/0.6669, allocations: 305.5 kB / 0.5661 GB, free: 105.9 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003373/0.6672, allocations: 39.97 kB / 0.5661 GB, free: 105.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001681/0.6689, allocations: 259.5 kB / 0.5664 GB, free: 105.6 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002848/0.6692, allocations: 98.38 kB / 0.5665 GB, free: 105.5 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007026/0.6762, allocations: 4.942 MB / 0.5713 GB, free: 100.6 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005733/0.682, allocations: 6.028 MB / 0.5772 GB, free: 94.64 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00154/0.6835, allocations: 1.63 MB / 0.5788 GB, free: 93.02 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001816/0.6854, allocations: 1.859 MB / 0.5806 GB, free: 91.16 MB / 462.1 MB Notification: Performance of Backend: time 3e-07/0.6854, allocations: 0 / 0.5806 GB, free: 91.16 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008713/0.6941, allocations: 5.683 MB / 0.5862 GB, free: 85.42 MB / 462.1 MB Notification: Performance of SimCode: time 0.006842/0.701, allocations: 7.088 MB / 0.5931 GB, free: 78.33 MB / 462.1 MB Notification: Performance of Templates: time 0.05877/0.7597, allocations: 54.96 MB / 0.6468 GB, free: 23.45 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1)