Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001592/0.001592, allocations: 114.5 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001861/0.001861, allocations: 212.1 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.46/1.46, allocations: 230.4 MB / 258.1 MB, free: 8.133 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=5002,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_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003073/0.003073, allocations: 67.89 kB / 378.8 MB, free: 2.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.2298, allocations: 53.32 MB / 432.1 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.008467/0.2383, allocations: 6.997 MB / 439.1 MB, free: 356 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005523/0.2438, allocations: 3.154 MB / 442.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005148/0.2443, allocations: 31.94 kB / 442.3 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001453/0.2457, allocations: 0.6885 MB / 442.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002649/0.2484, allocations: 1.382 MB / 444.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00089/0.2493, allocations: 495 kB / 444.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003756/0.253, allocations: 3.209 MB / 448 MB, free: 7.375 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000487/0.2535, allocations: 351.2 kB / 448.4 MB, free: 7.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009023/0.2544, allocations: 0.79 MB / 449.1 MB, free: 6.227 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001708/0.2561, allocations: 1.335 MB / 450.5 MB, free: 4.887 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002504/0.2564, allocations: 128 kB / 450.6 MB, free: 4.762 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001604/0.258, allocations: 0.9788 MB / 451.6 MB, free: 3.781 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001008/0.259, allocations: 1.087 MB / 452.7 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001091/0.2601, allocations: 1.207 MB / 453.9 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004037/0.2641, allocations: 4.016 MB / 457.9 MB, free: 13.44 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2641, allocations: 0 / 457.9 MB, free: 13.44 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2641, allocations: 0 / 457.9 MB, free: 13.44 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.544e-05/0.2642, allocations: 0 / 457.9 MB, free: 13.44 MB / 366.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.006049/0.2702, allocations: 3.259 MB / 461.2 MB, free: 10.12 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.2702, allocations: 12.86 kB / 461.2 MB, free: 10.11 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008809/0.2791, allocations: 2.027 MB / 463.2 MB, free: 8.074 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003241/0.2823, allocations: 1.598 MB / 464.8 MB, free: 6.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/0.2824, allocations: 114.6 kB / 464.9 MB, free: 6.316 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008966/0.2833, allocations: 303.5 kB / 465.2 MB, free: 6.02 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01414/0.2974, allocations: 8.215 MB / 473.4 MB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.085e-05/0.2975, allocations: 35.7 kB / 473.5 MB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002784/0.2978, allocations: 79.89 kB / 473.5 MB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002361/0.3002, allocations: 1.397 MB / 474.9 MB, free: 11.72 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01821/0.3184, allocations: 9.546 MB / 484.5 MB, free: 2.164 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03758/0.3559, allocations: 30.57 MB / 0.503 GB, free: 2.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01231/0.3683, allocations: 4.329 MB / 0.5072 GB, free: 14.26 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002873/0.3711, allocations: 2.086 MB / 0.5092 GB, free: 12.16 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.093e-05/0.3712, allocations: 12 kB / 0.5092 GB, free: 12.15 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.632e-05/0.3712, allocations: 46.5 kB / 0.5093 GB, free: 12.09 MB / 430.1 MB Notification: Performance of pre-optimization done (n=122): time 3.477e-06/0.3712, allocations: 0 / 0.5093 GB, free: 12.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=124): time 0.04604/0.4173, allocations: 17.66 MB / 0.5265 GB, free: 10.17 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.4174, allocations: 170.2 kB / 0.5267 GB, free: 9.969 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004127/0.4215, allocations: 2.983 MB / 0.5296 GB, free: 6.965 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000199/0.4217, allocations: 49.69 kB / 0.5297 GB, free: 6.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001713/0.4234, allocations: 2.159 MB / 0.5318 GB, free: 4.73 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006098/0.424, allocations: 0.5506 MB / 0.5323 GB, free: 4.176 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001452/0.4255, allocations: 0.9883 MB / 0.5333 GB, free: 3.176 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.4256, allocations: 301.1 kB / 0.5336 GB, free: 2.879 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003802/0.4294, allocations: 2.434 MB / 0.5359 GB, free: 448 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1781/0.6075, allocations: 5.381 MB / 0.5412 GB, free: 98.35 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007117/0.6146, allocations: 8.285 MB / 0.5493 GB, free: 92.07 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.142e-05/0.6147, allocations: 31.34 kB / 0.5493 GB, free: 92.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=626) (initialization): time 0.02719/0.6419, allocations: 11.49 MB / 0.5605 GB, free: 87.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.871e-05/0.6419, allocations: 50.34 kB / 0.5606 GB, free: 87.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02078/0.6627, allocations: 6.71 MB / 0.5671 GB, free: 81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02169/0.6844, allocations: 4.725 MB / 0.5717 GB, free: 76.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003689/0.6881, allocations: 1.216 MB / 0.5729 GB, free: 75.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01364/0.7017, allocations: 12.6 MB / 0.5852 GB, free: 61.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004089/0.7058, allocations: 467.6 kB / 0.5857 GB, free: 61.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003802/0.7062, allocations: 303.3 kB / 0.586 GB, free: 61.2 MB / 446.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.001543/0.7077, allocations: 1.402 MB / 0.5873 GB, free: 59.85 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003751/0.7081, allocations: 268.6 kB / 0.5876 GB, free: 59.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006416/0.7088, allocations: 414.9 kB / 0.588 GB, free: 59.32 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.7088, allocations: 7.984 kB / 0.588 GB, free: 59.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.7088, allocations: 0 / 0.588 GB, free: 59.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003248/0.7091, allocations: 325.3 kB / 0.5883 GB, free: 59.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003671/0.7095, allocations: 39.98 kB / 0.5883 GB, free: 59.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001672/0.7111, allocations: 263.5 kB / 0.5886 GB, free: 58.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002774/0.7114, allocations: 97.97 kB / 0.5887 GB, free: 58.71 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007005/0.7184, allocations: 4.935 MB / 0.5935 GB, free: 53.78 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005634/0.7241, allocations: 6.037 MB / 0.5994 GB, free: 47.73 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001509/0.7256, allocations: 1.559 MB / 0.6009 GB, free: 46.17 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001911/0.7275, allocations: 1.863 MB / 0.6027 GB, free: 44.3 MB / 446.1 MB Notification: Performance of Backend: time 2.71e-07/0.7275, allocations: 0 / 0.6027 GB, free: 44.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009266/0.7367, allocations: 5.45 MB / 0.6081 GB, free: 38.77 MB / 446.1 MB Notification: Performance of SimCode: time 0.007241/0.744, allocations: 7.225 MB / 0.6151 GB, free: 31.54 MB / 446.1 MB Notification: Performance of Templates: time 0.07461/0.8186, allocations: 57.08 MB / 0.6709 GB, free: 6.551 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.9470939370803535] Failed to read output from testmodel.py, exit status != 0: ['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]'] 0.8289444502443075 0.840930306 0.573686724 Calling exit ...