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.0008926/0.0008926, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.0008843/0.0008843, allocations: 169.1 kB / 24.91 MB, free: 9.184 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.8932/0.8932, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.162e-06/1.162e-06, allocations: 0 / 273.5 MB, free: 1.305 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.09e-05/1.206e-05, allocations: 2.312 kB / 273.5 MB, free: 1.301 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.005188/0.005201, allocations: 6.609 MB / 280.1 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003481/0.008682, allocations: 3.118 MB / 283.2 MB, free: 7.535 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002787/0.00896, allocations: 35.88 kB / 283.2 MB, free: 7.5 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009293/0.00989, allocations: 0.7117 MB / 283.9 MB, free: 6.785 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001547/0.01144, allocations: 1.443 MB / 285.4 MB, free: 5.336 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005183/0.01195, allocations: 0.5651 MB / 285.9 MB, free: 4.77 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002428/0.01438, allocations: 3.88 MB / 289.8 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005251/0.01491, allocations: 0.7169 MB / 290.5 MB, free: 152 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1003/0.1152, allocations: 1.299 MB / 291.8 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001985/0.1172, allocations: 1.511 MB / 293.3 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003744/0.1176, allocations: 137.6 kB / 293.5 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001318/0.1189, allocations: 0.8825 MB / 294.4 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008609/0.1198, allocations: 1.16 MB / 295.5 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008429/0.1206, allocations: 0.6703 MB / 296.2 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002779/0.1234, allocations: 2.875 MB / 299.1 MB, free: 15.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.1234, allocations: 0 / 299.1 MB, free: 15.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1234, allocations: 0 / 299.1 MB, free: 15.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.51e-05/0.1235, allocations: 2.406 kB / 299.1 MB, free: 15.36 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.003883/0.1274, allocations: 2.757 MB / 301.8 MB, free: 14.11 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.1274, allocations: 12.34 kB / 301.8 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003294/0.1307, allocations: 1.04 MB / 302.9 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001309/0.132, allocations: 1.191 MB / 304.1 MB, free: 13.72 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.999e-05/0.1321, allocations: 111.8 kB / 304.2 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000531/0.1326, allocations: 293.8 kB / 304.5 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004171/0.1368, allocations: 3.939 MB / 308.4 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.547e-05/0.1368, allocations: 30.42 kB / 308.4 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001903/0.137, allocations: 82.78 kB / 308.5 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009382/0.1379, allocations: 1.201 MB / 309.7 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004473/0.1424, allocations: 3.132 MB / 312.8 MB, free: 8.961 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01241/0.1548, allocations: 22.86 MB / 335.7 MB, free: 1.809 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004203/0.159, allocations: 1.829 MB / 337.5 MB, free: 15.98 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005687/0.1596, allocations: 0.5225 MB / 338.1 MB, free: 15.44 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.432e-05/0.1597, allocations: 26.8 kB / 338.1 MB, free: 15.42 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.1597, allocations: 42.56 kB / 338.1 MB, free: 15.37 MB / 298.7 MB Notification: Performance of pre-optimization done (n=122): time 2.976e-06/0.1597, allocations: 4 kB / 338.1 MB, free: 15.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=136): time 0.01529/0.175, allocations: 6.265 MB / 344.4 MB, free: 9.113 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001136/0.1761, allocations: 2.846 MB / 347.2 MB, free: 6.031 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001719/0.1778, allocations: 2.339 MB / 349.6 MB, free: 4.082 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001404/0.178, allocations: 41.7 kB / 349.6 MB, free: 4.035 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007706/0.1787, allocations: 2.049 MB / 351.7 MB, free: 2.098 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004035/0.1791, allocations: 0.5889 MB / 352.3 MB, free: 1.543 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009414/0.1801, allocations: 0.9165 MB / 353.2 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.717e-05/0.1801, allocations: 302.5 kB / 353.5 MB, free: 436 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001323/0.1815, allocations: 0.8483 MB / 354.3 MB, free: 15.57 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0025/0.184, allocations: 3.677 MB / 358 MB, free: 10.55 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00372/0.1877, allocations: 5.047 MB / 363 MB, free: 4.047 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.571e-05/0.1877, allocations: 28 kB / 363.1 MB, free: 4.02 MB / 314.7 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.009686/0.1974, allocations: 4.571 MB / 367.6 MB, free: 15.4 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.108e-05/0.1974, allocations: 53.72 kB / 367.7 MB, free: 15.35 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006985/0.2044, allocations: 1.704 MB / 369.4 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006964/0.2114, allocations: 0.9763 MB / 370.4 MB, free: 12.6 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001841/0.2132, allocations: 1.057 MB / 371.4 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005266/0.2185, allocations: 5.826 MB / 377.3 MB, free: 5.332 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001897/0.2204, allocations: 227.7 kB / 377.5 MB, free: 5.109 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002935/0.2207, allocations: 272 kB / 377.7 MB, free: 4.844 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.0008465/0.2215, allocations: 0.5057 MB / 378.2 MB, free: 4.328 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003264/0.2219, allocations: 159.8 kB / 378.4 MB, free: 4.172 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003116/0.2222, allocations: 344.6 kB / 378.7 MB, free: 3.828 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003199/0.2254, allocations: 1.25 MB / 380 MB, free: 2.535 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.2254, allocations: 7.938 kB / 380 MB, free: 2.527 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.2254, allocations: 11.97 kB / 380 MB, free: 2.516 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003157/0.2285, allocations: 2.485 MB / 382.5 MB, free: 15.97 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.2285, allocations: 0 / 382.5 MB, free: 15.97 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006982/0.2292, allocations: 175.7 kB / 382.7 MB, free: 15.8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002962/0.2322, allocations: 0.8585 MB / 383.5 MB, free: 14.91 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001154/0.2323, allocations: 43.94 kB / 383.6 MB, free: 14.87 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003182/0.2355, allocations: 5.571 MB / 389.1 MB, free: 8.906 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001008/0.2365, allocations: 2.671 MB / 391.8 MB, free: 6.023 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004423/0.2409, allocations: 2.656 MB / 394.5 MB, free: 3.316 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002312/0.2412, allocations: 246.2 kB / 394.7 MB, free: 3.074 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002516/0.2414, allocations: 31.98 kB / 394.7 MB, free: 3.043 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007906/0.2422, allocations: 24 kB / 394.8 MB, free: 3.02 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002179/0.2424, allocations: 107.7 kB / 394.9 MB, free: 2.914 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001026/0.2425, allocations: 39.97 kB / 394.9 MB, free: 2.875 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007498/0.2433, allocations: 0.833 MB / 395.7 MB, free: 2.027 MB / 346.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2433, allocations: 0 / 395.7 MB, free: 2.027 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002504/0.2458, allocations: 1.137 MB / 396.9 MB, free: 0.8906 MB / 346.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.000479/0.2463, allocations: 170 kB / 397 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003893/0.2502, allocations: 3.303 MB / 400.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001051/0.2503, allocations: 60.69 kB / 400.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001876/0.2521, allocations: 1.462 MB / 401.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/0.2534, allocations: 418 kB / 402.3 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005333/0.2587, allocations: 5.466 MB / 407.7 MB, free: 5.781 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006155/0.2593, allocations: 0.7813 MB / 408.5 MB, free: 4.98 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000914/0.2602, allocations: 375.5 kB / 408.9 MB, free: 4.609 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008709/0.2611, allocations: 425.2 kB / 409.3 MB, free: 4.195 MB / 362.7 MB Notification: Performance of SimCode: time 7.31e-07/0.2611, allocations: 0 / 409.3 MB, free: 4.195 MB / 362.7 MB Notification: Performance of Templates: time 0.1327/0.3938, allocations: 47.86 MB / 457.2 MB, free: 105.6 MB / 378.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.6186740729026496]