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.001405/0.001405, allocations: 85.17 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.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.001794/0.001794, allocations: 147.1 kB / 24.89 MB, free: 8.742 MB / 18.57 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 1.031/1.031, allocations: 173.4 MB / 201.5 MB, free: 8.738 MB / 186.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.302e-06/1.302e-06, allocations: 0 / 268.5 MB, free: 5.977 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.966e-05/2.096e-05, allocations: 6.25 kB / 268.5 MB, free: 5.969 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.005945/0.005966, allocations: 6.67 MB / 275.2 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0044/0.01037, allocations: 3.114 MB / 278.3 MB, free: 12.14 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005099/0.01088, allocations: 39.81 kB / 278.3 MB, free: 12.1 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000994/0.01187, allocations: 0.6885 MB / 279 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002208/0.01408, allocations: 1.459 MB / 280.5 MB, free: 9.941 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000656/0.01473, allocations: 0.5612 MB / 281.1 MB, free: 9.379 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002707/0.01744, allocations: 3.727 MB / 284.8 MB, free: 5.648 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008454/0.01829, allocations: 0.7129 MB / 285.5 MB, free: 4.918 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001244/0.01953, allocations: 1.309 MB / 286.8 MB, free: 3.605 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001609/0.02114, allocations: 1.524 MB / 288.3 MB, free: 2.078 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001877/0.02133, allocations: 140 kB / 288.5 MB, free: 1.941 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001148/0.02247, allocations: 0.9397 MB / 289.4 MB, free: 1 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1131/0.1356, allocations: 1.171 MB / 290.6 MB, free: 19.02 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001538/0.1371, allocations: 0.6824 MB / 291.3 MB, free: 19.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004162/0.1413, allocations: 2.918 MB / 294.2 MB, free: 18.81 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.1413, allocations: 0 / 294.2 MB, free: 18.81 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1413, allocations: 0 / 294.2 MB, free: 18.81 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.845e-05/0.1414, allocations: 1.188 kB / 294.2 MB, free: 18.81 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.005616/0.147, allocations: 2.789 MB / 297 MB, free: 17.55 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.147, allocations: 12.33 kB / 297 MB, free: 17.55 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003402/0.1504, allocations: 0.9433 MB / 297.9 MB, free: 17.54 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001879/0.1523, allocations: 1.206 MB / 299.1 MB, free: 17.17 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.221e-05/0.1524, allocations: 107.5 kB / 299.2 MB, free: 17.16 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005802/0.153, allocations: 295.7 kB / 299.5 MB, free: 17.15 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005433/0.1584, allocations: 3.939 MB / 303.5 MB, free: 15.6 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.729e-05/0.1585, allocations: 38.81 kB / 303.5 MB, free: 15.6 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001906/0.1586, allocations: 79.31 kB / 303.6 MB, free: 15.6 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001037/0.1597, allocations: 1.203 MB / 304.8 MB, free: 15.6 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005163/0.1648, allocations: 3.141 MB / 307.9 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01547/0.1803, allocations: 22.84 MB / 330.8 MB, free: 10.62 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004649/0.185, allocations: 1.834 MB / 332.6 MB, free: 8.789 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007302/0.1857, allocations: 0.5326 MB / 333.1 MB, free: 8.246 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.515e-05/0.1858, allocations: 16 kB / 333.1 MB, free: 8.23 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.1858, allocations: 53.17 kB / 333.2 MB, free: 8.172 MB / 282.7 MB Notification: Performance of pre-optimization done (n=122): time 4.248e-06/0.1858, allocations: 0 / 333.2 MB, free: 8.172 MB / 282.7 MB Notification: Performance of matching and sorting (n=136): time 0.01731/0.2031, allocations: 6.257 MB / 339.5 MB, free: 1.945 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001556/0.2047, allocations: 2.826 MB / 342.3 MB, free: 14.9 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002421/0.2071, allocations: 2.346 MB / 344.6 MB, free: 12.95 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002915/0.2074, allocations: 45.38 kB / 344.7 MB, free: 12.9 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009967/0.2084, allocations: 2.044 MB / 346.7 MB, free: 10.97 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000624/0.209, allocations: 0.5939 MB / 347.3 MB, free: 10.41 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009927/0.21, allocations: 0.9132 MB / 348.2 MB, free: 9.598 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.442e-05/0.21, allocations: 304.2 kB / 348.5 MB, free: 9.301 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001476/0.2115, allocations: 0.8549 MB / 349.4 MB, free: 8.441 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002627/0.2141, allocations: 3.687 MB / 353.1 MB, free: 3.43 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004441/0.2186, allocations: 5.053 MB / 358.1 MB, free: 13.05 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.695e-05/0.2186, allocations: 28 kB / 358.1 MB, free: 13.03 MB / 314.7 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01177/0.2304, allocations: 4.561 MB / 362.7 MB, free: 8.434 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.744e-05/0.2305, allocations: 55.75 kB / 362.8 MB, free: 8.383 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007559/0.238, allocations: 1.691 MB / 364.4 MB, free: 6.668 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007533/0.2456, allocations: 0.9735 MB / 365.4 MB, free: 5.664 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003033/0.2486, allocations: 1.1 MB / 366.5 MB, free: 4.562 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006014/0.2546, allocations: 5.833 MB / 372.4 MB, free: 14.38 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003241/0.2578, allocations: 231.7 kB / 372.6 MB, free: 14.15 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005299/0.2584, allocations: 272.7 kB / 372.8 MB, free: 13.89 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.00123/0.2596, allocations: 0.4947 MB / 373.3 MB, free: 13.38 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004264/0.26, allocations: 161 kB / 373.5 MB, free: 13.22 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003427/0.2604, allocations: 348.7 kB / 373.8 MB, free: 12.88 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003371/0.2637, allocations: 1.249 MB / 375.1 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-05/0.2638, allocations: 7.938 kB / 375.1 MB, free: 11.58 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.389e-05/0.2638, allocations: 7.984 kB / 375.1 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004252/0.268, allocations: 2.503 MB / 377.6 MB, free: 9.109 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.268, allocations: 0 / 377.6 MB, free: 9.109 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008365/0.2689, allocations: 187.7 kB / 377.8 MB, free: 8.926 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003227/0.2721, allocations: 0.8586 MB / 378.6 MB, free: 8.031 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001924/0.2723, allocations: 47.94 kB / 378.7 MB, free: 7.984 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003841/0.2761, allocations: 5.573 MB / 384.3 MB, free: 2.023 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001217/0.2773, allocations: 2.663 MB / 386.9 MB, free: 15.15 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005139/0.2825, allocations: 2.646 MB / 389.6 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006225/0.2831, allocations: 250.1 kB / 389.8 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002992/0.2834, allocations: 39.81 kB / 389.9 MB, free: 12.17 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009049/0.2843, allocations: 20 kB / 389.9 MB, free: 12.15 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003259/0.2846, allocations: 107.7 kB / 390 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001208/0.2848, allocations: 47.95 kB / 390 MB, free: 12 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001316/0.2861, allocations: 0.8334 MB / 390.9 MB, free: 11.15 MB / 346.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2861, allocations: 4 kB / 390.9 MB, free: 11.14 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003236/0.2893, allocations: 1.156 MB / 392 MB, free: 9.988 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.0004579/0.2898, allocations: 185.2 kB / 392.2 MB, free: 9.805 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004954/0.2947, allocations: 3.303 MB / 395.5 MB, free: 6.434 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000162/0.2949, allocations: 59.94 kB / 395.6 MB, free: 6.371 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002195/0.2971, allocations: 1.459 MB / 397 MB, free: 4.84 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001989/0.2991, allocations: 418.1 kB / 397.4 MB, free: 4.43 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007141/0.3062, allocations: 5.476 MB / 402.9 MB, free: 14.86 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000703/0.3069, allocations: 0.7812 MB / 403.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001206/0.3081, allocations: 371.8 kB / 404.1 MB, free: 13.69 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009421/0.3091, allocations: 425.2 kB / 404.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of SimCode: time 1.613e-06/0.3091, allocations: 0 / 404.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of Templates: time 0.1553/0.4643, allocations: 48 MB / 452.5 MB, free: 116.3 MB / 378.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 -s gbode -gbm=radauIIA3 -emit_protected -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.7990594073198736]