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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002002/0.002002, allocations: 107 kB / 19.8 MB, free: 2.5 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.002414/0.002414, allocations: 217.3 kB / 23 MB, free: 5.574 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.5/1.5, allocations: 230.2 MB / 256.2 MB, free: 8.523 MB / 206.1 MB " [Timeout remaining time 178] 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=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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 67.89 kB / 376.5 MB, free: 3.582 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.2472, allocations: 53.32 MB / 429.8 MB, free: 7.535 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.008747/0.2559, allocations: 7.011 MB / 436.8 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005877/0.2618, allocations: 3.158 MB / 440 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004288/0.2622, allocations: 31.94 kB / 440 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001485/0.2637, allocations: 0.673 MB / 440.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002753/0.2665, allocations: 1.386 MB / 442.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000887/0.2674, allocations: 495.1 kB / 442.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003817/0.2712, allocations: 3.214 MB / 445.8 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000542/0.2717, allocations: 347.2 kB / 446.1 MB, free: 7.172 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008795/0.2726, allocations: 0.7861 MB / 446.9 MB, free: 6.383 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001561/0.2742, allocations: 1.343 MB / 448.2 MB, free: 5.035 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002437/0.2744, allocations: 128 kB / 448.4 MB, free: 4.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001537/0.2759, allocations: 0.9749 MB / 449.3 MB, free: 3.934 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00101/0.2769, allocations: 1.087 MB / 450.4 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001104/0.278, allocations: 1.215 MB / 451.6 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004354/0.2824, allocations: 4.012 MB / 455.6 MB, free: 13.6 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.2824, allocations: 0 / 455.6 MB, free: 13.6 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2824, allocations: 0 / 455.6 MB, free: 13.6 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.563e-05/0.2825, allocations: 0 / 455.6 MB, free: 13.6 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.006346/0.2888, allocations: 3.263 MB / 458.9 MB, free: 10.27 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.2888, allocations: 8.031 kB / 458.9 MB, free: 10.26 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008302/0.2971, allocations: 2.023 MB / 460.9 MB, free: 8.234 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003391/0.3005, allocations: 1.598 MB / 462.5 MB, free: 6.59 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001111/0.3006, allocations: 118.6 kB / 462.6 MB, free: 6.473 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008907/0.3015, allocations: 303.5 kB / 462.9 MB, free: 6.176 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01547/0.317, allocations: 8.219 MB / 471.2 MB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.356e-05/0.3171, allocations: 35.7 kB / 471.2 MB, free: 13.35 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002801/0.3174, allocations: 79.89 kB / 471.3 MB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002228/0.3196, allocations: 1.393 MB / 472.7 MB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01852/0.3381, allocations: 9.538 MB / 482.2 MB, free: 2.332 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03918/0.3773, allocations: 30.57 MB / 0.5008 GB, free: 2.914 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01204/0.3893, allocations: 4.329 MB / 0.505 GB, free: 14.42 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003167/0.3925, allocations: 2.082 MB / 0.507 GB, free: 12.32 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.346e-05/0.3926, allocations: 23.83 kB / 0.507 GB, free: 12.3 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.943e-05/0.3926, allocations: 46.56 kB / 0.5071 GB, free: 12.25 MB / 430.1 MB Notification: Performance of pre-optimization done (n=122): time 2.995e-06/0.3926, allocations: 3.938 kB / 0.5071 GB, free: 12.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=136): time 0.04761/0.4402, allocations: 18.44 MB / 0.5251 GB, free: 9.535 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002866/0.4431, allocations: 3.236 MB / 0.5283 GB, free: 5.965 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004708/0.4478, allocations: 2.979 MB / 0.5312 GB, free: 2.965 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005405/0.4484, allocations: 49.72 kB / 0.5312 GB, free: 2.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001892/0.4502, allocations: 2.163 MB / 0.5333 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009014/0.4511, allocations: 0.5932 MB / 0.5339 GB, free: 132 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.1941/0.6453, allocations: 1.02 MB / 0.5349 GB, free: 102 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.57e-05/0.6453, allocations: 302.3 kB / 0.5352 GB, free: 101.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003725/0.6491, allocations: 2.631 MB / 0.5378 GB, free: 101.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004374/0.6534, allocations: 5.588 MB / 0.5432 GB, free: 96.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007065/0.6605, allocations: 8.618 MB / 0.5516 GB, free: 90.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.126e-05/0.6605, allocations: 31.28 kB / 0.5517 GB, free: 90.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.02697/0.6875, allocations: 11.93 MB / 0.5633 GB, free: 82.47 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.593e-05/0.6876, allocations: 52 kB / 0.5634 GB, free: 82.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0203/0.7079, allocations: 7.146 MB / 0.5703 GB, free: 75.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02037/0.7282, allocations: 4.721 MB / 0.5749 GB, free: 70.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003692/0.7319, allocations: 1.244 MB / 0.5762 GB, free: 69.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01316/0.7451, allocations: 12.6 MB / 0.5885 GB, free: 56.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004759/0.7499, allocations: 0.5801 MB / 0.589 GB, free: 55.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007216/0.7506, allocations: 319.5 kB / 0.5893 GB, free: 55.3 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 (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.001734/0.7523, allocations: 1.416 MB / 0.5907 GB, free: 53.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004505/0.7528, allocations: 263.6 kB / 0.591 GB, free: 53.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000677/0.7534, allocations: 417.2 kB / 0.5914 GB, free: 53.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009442/0.7629, allocations: 5.001 MB / 0.5962 GB, free: 48.39 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.3e-05/0.7629, allocations: 4 kB / 0.5963 GB, free: 48.38 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.223e-05/0.7629, allocations: 7.984 kB / 0.5963 GB, free: 48.38 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006395/0.7693, allocations: 5.341 MB / 0.6015 GB, free: 43.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/0.7693, allocations: 0 / 0.6015 GB, free: 43.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00154/0.7709, allocations: 367.4 kB / 0.6018 GB, free: 42.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007374/0.7782, allocations: 2.39 MB / 0.6042 GB, free: 40.27 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002083/0.7785, allocations: 43.95 kB / 0.6042 GB, free: 40.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006693/0.7851, allocations: 9.454 MB / 0.6134 GB, free: 30.25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001188/0.7863, allocations: 3.073 MB / 0.6164 GB, free: 26.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0129/0.7992, allocations: 8.767 MB / 0.625 GB, free: 18.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006359/0.7999, allocations: 340.6 kB / 0.6253 GB, free: 17.71 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003837/0.8003, allocations: 39.92 kB / 0.6254 GB, free: 17.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001933/0.8022, allocations: 319.4 kB / 0.6257 GB, free: 17.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004201/0.8026, allocations: 103.8 kB / 0.6258 GB, free: 17.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001619/0.8028, allocations: 47.97 kB / 0.6258 GB, free: 17.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002189/0.805, allocations: 1.867 MB / 0.6276 GB, free: 15.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.805, allocations: 0 / 0.6276 GB, free: 15.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003641/0.8086, allocations: 0.9987 MB / 0.6286 GB, free: 14.35 MB / 446.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.0003735/0.809, allocations: 163.5 kB / 0.6288 GB, free: 14.19 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01007/0.819, allocations: 7.188 MB / 0.6358 GB, free: 6.887 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.8191, allocations: 0 / 0.6358 GB, free: 6.887 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005169/0.8242, allocations: 3.569 MB / 0.6393 GB, free: 3.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002118/0.8263, allocations: 298.1 kB / 0.6396 GB, free: 2.891 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01189/0.8382, allocations: 8.261 MB / 0.6476 GB, free: 10.61 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002452/0.8407, allocations: 2.294 MB / 0.6499 GB, free: 8.281 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003927/0.8446, allocations: 1.659 MB / 0.6515 GB, free: 6.617 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007629/0.8454, allocations: 199.3 kB / 0.6517 GB, free: 6.422 MB / 462.1 MB Notification: Performance of SimCode: time 1.532e-06/0.8454, allocations: 0 / 0.6517 GB, free: 6.422 MB / 462.1 MB Notification: Performance of Templates: time 0.07414/0.9195, allocations: 45.13 MB / 0.6957 GB, free: 9.402 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravity/PointGravity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.431720587424934]