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.0009605/0.0009605, allocations: 78.66 kB / 21.42 MB, free: 3.074 MB / 18.57 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.0009342/0.0009342, allocations: 166.2 kB / 24.82 MB, free: 9.266 MB / 18.57 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 0.9497/0.9497, allocations: 177.1 MB / 205.3 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] 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.[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_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.[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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 273.4 MB, free: 1.27 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.688e-06/1.086e-05, allocations: 8.844 kB / 273.4 MB, free: 1.262 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.005156/0.005167, allocations: 6.598 MB / 280 MB, free: 10.63 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003534/0.008701, allocations: 3.018 MB / 283 MB, free: 7.605 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003508/0.009052, allocations: 35.88 kB / 283.1 MB, free: 7.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00106/0.01011, allocations: 0.7157 MB / 283.8 MB, free: 6.852 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001633/0.01175, allocations: 1.439 MB / 285.2 MB, free: 5.406 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005006/0.01225, allocations: 0.5651 MB / 285.8 MB, free: 4.84 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002583/0.01483, allocations: 3.877 MB / 289.7 MB, free: 0.957 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005174/0.01535, allocations: 0.6661 MB / 290.3 MB, free: 284 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1101/0.1255, allocations: 1.297 MB / 291.6 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002344/0.1278, allocations: 1.594 MB / 293.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004391/0.1282, allocations: 137.6 kB / 293.3 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001632/0.1299, allocations: 0.8952 MB / 294.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009666/0.1308, allocations: 1.156 MB / 295.4 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008396/0.1317, allocations: 0.673 MB / 296.1 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0033/0.135, allocations: 2.864 MB / 298.9 MB, free: 14.86 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.135, allocations: 0.9375 kB / 298.9 MB, free: 14.86 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.135, allocations: 0.8125 kB / 298.9 MB, free: 14.86 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.01e-05/0.1351, allocations: 0 / 298.9 MB, free: 14.86 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.005043/0.1401, allocations: 3.206 MB / 302.1 MB, free: 13.46 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.1401, allocations: 11.72 kB / 302.2 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004991/0.1451, allocations: 1.385 MB / 303.5 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001588/0.1467, allocations: 1.262 MB / 304.8 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.431e-05/0.1468, allocations: 111.6 kB / 304.9 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006603/0.1474, allocations: 304.6 kB / 305.2 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0058/0.1532, allocations: 4.394 MB / 309.6 MB, free: 10.27 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.057e-05/0.1533, allocations: 27.56 kB / 309.6 MB, free: 10.27 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002183/0.1535, allocations: 84.45 kB / 309.7 MB, free: 10.25 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001204/0.1547, allocations: 1.2 MB / 310.9 MB, free: 9.824 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006152/0.1609, allocations: 3.213 MB / 314.1 MB, free: 7.289 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02016/0.181, allocations: 32.72 MB / 346.8 MB, free: 6.172 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005532/0.1866, allocations: 1.831 MB / 348.7 MB, free: 4.312 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006465/0.1872, allocations: 0.6535 MB / 349.3 MB, free: 3.637 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.167e-05/0.1873, allocations: 22.72 kB / 349.4 MB, free: 3.617 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.1873, allocations: 53.28 kB / 349.4 MB, free: 3.559 MB / 298.7 MB Notification: Performance of pre-optimization done (n=122): time 2.685e-06/0.1873, allocations: 0 / 349.4 MB, free: 3.559 MB / 298.7 MB Notification: Performance of matching and sorting (n=136): time 0.01688/0.2042, allocations: 7.204 MB / 356.6 MB, free: 12.29 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0016/0.2058, allocations: 3.89 MB / 360.5 MB, free: 8.129 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001987/0.2078, allocations: 2.628 MB / 363.1 MB, free: 5.887 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001304/0.2079, allocations: 45.7 kB / 363.2 MB, free: 5.836 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001289/0.2092, allocations: 2.322 MB / 365.5 MB, free: 3.625 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000447/0.2096, allocations: 0.6237 MB / 366.1 MB, free: 3.035 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001088/0.2107, allocations: 1.077 MB / 367.2 MB, free: 2.055 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.2108, allocations: 488.7 kB / 367.7 MB, free: 1.574 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001123/0.2119, allocations: 0.7317 MB / 368.4 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003201/0.2151, allocations: 5.14 MB / 373.5 MB, free: 9.777 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005114/0.2203, allocations: 6.439 MB / 380 MB, free: 1.355 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.263e-05/0.2203, allocations: 32 kB / 380 MB, free: 1.324 MB / 330.7 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01085/0.2311, allocations: 5.201 MB / 385.2 MB, free: 12.09 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.331e-05/0.2312, allocations: 48.78 kB / 385.3 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007042/0.2382, allocations: 1.878 MB / 387.1 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007009/0.2452, allocations: 0.988 MB / 388.1 MB, free: 9.102 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001791/0.247, allocations: 1.049 MB / 389.2 MB, free: 8.051 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005809/0.2528, allocations: 8.038 MB / 397.2 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002077/0.2549, allocations: 235.7 kB / 397.4 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003093/0.2552, allocations: 276.8 kB / 397.7 MB, free: 15.06 MB / 362.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.001095/0.2563, allocations: 0.5545 MB / 398.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003766/0.2567, allocations: 274.4 kB / 398.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003254/0.257, allocations: 336.8 kB / 398.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003466/0.2605, allocations: 1.445 MB / 400.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.2605, allocations: 4 kB / 400.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/0.2605, allocations: 15.16 kB / 400.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003684/0.2642, allocations: 3.048 MB / 403.4 MB, free: 9.277 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.2642, allocations: 4 kB / 403.4 MB, free: 9.273 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006771/0.2649, allocations: 175.8 kB / 403.6 MB, free: 9.102 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002762/0.2676, allocations: 0.7343 MB / 404.3 MB, free: 8.332 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001292/0.2678, allocations: 47.94 kB / 404.3 MB, free: 8.285 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004051/0.2718, allocations: 7.825 MB / 412.2 MB, free: 8 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001148/0.273, allocations: 3.724 MB / 415.9 MB, free: 12.04 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004788/0.2778, allocations: 3.051 MB / 418.9 MB, free: 8.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002573/0.278, allocations: 246.2 kB / 419.2 MB, free: 8.688 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002147/0.2782, allocations: 35.98 kB / 419.2 MB, free: 8.652 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008047/0.279, allocations: 20 kB / 419.2 MB, free: 8.633 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002262/0.2793, allocations: 115.7 kB / 419.3 MB, free: 8.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001775/0.2794, allocations: 43.95 kB / 419.4 MB, free: 8.477 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000884/0.2803, allocations: 1.066 MB / 420.5 MB, free: 7.398 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.2803, allocations: 0 / 420.5 MB, free: 7.398 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002791/0.2831, allocations: 1.144 MB / 421.6 MB, free: 6.254 MB / 378.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.0003517/0.2835, allocations: 182.9 kB / 421.8 MB, free: 6.062 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004419/0.2879, allocations: 3.718 MB / 425.5 MB, free: 2.266 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2879, allocations: 0 / 425.5 MB, free: 2.266 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002279/0.2902, allocations: 1.785 MB / 427.3 MB, free: 388 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/0.2913, allocations: 320.7 kB / 427.6 MB, free: 72 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005997/0.2973, allocations: 5.962 MB / 433.6 MB, free: 10 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000851/0.2982, allocations: 0.7926 MB / 434.3 MB, free: 9.188 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0009161/0.2991, allocations: 377.6 kB / 434.7 MB, free: 8.816 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008367/0.2999, allocations: 458 kB / 435.2 MB, free: 8.367 MB / 394.7 MB Notification: Performance of SimCode: time 7.52e-07/0.2999, allocations: 0 / 435.2 MB, free: 8.367 MB / 394.7 MB Notification: Performance of Templates: time 0.1421/0.4421, allocations: 48.03 MB / 483.2 MB, free: 106.2 MB / 394.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.7323030759580433]