Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001882/0.001882, allocations: 106.8 kB / 21.19 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002017/0.002017, allocations: 216.4 kB / 24.49 MB, free: 3.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.44/1.44, allocations: 230.6 MB / 258.3 MB, free: 7.785 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 48.06 kB / 379 MB, free: 2.559 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.21, allocations: 53.37 MB / 432.4 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.008009/0.218, allocations: 6.169 MB / 438.5 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005659/0.2237, allocations: 2.937 MB / 441.5 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005548/0.2242, allocations: 39.81 kB / 441.5 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001443/0.2256, allocations: 0.6691 MB / 442.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002811/0.2285, allocations: 1.404 MB / 443.6 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008975/0.2294, allocations: 499.1 kB / 444.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003706/0.2331, allocations: 3.21 MB / 447.3 MB, free: 7.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006762/0.2337, allocations: 498.3 kB / 447.8 MB, free: 7.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00091/0.2346, allocations: 0.8056 MB / 448.6 MB, free: 6.461 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001596/0.2362, allocations: 1.335 MB / 449.9 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002598/0.2365, allocations: 132 kB / 450 MB, free: 4.992 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001472/0.238, allocations: 0.854 MB / 450.9 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009762/0.239, allocations: 1.087 MB / 452 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008773/0.2398, allocations: 0.873 MB / 452.8 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004121/0.244, allocations: 4.02 MB / 456.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.244, allocations: 7.938 kB / 456.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.244, allocations: 0 / 456.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.876e-05/0.244, allocations: 0 / 456.9 MB, free: 14.13 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.006368/0.2504, allocations: 3.184 MB / 460 MB, free: 10.9 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.2504, allocations: 12.03 kB / 460.1 MB, free: 10.89 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009012/0.2594, allocations: 2.015 MB / 462.1 MB, free: 8.867 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003615/0.263, allocations: 1.56 MB / 463.6 MB, free: 7.273 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001042/0.2631, allocations: 110.6 kB / 463.7 MB, free: 7.164 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009686/0.2641, allocations: 299.5 kB / 464 MB, free: 6.871 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01575/0.2799, allocations: 8.223 MB / 472.3 MB, free: 14.08 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.565e-05/0.2799, allocations: 39.7 kB / 472.3 MB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002945/0.2802, allocations: 75.89 kB / 472.4 MB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00232/0.2825, allocations: 1.397 MB / 473.8 MB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01864/0.3012, allocations: 9.553 MB / 483.3 MB, free: 3.008 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03638/0.3376, allocations: 29.13 MB / 0.5004 GB, free: 5.027 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01233/0.3499, allocations: 3.885 MB / 0.5042 GB, free: 1.094 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003021/0.3529, allocations: 2.078 MB / 0.5063 GB, free: 15 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.961e-05/0.353, allocations: 12 kB / 0.5063 GB, free: 14.99 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.119e-05/0.353, allocations: 50.5 kB / 0.5063 GB, free: 14.93 MB / 430.1 MB Notification: Performance of pre-optimization done (n=122): time 3.847e-06/0.353, allocations: 0 / 0.5063 GB, free: 14.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=124): time 0.04591/0.3989, allocations: 17.07 MB / 0.523 GB, free: 13.74 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.726e-05/0.399, allocations: 170.2 kB / 0.5232 GB, free: 13.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003834/0.4029, allocations: 2.842 MB / 0.5259 GB, free: 10.67 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003823/0.4033, allocations: 41.7 kB / 0.526 GB, free: 10.62 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001626/0.4049, allocations: 2.178 MB / 0.5281 GB, free: 8.422 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006485/0.4055, allocations: 0.5545 MB / 0.5286 GB, free: 7.863 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001485/0.407, allocations: 0.9883 MB / 0.5296 GB, free: 6.863 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.4071, allocations: 305.1 kB / 0.5299 GB, free: 6.562 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003785/0.4109, allocations: 2.434 MB / 0.5323 GB, free: 4.121 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1793/0.5902, allocations: 5.378 MB / 0.5375 GB, free: 97.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008177/0.5984, allocations: 8.29 MB / 0.5456 GB, free: 92.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.894e-05/0.5985, allocations: 27.66 kB / 0.5456 GB, free: 92.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=626) (initialization): time 0.02737/0.6258, allocations: 11.46 MB / 0.5568 GB, free: 88.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.127e-05/0.6259, allocations: 53.56 kB / 0.5569 GB, free: 88.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0204/0.6463, allocations: 6.714 MB / 0.5634 GB, free: 82.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02131/0.6676, allocations: 4.721 MB / 0.5681 GB, free: 77.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003754/0.6714, allocations: 1.22 MB / 0.5693 GB, free: 76.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01351/0.6849, allocations: 11.96 MB / 0.5809 GB, free: 64.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004018/0.6889, allocations: 477 kB / 0.5814 GB, free: 63.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003831/0.6893, allocations: 298.4 kB / 0.5817 GB, free: 63.28 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.001643/0.6909, allocations: 1.409 MB / 0.583 GB, free: 61.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004101/0.6913, allocations: 234.4 kB / 0.5833 GB, free: 61.83 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006817/0.692, allocations: 388.7 kB / 0.5836 GB, free: 61.45 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.692, allocations: 11.92 kB / 0.5837 GB, free: 61.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.692, allocations: 4 kB / 0.5837 GB, free: 61.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003005/0.6923, allocations: 211.2 kB / 0.5839 GB, free: 61.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003589/0.6927, allocations: 39.97 kB / 0.5839 GB, free: 61.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001682/0.6944, allocations: 267.5 kB / 0.5842 GB, free: 61.06 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003131/0.6947, allocations: 99.7 kB / 0.5842 GB, free: 60.96 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007042/0.7017, allocations: 4.932 MB / 0.5891 GB, free: 56.06 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005702/0.7074, allocations: 6.016 MB / 0.5949 GB, free: 50.1 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001535/0.709, allocations: 1.556 MB / 0.5965 GB, free: 48.55 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001734/0.7107, allocations: 1.637 MB / 0.5981 GB, free: 46.9 MB / 446.1 MB Notification: Performance of Backend: time 2.7e-07/0.7107, allocations: 0 / 0.5981 GB, free: 46.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009238/0.7199, allocations: 5.144 MB / 0.6031 GB, free: 41.75 MB / 446.1 MB Notification: Performance of SimCode: time 0.007324/0.7273, allocations: 7.149 MB / 0.6101 GB, free: 34.59 MB / 446.1 MB Notification: Performance of Templates: time 0.07689/0.8041, allocations: 59.54 MB / 0.6682 GB, free: 7.16 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.2470056699967245] 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.8122696459977305 0.827063282 0.579998245 Calling exit ...