Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.00139/0.00139, allocations: 84.3 kB / 22.21 MB, free: 2.289 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.00154/0.00154, allocations: 167.5 kB / 25.6 MB, free: 8.461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9704/0.9704, allocations: 158.6 MB / 187.5 MB, free: 2.809 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 251.5 MB, free: 7.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.429e-05/2.6e-05, allocations: 2.312 kB / 251.5 MB, free: 7.238 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.008311/0.008337, allocations: 6.64 MB / 258.1 MB, free: 0.5625 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004993/0.01333, allocations: 3.007 MB / 261.1 MB, free: 13.55 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005756/0.01391, allocations: 39.81 kB / 261.2 MB, free: 13.51 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001029/0.01493, allocations: 0.6924 MB / 261.9 MB, free: 12.81 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002015/0.01695, allocations: 1.49 MB / 263.3 MB, free: 11.32 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006431/0.01759, allocations: 0.5535 MB / 263.9 MB, free: 10.76 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002719/0.02031, allocations: 3.743 MB / 267.6 MB, free: 7.016 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009504/0.02126, allocations: 0.6817 MB / 268.3 MB, free: 6.32 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001306/0.02257, allocations: 1.313 MB / 269.6 MB, free: 5.004 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001429/0.024, allocations: 1.609 MB / 271.2 MB, free: 3.391 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002001/0.0242, allocations: 140 kB / 271.4 MB, free: 3.254 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001115/0.02531, allocations: 0.9007 MB / 272.3 MB, free: 2.352 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006881/0.026, allocations: 1.192 MB / 273.5 MB, free: 1.156 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005141/0.02651, allocations: 0.6851 MB / 274.2 MB, free: 480 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002269/0.02878, allocations: 2.914 MB / 277.1 MB, free: 13.54 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.02879, allocations: 0 / 277.1 MB, free: 13.54 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.02879, allocations: 0 / 277.1 MB, free: 13.54 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.132e-05/0.02881, allocations: 0 / 277.1 MB, free: 13.54 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.00351/0.03232, allocations: 3.247 MB / 280.3 MB, free: 10.24 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.03236, allocations: 15.98 kB / 280.3 MB, free: 10.23 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003398/0.03576, allocations: 1.283 MB / 281.6 MB, free: 8.941 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001553/0.03732, allocations: 1.329 MB / 282.9 MB, free: 7.578 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.915e-05/0.03739, allocations: 107 kB / 283.1 MB, free: 7.473 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005543/0.03795, allocations: 295.3 kB / 283.3 MB, free: 7.184 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005633/0.04358, allocations: 4.398 MB / 287.7 MB, free: 2.016 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.045e-05/0.04363, allocations: 35.69 kB / 287.8 MB, free: 1.98 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001701/0.0438, allocations: 79.89 kB / 287.9 MB, free: 1.902 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001058/0.04486, allocations: 1.21 MB / 289.1 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005527/0.05039, allocations: 3.223 MB / 292.3 MB, free: 13.46 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02164/0.07203, allocations: 32.73 MB / 325 MB, free: 11.68 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0049/0.07693, allocations: 1.83 MB / 326.8 MB, free: 9.781 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008275/0.07776, allocations: 0.6555 MB / 327.5 MB, free: 9.105 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.571e-05/0.07781, allocations: 19.98 kB / 327.5 MB, free: 9.086 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.07784, allocations: 57.27 kB / 327.6 MB, free: 9.02 MB / 314.7 MB Notification: Performance of pre-optimization done (n=122): time 3.086e-06/0.07785, allocations: 0 / 327.6 MB, free: 9.02 MB / 314.7 MB Notification: Performance of matching and sorting (n=136): time 0.01943/0.09728, allocations: 7.229 MB / 334.8 MB, free: 1.676 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001885/0.09916, allocations: 3.882 MB / 338.7 MB, free: 13.5 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003566/0.1027, allocations: 2.666 MB / 341.4 MB, free: 10.8 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004293/0.1032, allocations: 45.64 kB / 341.4 MB, free: 10.75 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001556/0.1047, allocations: 2.329 MB / 343.7 MB, free: 8.395 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007653/0.1055, allocations: 0.6205 MB / 344.3 MB, free: 7.77 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001493/0.107, allocations: 1.088 MB / 345.4 MB, free: 6.668 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.1071, allocations: 480.7 kB / 345.9 MB, free: 6.195 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001523/0.1086, allocations: 0.7357 MB / 346.6 MB, free: 5.453 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1323/0.2409, allocations: 5.128 MB / 351.8 MB, free: 88.94 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005669/0.2466, allocations: 6.441 MB / 358.2 MB, free: 83.21 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.812e-05/0.2467, allocations: 31.62 kB / 358.2 MB, free: 83.21 MB / 330.7 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01291/0.2596, allocations: 5.189 MB / 363.4 MB, free: 82.29 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.22e-05/0.2596, allocations: 50.7 kB / 363.5 MB, free: 82.29 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007074/0.2667, allocations: 1.87 MB / 365.3 MB, free: 82.11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00719/0.2739, allocations: 0.9826 MB / 366.3 MB, free: 82.01 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002544/0.2764, allocations: 1.057 MB / 367.4 MB, free: 81.7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005367/0.2818, allocations: 8.044 MB / 375.4 MB, free: 73.9 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003623/0.2854, allocations: 228.5 kB / 375.7 MB, free: 73.78 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005727/0.286, allocations: 276.8 kB / 375.9 MB, free: 73.56 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.001113/0.2871, allocations: 0.5469 MB / 376.5 MB, free: 73.18 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005647/0.2877, allocations: 280.7 kB / 376.7 MB, free: 73.06 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003335/0.288, allocations: 343.9 kB / 377.1 MB, free: 72.96 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003312/0.2913, allocations: 1.445 MB / 378.5 MB, free: 71.98 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-05/0.2913, allocations: 4 kB / 378.5 MB, free: 71.98 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/0.2914, allocations: 6.094 kB / 378.5 MB, free: 71.98 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003914/0.2953, allocations: 3.073 MB / 381.6 MB, free: 69.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/0.2953, allocations: 6.875 kB / 381.6 MB, free: 69.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006923/0.296, allocations: 171.8 kB / 381.8 MB, free: 69.63 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002838/0.2988, allocations: 0.7382 MB / 382.5 MB, free: 68.87 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001613/0.299, allocations: 47.94 kB / 382.6 MB, free: 68.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003794/0.3028, allocations: 7.819 MB / 390.4 MB, free: 60.61 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008936/0.3037, allocations: 3.725 MB / 394.1 MB, free: 56.66 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006479/0.3101, allocations: 3.047 MB / 397.2 MB, free: 53.59 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005424/0.3107, allocations: 254.3 kB / 397.4 MB, free: 53.35 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002947/0.311, allocations: 31.98 kB / 397.4 MB, free: 53.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001166/0.3121, allocations: 25.94 kB / 397.5 MB, free: 53.29 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003253/0.3125, allocations: 115.6 kB / 397.6 MB, free: 53.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001272/0.3126, allocations: 47.95 kB / 397.6 MB, free: 53.13 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001072/0.3137, allocations: 1.086 MB / 398.7 MB, free: 52.14 MB / 330.7 MB Notification: Performance of sort global known variables: time 2e-07/0.3137, allocations: 0 / 398.7 MB, free: 52.14 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003522/0.3172, allocations: 1.163 MB / 399.9 MB, free: 50.98 MB / 330.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.000413/0.3176, allocations: 189.6 kB / 400.1 MB, free: 50.8 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005474/0.3231, allocations: 3.721 MB / 403.8 MB, free: 47.07 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.3231, allocations: 0 / 403.8 MB, free: 47.07 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002432/0.3255, allocations: 1.795 MB / 405.6 MB, free: 45.21 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001684/0.3272, allocations: 318 kB / 405.9 MB, free: 44.91 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007265/0.3345, allocations: 5.994 MB / 411.9 MB, free: 38.86 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00076/0.3352, allocations: 0.7933 MB / 412.7 MB, free: 38.04 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001415/0.3366, allocations: 375.5 kB / 413 MB, free: 37.67 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001034/0.3377, allocations: 470 kB / 413.5 MB, free: 37.21 MB / 330.7 MB Notification: Performance of SimCode: time 1.513e-06/0.3377, allocations: 0 / 413.5 MB, free: 37.21 MB / 330.7 MB Notification: Performance of Templates: time 0.05352/0.3912, allocations: 48.57 MB / 462.1 MB, free: 4.621 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 4.064679183997214]