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.001074/0.001074, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.001023/0.001023, allocations: 156.4 kB / 25.44 MB, free: 8.855 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.8965/0.8965, allocations: 158.6 MB / 187.2 MB, free: 3.035 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.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_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.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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 299.7 MB, free: 3 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.857e-05/2.079e-05, allocations: 2.281 kB / 299.7 MB, free: 2.996 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.1447/0.1447, allocations: 6.215 MB / 305.9 MB, free: 12.64 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003409/0.1482, allocations: 2.917 MB / 308.8 MB, free: 11.12 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002876/0.1484, allocations: 39.03 kB / 308.9 MB, free: 11.12 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001068/0.1495, allocations: 0.6938 MB / 309.6 MB, free: 10.83 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00168/0.1512, allocations: 1.463 MB / 311 MB, free: 10.21 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005412/0.1517, allocations: 0.559 MB / 311.6 MB, free: 10 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002586/0.1543, allocations: 3.725 MB / 315.3 MB, free: 8.844 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006265/0.1549, allocations: 0.6852 MB / 316 MB, free: 8.547 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001025/0.156, allocations: 1.311 MB / 317.3 MB, free: 8.059 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001249/0.1572, allocations: 1.609 MB / 318.9 MB, free: 7.262 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001872/0.1574, allocations: 138.1 kB / 319.1 MB, free: 7.262 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001027/0.1584, allocations: 0.9017 MB / 320 MB, free: 6.875 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006603/0.1591, allocations: 1.182 MB / 321.1 MB, free: 6.195 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005062/0.1596, allocations: 0.6919 MB / 321.8 MB, free: 5.812 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00236/0.162, allocations: 4.113 MB / 326 MB, free: 3.133 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.162, allocations: 2.5 kB / 326 MB, free: 3.133 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.162, allocations: 1.688 kB / 326 MB, free: 3.133 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.483e-05/0.162, allocations: 0 / 326 MB, free: 3.133 MB / 282.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.003626/0.1656, allocations: 3.323 MB / 329.3 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.1657, allocations: 15.98 kB / 329.3 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003879/0.1695, allocations: 1.961 MB / 331.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001745/0.1713, allocations: 1.642 MB / 332.9 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.043e-05/0.1714, allocations: 115.4 kB / 333 MB, free: 13.02 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005391/0.1719, allocations: 307.5 kB / 333.3 MB, free: 12.72 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008012/0.1799, allocations: 8.234 MB / 341.5 MB, free: 3.922 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.13e-05/0.18, allocations: 40.95 kB / 341.6 MB, free: 3.883 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001803/0.1801, allocations: 83.89 kB / 341.7 MB, free: 3.801 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001244/0.1814, allocations: 1.401 MB / 343.1 MB, free: 2.395 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01028/0.1917, allocations: 9.615 MB / 352.7 MB, free: 8.77 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02042/0.2121, allocations: 29.36 MB / 382 MB, free: 10.57 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006295/0.2184, allocations: 3.989 MB / 386 MB, free: 6.539 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001728/0.2201, allocations: 2.084 MB / 388.1 MB, free: 4.441 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.04e-05/0.2202, allocations: 8 kB / 388.1 MB, free: 4.434 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.2202, allocations: 54.44 kB / 388.2 MB, free: 4.371 MB / 346.7 MB Notification: Performance of pre-optimization done (n=122): time 4.939e-06/0.2202, allocations: 0 / 388.2 MB, free: 4.371 MB / 346.7 MB Notification: Performance of matching and sorting (n=136): time 0.02566/0.2459, allocations: 18.35 MB / 406.5 MB, free: 1.898 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001519/0.2474, allocations: 2.985 MB / 409.5 MB, free: 14.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002838/0.2502, allocations: 3.081 MB / 412.6 MB, free: 11.55 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001398/0.2503, allocations: 41.7 kB / 412.6 MB, free: 11.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001061/0.2514, allocations: 2.163 MB / 414.8 MB, free: 9.316 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004744/0.2519, allocations: 0.5893 MB / 415.4 MB, free: 8.723 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001055/0.2529, allocations: 1.008 MB / 416.4 MB, free: 7.703 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.506e-05/0.253, allocations: 309.2 kB / 416.7 MB, free: 7.398 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002551/0.2556, allocations: 2.68 MB / 419.4 MB, free: 4.711 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003887/0.2595, allocations: 5.631 MB / 425 MB, free: 13.6 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006675/0.2661, allocations: 8.667 MB / 433.7 MB, free: 3.469 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.901e-05/0.2662, allocations: 28.88 kB / 433.7 MB, free: 3.441 MB / 394.7 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01689/0.283, allocations: 11.85 MB / 445.6 MB, free: 7.551 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.011e-05/0.2831, allocations: 52 kB / 445.6 MB, free: 7.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01176/0.2949, allocations: 7.091 MB / 452.7 MB, free: 388 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01077/0.3056, allocations: 4.546 MB / 457.2 MB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002636/0.3083, allocations: 1.255 MB / 458.5 MB, free: 10.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1643/0.4726, allocations: 11.91 MB / 470.4 MB, free: 132.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00399/0.4766, allocations: 0.6746 MB / 471.1 MB, free: 132.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003757/0.4769, allocations: 317.6 kB / 471.4 MB, free: 132.6 MB / 426.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 (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.001866/0.4788, allocations: 1.418 MB / 472.8 MB, free: 132.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003262/0.4791, allocations: 248.2 kB / 473.1 MB, free: 132.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003604/0.4795, allocations: 390.1 kB / 473.4 MB, free: 132.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006829/0.4863, allocations: 4.998 MB / 478.4 MB, free: 131.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.22e-05/0.4863, allocations: 5.281 kB / 478.4 MB, free: 131.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/0.4863, allocations: 6.5 kB / 478.4 MB, free: 131.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005228/0.4916, allocations: 4.69 MB / 483.1 MB, free: 129.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.4916, allocations: 4.844 kB / 483.1 MB, free: 129.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009334/0.4925, allocations: 367.8 kB / 483.5 MB, free: 129.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00417/0.4967, allocations: 2.386 MB / 485.9 MB, free: 129.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001149/0.4968, allocations: 46.55 kB / 485.9 MB, free: 129.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004914/0.5017, allocations: 8.928 MB / 494.9 MB, free: 123.6 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000771/0.5025, allocations: 2.82 MB / 497.7 MB, free: 121 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00828/0.5108, allocations: 8.744 MB / 0.4946 GB, free: 118.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003931/0.5112, allocations: 290.2 kB / 0.4948 GB, free: 118.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002196/0.5114, allocations: 32.94 kB / 0.4949 GB, free: 118.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001146/0.5125, allocations: 392.4 kB / 0.4952 GB, free: 118.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002553/0.5128, allocations: 112.2 kB / 0.4953 GB, free: 118.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.338e-05/0.5129, allocations: 55.62 kB / 0.4954 GB, free: 118.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001636/0.5145, allocations: 1.823 MB / 0.4972 GB, free: 117.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.5145, allocations: 0 / 0.4972 GB, free: 117.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002796/0.5173, allocations: 1.158 MB / 0.4983 GB, free: 117.1 MB / 426.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.000392/0.5177, allocations: 199.6 kB / 0.4985 GB, free: 116.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005986/0.5237, allocations: 6.939 MB / 0.5053 GB, free: 110 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5237, allocations: 1.219 kB / 0.5053 GB, free: 110 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002926/0.5266, allocations: 3.271 MB / 0.5085 GB, free: 106.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001366/0.528, allocations: 273 kB / 0.5087 GB, free: 106.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006749/0.5347, allocations: 8.153 MB / 0.5167 GB, free: 98.28 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001074/0.5358, allocations: 1.73 MB / 0.5184 GB, free: 96.52 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006881/0.5365, allocations: 236.4 kB / 0.5186 GB, free: 96.29 MB / 426.7 MB Notification: Performance of SimCode: time 1.192e-06/0.5365, allocations: 0 / 0.5186 GB, free: 96.29 MB / 426.7 MB Notification: Performance of Templates: time 0.2025/0.739, allocations: 147.9 MB / 0.663 GB, free: 125.8 MB / 442.7 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 9.667618228122592]