Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001439/0.002516, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009973/0.0009973, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001303/0.002301, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8567/0.8567, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1423/0.999, allocations: 52.49 MB / 238.5 MB, free: 7.637 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 239.8 MB, free: 6.367 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.894e-05/2.046e-05, allocations: 3.281 kB / 239.8 MB, free: 6.363 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.008388/0.008409, allocations: 6.728 MB / 246.5 MB, free: 15.62 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006471/0.01488, allocations: 3.124 MB / 249.6 MB, free: 12.5 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001058/0.01594, allocations: 39.81 kB / 249.6 MB, free: 12.46 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001529/0.01747, allocations: 0.6902 MB / 250.3 MB, free: 11.77 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003554/0.02102, allocations: 1.458 MB / 251.8 MB, free: 10.32 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001105/0.02213, allocations: 499 kB / 252.3 MB, free: 9.828 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004887/0.02701, allocations: 3.521 MB / 255.8 MB, free: 6.301 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001262/0.02827, allocations: 0.5027 MB / 256.3 MB, free: 5.781 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002403/0.03068, allocations: 1.541 MB / 257.8 MB, free: 4.234 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002373/0.03305, allocations: 1.512 MB / 259.4 MB, free: 2.719 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004217/0.03347, allocations: 136 kB / 259.5 MB, free: 2.586 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001911/0.03538, allocations: 0.932 MB / 260.4 MB, free: 1.652 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001104/0.03649, allocations: 1.068 MB / 261.5 MB, free: 0.582 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009059/0.03739, allocations: 0.5489 MB / 262 MB, free: 32 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003608/0.041, allocations: 2.673 MB / 264.7 MB, free: 13.35 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.414e-05/0.04101, allocations: 4 kB / 264.7 MB, free: 13.34 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.04102, allocations: 0 / 264.7 MB, free: 13.34 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.781e-05/0.04111, allocations: 0 / 264.7 MB, free: 13.34 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.006141/0.04725, allocations: 3.343 MB / 268.1 MB, free: 9.941 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.04729, allocations: 12.03 kB / 268.1 MB, free: 9.93 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005108/0.0524, allocations: 0.9371 MB / 269 MB, free: 8.992 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002327/0.05473, allocations: 1.2 MB / 270.2 MB, free: 7.762 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/0.05483, allocations: 107 kB / 270.3 MB, free: 7.656 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008881/0.05572, allocations: 291.3 kB / 270.6 MB, free: 7.371 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007064/0.06278, allocations: 3.919 MB / 274.5 MB, free: 2.879 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.139e-05/0.06285, allocations: 39.69 kB / 274.6 MB, free: 2.84 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001795/0.06303, allocations: 75.89 kB / 274.6 MB, free: 2.766 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001034/0.06406, allocations: 1.128 MB / 275.8 MB, free: 1.633 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005105/0.06916, allocations: 3.082 MB / 278.8 MB, free: 14.54 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01453/0.0837, allocations: 22.83 MB / 301.7 MB, free: 6.863 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004458/0.08815, allocations: 1.809 MB / 303.5 MB, free: 5 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005551/0.08871, allocations: 0.5197 MB / 304 MB, free: 4.465 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.419e-05/0.08876, allocations: 20.03 kB / 304 MB, free: 4.445 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/0.0888, allocations: 46.5 kB / 304.1 MB, free: 4.391 MB / 298.7 MB Notification: Performance of pre-optimization done (n=122): time 3.817e-06/0.0888, allocations: 0 / 304.1 MB, free: 4.391 MB / 298.7 MB Notification: Performance of matching and sorting (n=136): time 0.01497/0.1038, allocations: 6.241 MB / 310.3 MB, free: 14.05 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001385/0.1052, allocations: 2.836 MB / 313.1 MB, free: 10.96 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001677/0.1068, allocations: 2.347 MB / 315.5 MB, free: 8.586 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001268/0.107, allocations: 41.89 kB / 315.5 MB, free: 8.539 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009699/0.1079, allocations: 2.051 MB / 317.6 MB, free: 6.461 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003743/0.1083, allocations: 0.5931 MB / 318.2 MB, free: 5.863 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008241/0.1091, allocations: 0.918 MB / 319.1 MB, free: 4.934 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.438e-05/0.1092, allocations: 305.1 kB / 319.4 MB, free: 4.633 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001299/0.1105, allocations: 0.8405 MB / 320.2 MB, free: 3.785 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002451/0.1129, allocations: 3.679 MB / 323.9 MB, free: 14.63 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004012/0.1169, allocations: 5.289 MB / 329.2 MB, free: 7.867 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-05/0.117, allocations: 35.98 kB / 329.2 MB, free: 7.832 MB / 330.7 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.009235/0.1262, allocations: 4.541 MB / 333.8 MB, free: 3.238 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.027e-05/0.1262, allocations: 49.72 kB / 333.8 MB, free: 3.191 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.119e-05/0.1263, allocations: 112 kB / 333.9 MB, free: 3.082 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006726/0.133, allocations: 0.9807 MB / 334.9 MB, free: 2.066 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002008/0.1351, allocations: 1.185 MB / 336.1 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1076/0.2426, allocations: 5.755 MB / 341.8 MB, free: 70.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002898/0.2455, allocations: 235.3 kB / 342.1 MB, free: 70.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003747/0.2459, allocations: 275.8 kB / 342.3 MB, free: 70.34 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.0008861/0.2468, allocations: 0.4958 MB / 342.8 MB, free: 70.23 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003602/0.2472, allocations: 168.8 kB / 343 MB, free: 70.22 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003353/0.2475, allocations: 342.2 kB / 343.3 MB, free: 70.2 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003097/0.2506, allocations: 1.247 MB / 344.6 MB, free: 70.05 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/0.2506, allocations: 6.875 kB / 344.6 MB, free: 70.05 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/0.2506, allocations: 5.453 kB / 344.6 MB, free: 70.05 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00317/0.2538, allocations: 2.507 MB / 347.1 MB, free: 69.7 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/0.2538, allocations: 7.938 kB / 347.1 MB, free: 69.7 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008015/0.2546, allocations: 203.5 kB / 347.3 MB, free: 69.7 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002466/0.2548, allocations: 243.2 kB / 347.6 MB, free: 69.7 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002701/0.2575, allocations: 0.8612 MB / 348.4 MB, free: 69.6 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001305/0.2577, allocations: 36.77 kB / 348.4 MB, free: 69.6 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002631/0.2603, allocations: 5.54 MB / 354 MB, free: 64.82 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0005939/0.2609, allocations: 2.676 MB / 356.7 MB, free: 62.2 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003981/0.2649, allocations: 2.655 MB / 359.3 MB, free: 61.42 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002148/0.2651, allocations: 33 kB / 359.4 MB, free: 61.42 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007783/0.2659, allocations: 20.81 kB / 359.4 MB, free: 61.42 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000258/0.2661, allocations: 107.6 kB / 359.5 MB, free: 61.42 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.264e-05/0.2662, allocations: 44.5 kB / 359.5 MB, free: 61.42 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005809/0.2668, allocations: 0.8481 MB / 360.4 MB, free: 61.33 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2668, allocations: 0 / 360.4 MB, free: 61.33 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00241/0.2692, allocations: 1.153 MB / 361.5 MB, free: 61.33 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.0003468/0.2696, allocations: 183 kB / 361.7 MB, free: 61.26 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003622/0.2732, allocations: 3.404 MB / 365.1 MB, free: 60.58 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.022e-05/0.2733, allocations: 64.5 kB / 365.2 MB, free: 60.57 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001658/0.2749, allocations: 1.513 MB / 366.7 MB, free: 60.01 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001508/0.2764, allocations: 2.015 MB / 368.7 MB, free: 58.54 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005872/0.2823, allocations: 5.499 MB / 374.2 MB, free: 53.8 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004968/0.2828, allocations: 0.7881 MB / 375 MB, free: 53.18 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008326/0.2836, allocations: 375.7 kB / 375.4 MB, free: 52.81 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007714/0.2844, allocations: 421.2 kB / 375.8 MB, free: 52.4 MB / 330.7 MB Notification: Performance of SimCode: time 1.122e-06/0.2844, allocations: 0 / 375.8 MB, free: 52.4 MB / 330.7 MB Notification: Performance of Templates: time 0.0397/0.3241, allocations: 47.28 MB / 423 MB, free: 5.246 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravity/PointGravity.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2508894884958863]