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.0008922/0.0008922, allocations: 87.62 kB / 21.43 MB, free: 3.137 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.003508/0.003508, allocations: 160.2 kB / 24.7 MB, free: 8.879 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.8639/0.8639, allocations: 177.1 MB / 205 MB, free: 5.734 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.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_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.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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.496e-05/2.652e-05, allocations: 2.281 kB / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.006845/0.006871, allocations: 6.194 MB / 332 MB, free: 9.188 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005413/0.01228, allocations: 2.948 MB / 335 MB, free: 6.23 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008032/0.01309, allocations: 35.88 kB / 335 MB, free: 6.195 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001423/0.01451, allocations: 0.6884 MB / 335.7 MB, free: 5.504 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002875/0.01739, allocations: 1.435 MB / 337.1 MB, free: 4.062 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009112/0.0183, allocations: 0.5418 MB / 337.7 MB, free: 3.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003842/0.02214, allocations: 3.883 MB / 341.6 MB, free: 15.63 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001058/0.0232, allocations: 0.6739 MB / 342.2 MB, free: 14.95 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001566/0.02476, allocations: 1.298 MB / 343.5 MB, free: 13.65 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001597/0.02636, allocations: 1.59 MB / 345.1 MB, free: 12.05 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003056/0.02667, allocations: 136 kB / 345.3 MB, free: 11.92 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001203/0.02787, allocations: 0.889 MB / 346.2 MB, free: 11.03 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007433/0.02861, allocations: 1.157 MB / 347.3 MB, free: 9.871 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005288/0.02914, allocations: 0.6656 MB / 348 MB, free: 9.203 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003406/0.03255, allocations: 4.064 MB / 352 MB, free: 5.125 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.03255, allocations: 0 / 352 MB, free: 5.125 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.063e-06/0.03255, allocations: 4 kB / 352 MB, free: 5.121 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.305e-05/0.03262, allocations: 0 / 352 MB, free: 5.121 MB / 314.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.004321/0.03694, allocations: 3.288 MB / 355.3 MB, free: 1.789 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.03697, allocations: 8.031 kB / 355.3 MB, free: 1.781 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004203/0.04118, allocations: 2.082 MB / 357.4 MB, free: 15.7 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002203/0.04338, allocations: 1.532 MB / 359 MB, free: 14.13 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.093e-05/0.04345, allocations: 119 kB / 359.1 MB, free: 14.02 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005816/0.04403, allocations: 303.5 kB / 359.4 MB, free: 13.72 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009059/0.05309, allocations: 8.242 MB / 367.6 MB, free: 4.906 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.627e-05/0.05315, allocations: 31.73 kB / 367.6 MB, free: 4.875 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002062/0.05335, allocations: 87.89 kB / 367.7 MB, free: 4.789 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001221/0.05458, allocations: 1.393 MB / 369.1 MB, free: 3.395 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0112/0.06578, allocations: 9.616 MB / 378.7 MB, free: 9.77 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02381/0.08959, allocations: 29.34 MB / 408.1 MB, free: 11.58 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006906/0.09649, allocations: 3.982 MB / 412 MB, free: 7.551 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002045/0.09854, allocations: 2.073 MB / 414.1 MB, free: 5.461 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.903e-05/0.0986, allocations: 13.06 kB / 414.1 MB, free: 5.449 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.09863, allocations: 50.48 kB / 414.2 MB, free: 5.391 MB / 378.7 MB Notification: Performance of pre-optimization done (n=122): time 3.787e-06/0.09863, allocations: 4 kB / 414.2 MB, free: 5.387 MB / 378.7 MB Notification: Performance of matching and sorting (n=136): time 0.02773/0.1264, allocations: 18.28 MB / 432.5 MB, free: 2.988 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001528/0.1279, allocations: 2.982 MB / 435.4 MB, free: 15.74 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00324/0.1311, allocations: 2.994 MB / 438.4 MB, free: 12.72 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005225/0.1317, allocations: 45.69 kB / 438.5 MB, free: 12.67 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009937/0.1326, allocations: 2.159 MB / 440.6 MB, free: 10.49 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007589/0.1334, allocations: 0.5854 MB / 441.2 MB, free: 9.898 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001151/0.1346, allocations: 1.004 MB / 442.2 MB, free: 8.883 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.217e-05/0.1346, allocations: 305.2 kB / 442.5 MB, free: 8.582 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002843/0.1375, allocations: 2.68 MB / 445.2 MB, free: 5.895 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1455/0.283, allocations: 5.629 MB / 450.8 MB, free: 109.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007641/0.2906, allocations: 8.672 MB / 459.5 MB, free: 104.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.994e-05/0.2907, allocations: 33.53 kB / 459.5 MB, free: 104.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01769/0.3084, allocations: 12 MB / 471.5 MB, free: 99.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.497e-05/0.3084, allocations: 48 kB / 471.6 MB, free: 99.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01118/0.3196, allocations: 7.238 MB / 478.8 MB, free: 92.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0102/0.3298, allocations: 4.72 MB / 483.5 MB, free: 87.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002678/0.3325, allocations: 1.255 MB / 484.8 MB, free: 86.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008905/0.3414, allocations: 11.98 MB / 496.8 MB, free: 73.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004001/0.3454, allocations: 0.6726 MB / 497.5 MB, free: 73.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006115/0.346, allocations: 311.9 kB / 497.8 MB, free: 72.86 MB / 410.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.001647/0.3476, allocations: 1.418 MB / 499.2 MB, free: 71.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004256/0.3481, allocations: 239.6 kB / 499.4 MB, free: 71.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003149/0.3484, allocations: 388.7 kB / 499.8 MB, free: 71.02 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005564/0.3539, allocations: 4.998 MB / 0.493 GB, free: 65.99 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.661e-05/0.354, allocations: 8 kB / 0.493 GB, free: 65.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.319e-05/0.354, allocations: 11.91 kB / 0.493 GB, free: 65.97 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004667/0.3586, allocations: 4.674 MB / 0.4975 GB, free: 61.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.3586, allocations: 4 kB / 0.4975 GB, free: 61.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008484/0.3595, allocations: 367.4 kB / 0.4979 GB, free: 60.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003828/0.3633, allocations: 2.39 MB / 0.5002 GB, free: 58.53 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001508/0.3635, allocations: 51.94 kB / 0.5003 GB, free: 58.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004596/0.3681, allocations: 8.911 MB / 0.509 GB, free: 49.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007672/0.3688, allocations: 2.82 MB / 0.5117 GB, free: 46.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008507/0.3773, allocations: 8.736 MB / 0.5203 GB, free: 37.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006506/0.378, allocations: 275.5 kB / 0.5205 GB, free: 37.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002448/0.3782, allocations: 35.98 kB / 0.5206 GB, free: 37.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001173/0.3794, allocations: 382 kB / 0.5209 GB, free: 36.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002825/0.3797, allocations: 115.5 kB / 0.521 GB, free: 36.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/0.3798, allocations: 51.95 kB / 0.5211 GB, free: 36.75 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001562/0.3814, allocations: 1.758 MB / 0.5228 GB, free: 34.98 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3814, allocations: 4 kB / 0.5228 GB, free: 34.97 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002959/0.3843, allocations: 1.134 MB / 0.5239 GB, free: 33.85 MB / 410.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.0004086/0.3847, allocations: 185.1 kB / 0.5241 GB, free: 33.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007945/0.3927, allocations: 6.938 MB / 0.5309 GB, free: 26.69 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.3927, allocations: 0 / 0.5309 GB, free: 26.69 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003507/0.3962, allocations: 3.258 MB / 0.534 GB, free: 23.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001792/0.398, allocations: 277.8 kB / 0.5343 GB, free: 23.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008814/0.4068, allocations: 8.14 MB / 0.5423 GB, free: 14.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001404/0.4082, allocations: 1.729 MB / 0.5439 GB, free: 13.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001273/0.4095, allocations: 236.4 kB / 0.5442 GB, free: 12.93 MB / 410.7 MB Notification: Performance of SimCode: time 1.643e-06/0.4095, allocations: 0 / 0.5442 GB, free: 12.93 MB / 410.7 MB Notification: Performance of Templates: time 0.2385/0.6479, allocations: 147.1 MB / 0.6878 GB, free: 107.1 MB / 474.7 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 8.851488135755062]