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.001413/0.001413, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 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.004569/0.004569, allocations: 165.2 kB / 24.91 MB, free: 9.184 MB / 18.57 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 0.8753/0.8753, allocations: 177 MB / 205.2 MB, free: 5.445 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|body1.v_0.[0-9,]+.|body1.w_a.[0-9,]+.|body2.frame_a.r_0.[0-9,]+.|body2.v_0.[0-9,]+.|body2.w_a.[0-9,]+.",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.[0-9,]+.|body1.v_0.[0-9,]+.|body1.w_a.[0-9,]+.|body2.frame_a.r_0.[0-9,]+.|body2.v_0.[0-9,]+.|body2.w_a.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.032e-06/1.032e-06, allocations: 0 / 273.4 MB, free: 1.223 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.877e-06/9.909e-06, allocations: 2.312 kB / 273.4 MB, free: 1.219 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.00486/0.00487, allocations: 6.617 MB / 280 MB, free: 10.57 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003707/0.008577, allocations: 3.106 MB / 283.1 MB, free: 7.453 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003568/0.008933, allocations: 39.81 kB / 283.2 MB, free: 7.414 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009047/0.009838, allocations: 0.7157 MB / 283.9 MB, free: 6.695 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001777/0.01161, allocations: 1.443 MB / 285.3 MB, free: 5.246 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005636/0.01218, allocations: 0.5613 MB / 285.9 MB, free: 4.684 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002477/0.01465, allocations: 3.865 MB / 289.7 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007621/0.01542, allocations: 0.7207 MB / 290.5 MB, free: 68 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.09303/0.1084, allocations: 1.292 MB / 291.8 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001772/0.1102, allocations: 1.513 MB / 293.3 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003148/0.1105, allocations: 139.2 kB / 293.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001257/0.1118, allocations: 0.8901 MB / 294.3 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008025/0.1126, allocations: 1.153 MB / 295.4 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007746/0.1134, allocations: 0.6706 MB / 296.1 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002598/0.116, allocations: 2.868 MB / 299 MB, free: 14.71 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.116, allocations: 1.406 kB / 299 MB, free: 14.71 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.116, allocations: 2.469 kB / 299 MB, free: 14.71 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.762e-05/0.116, allocations: 2.672 kB / 299 MB, free: 14.71 MB / 266.7 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.003679/0.1197, allocations: 2.761 MB / 301.7 MB, free: 13.46 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.959e-05/0.1198, allocations: 13.17 kB / 301.8 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00315/0.1229, allocations: 1.04 MB / 302.8 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001248/0.1242, allocations: 1.19 MB / 304 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.577e-05/0.1242, allocations: 112.2 kB / 304.1 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004956/0.1247, allocations: 299.5 kB / 304.4 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003974/0.1287, allocations: 3.926 MB / 308.3 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.286e-05/0.1287, allocations: 40.7 kB / 308.4 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001759/0.1289, allocations: 80.11 kB / 308.4 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008837/0.1298, allocations: 1.197 MB / 309.6 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004285/0.1341, allocations: 3.14 MB / 312.8 MB, free: 8.664 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01203/0.1461, allocations: 22.86 MB / 335.6 MB, free: 1.516 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00431/0.1504, allocations: 1.847 MB / 337.5 MB, free: 15.67 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005692/0.151, allocations: 0.5275 MB / 338 MB, free: 15.13 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.214e-05/0.151, allocations: 16 kB / 338 MB, free: 15.12 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.151, allocations: 50.53 kB / 338.1 MB, free: 15.06 MB / 298.7 MB Notification: Performance of pre-optimization done (n=122): time 2.865e-06/0.151, allocations: 0 / 338.1 MB, free: 15.06 MB / 298.7 MB Notification: Performance of matching and sorting (n=136): time 0.01486/0.1659, allocations: 6.262 MB / 344.3 MB, free: 8.797 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001216/0.1671, allocations: 2.843 MB / 347.2 MB, free: 5.719 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001636/0.1688, allocations: 2.331 MB / 349.5 MB, free: 3.777 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001304/0.1689, allocations: 41.7 kB / 349.5 MB, free: 3.73 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007237/0.1696, allocations: 2.052 MB / 351.6 MB, free: 1.789 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003775/0.17, allocations: 0.587 MB / 352.2 MB, free: 1.238 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001033/0.171, allocations: 0.9125 MB / 353.1 MB, free: 432 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.581e-05/0.1711, allocations: 309.2 kB / 353.4 MB, free: 120 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0013/0.1724, allocations: 0.856 MB / 354.3 MB, free: 15.25 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002316/0.1747, allocations: 3.683 MB / 357.9 MB, free: 10.23 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003687/0.1784, allocations: 5.05 MB / 363 MB, free: 3.727 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.779e-05/0.1784, allocations: 32 kB / 363 MB, free: 3.695 MB / 314.7 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.009696/0.1881, allocations: 4.557 MB / 367.6 MB, free: 15.09 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.023e-05/0.1881, allocations: 50.81 kB / 367.6 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006677/0.1948, allocations: 1.7 MB / 369.3 MB, free: 13.31 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006857/0.2017, allocations: 0.9802 MB / 370.3 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001967/0.2036, allocations: 1.06 MB / 371.4 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00506/0.2087, allocations: 5.815 MB / 377.2 MB, free: 5.035 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002055/0.2108, allocations: 231.7 kB / 377.4 MB, free: 4.809 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002956/0.2111, allocations: 275.9 kB / 377.7 MB, free: 4.539 MB / 330.7 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 (world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3],world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],body1.sphereColor[1],body1.sphereColor[2],body1.sphereColor[3],body2.sphereColor[1],body2.sphereColor[2],body2.sphereColor[3]) * 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.0008958/0.212, allocations: 0.5039 MB / 378.2 MB, free: 4.023 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003243/0.2123, allocations: 155.8 kB / 378.3 MB, free: 3.871 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004275/0.2127, allocations: 344.7 kB / 378.7 MB, free: 3.527 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003196/0.2159, allocations: 1.25 MB / 379.9 MB, free: 2.234 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.2159, allocations: 11.88 kB / 379.9 MB, free: 2.223 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.2159, allocations: 3.984 kB / 379.9 MB, free: 2.219 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003181/0.2191, allocations: 2.489 MB / 382.4 MB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.2191, allocations: 8 kB / 382.4 MB, free: 15.67 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006887/0.2198, allocations: 175.8 kB / 382.6 MB, free: 15.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002821/0.2226, allocations: 0.8585 MB / 383.5 MB, free: 14.6 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001153/0.2227, allocations: 47.94 kB / 383.5 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003232/0.226, allocations: 5.558 MB / 389.1 MB, free: 8.605 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008651/0.2268, allocations: 2.675 MB / 391.7 MB, free: 5.719 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00447/0.2313, allocations: 2.656 MB / 394.4 MB, free: 3.012 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002326/0.2315, allocations: 242.2 kB / 394.6 MB, free: 2.773 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002466/0.2318, allocations: 35.98 kB / 394.7 MB, free: 2.738 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007967/0.2326, allocations: 20 kB / 394.7 MB, free: 2.719 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002166/0.2328, allocations: 115.6 kB / 394.8 MB, free: 2.605 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000102/0.2329, allocations: 43.94 kB / 394.8 MB, free: 2.562 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006658/0.2336, allocations: 0.8291 MB / 395.7 MB, free: 1.719 MB / 346.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2336, allocations: 0 / 395.7 MB, free: 1.719 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002542/0.2361, allocations: 1.141 MB / 396.8 MB, free: 0.5781 MB / 346.7 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.0003415/0.2364, allocations: 170.2 kB / 397 MB, free: 412 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004211/0.2407, allocations: 3.303 MB / 400.3 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.987e-05/0.2408, allocations: 59.94 kB / 400.3 MB, free: 12.97 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001865/0.2426, allocations: 1.461 MB / 401.8 MB, free: 11.44 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00128/0.2439, allocations: 430.4 kB / 402.2 MB, free: 11.03 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005269/0.2492, allocations: 5.452 MB / 407.7 MB, free: 5.477 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000611/0.2498, allocations: 0.7852 MB / 408.5 MB, free: 4.672 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0009/0.2507, allocations: 380.4 kB / 408.8 MB, free: 4.297 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008747/0.2516, allocations: 425.2 kB / 409.3 MB, free: 3.883 MB / 362.7 MB Notification: Performance of SimCode: time 7.81e-07/0.2516, allocations: 4 kB / 409.3 MB, free: 3.879 MB / 362.7 MB Notification: Performance of Templates: time 0.1277/0.3792, allocations: 47.84 MB / 457.1 MB, free: 105.3 MB / 378.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.50073465378955]