Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001131/0.001131, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001565/0.002696, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00106/0.00106, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001331/0.00239, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9426/0.9426, allocations: 177.4 MB / 189.9 MB, free: 4.844 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09079/1.033, allocations: 53.86 MB / 243.7 MB, free: 14.92 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.94e-05/2.152e-05, allocations: 2.312 kB / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.007816/0.007838, allocations: 6.704 MB / 251.7 MB, free: 6.918 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006125/0.01396, allocations: 3.153 MB / 254.9 MB, free: 3.754 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001068/0.01503, allocations: 35.88 kB / 254.9 MB, free: 3.719 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001462/0.01649, allocations: 0.7001 MB / 255.6 MB, free: 3.016 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003112/0.0196, allocations: 1.427 MB / 257 MB, free: 1.582 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009262/0.02053, allocations: 0.4912 MB / 257.5 MB, free: 1.09 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003383/0.02391, allocations: 3.737 MB / 261.3 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001066/0.02498, allocations: 0.5066 MB / 261.8 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00152/0.0265, allocations: 1.521 MB / 263.3 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001498/0.028, allocations: 1.504 MB / 264.8 MB, free: 9.793 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002977/0.0283, allocations: 136 kB / 264.9 MB, free: 9.66 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001368/0.02966, allocations: 0.9164 MB / 265.8 MB, free: 8.742 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006592/0.03032, allocations: 1.04 MB / 266.9 MB, free: 7.699 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005718/0.03089, allocations: 0.5372 MB / 267.4 MB, free: 7.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002226/0.03312, allocations: 2.634 MB / 270.1 MB, free: 4.516 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.023e-05/0.03313, allocations: 4 kB / 270.1 MB, free: 4.512 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.03313, allocations: 0 / 270.1 MB, free: 4.512 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.216e-05/0.03321, allocations: 0 / 270.1 MB, free: 4.512 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.004073/0.03729, allocations: 3.312 MB / 273.4 MB, free: 1.141 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/0.03732, allocations: 8.625 kB / 273.4 MB, free: 1.133 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002971/0.04029, allocations: 1.039 MB / 274.4 MB, free: 96 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1044/0.1446, allocations: 1.183 MB / 275.6 MB, free: 18.91 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001056/0.1448, allocations: 108.2 kB / 275.7 MB, free: 18.91 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006205/0.1454, allocations: 287.9 kB / 276 MB, free: 18.9 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005491/0.1509, allocations: 3.929 MB / 279.9 MB, free: 17.34 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.265e-05/0.1509, allocations: 33.11 kB / 280 MB, free: 17.34 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001772/0.1511, allocations: 80.2 kB / 280 MB, free: 17.34 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001212/0.1523, allocations: 1.211 MB / 281.2 MB, free: 17.34 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005916/0.1582, allocations: 3.076 MB / 284.3 MB, free: 17.24 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01511/0.1733, allocations: 22.84 MB / 307.2 MB, free: 14.81 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004307/0.1776, allocations: 1.799 MB / 309 MB, free: 13.01 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006651/0.1783, allocations: 0.5323 MB / 309.5 MB, free: 12.47 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.578e-05/0.1784, allocations: 21.06 kB / 309.5 MB, free: 12.45 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.1784, allocations: 46.56 kB / 309.6 MB, free: 12.39 MB / 282.7 MB Notification: Performance of pre-optimization done (n=122): time 3.116e-06/0.1784, allocations: 4 kB / 309.6 MB, free: 12.39 MB / 282.7 MB Notification: Performance of matching and sorting (n=136): time 0.01531/0.1937, allocations: 6.174 MB / 315.7 MB, free: 6.223 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001481/0.1952, allocations: 2.843 MB / 318.6 MB, free: 3.141 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002139/0.1973, allocations: 2.335 MB / 320.9 MB, free: 1.109 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001411/0.1975, allocations: 51.44 kB / 321 MB, free: 1.055 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008152/0.1983, allocations: 2.044 MB / 323 MB, free: 14.99 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004473/0.1987, allocations: 0.5892 MB / 323.6 MB, free: 14.4 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000877/0.1996, allocations: 0.9179 MB / 324.5 MB, free: 13.47 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.542e-05/0.1997, allocations: 305.1 kB / 324.8 MB, free: 13.17 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00127/0.201, allocations: 0.8483 MB / 325.7 MB, free: 12.31 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002588/0.2035, allocations: 3.683 MB / 329.3 MB, free: 7.152 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004183/0.2077, allocations: 5.052 MB / 334.4 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-05/0.2078, allocations: 28 kB / 334.4 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01062/0.2184, allocations: 4.563 MB / 339 MB, free: 12.01 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.848e-05/0.2184, allocations: 48 kB / 339 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008494/0.2269, allocations: 1.708 MB / 340.7 MB, free: 10.22 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00865/0.2356, allocations: 0.9803 MB / 341.7 MB, free: 9.207 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003371/0.239, allocations: 1.179 MB / 342.9 MB, free: 8.027 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006964/0.2459, allocations: 5.842 MB / 348.7 MB, free: 1.797 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003316/0.2492, allocations: 239.6 kB / 349 MB, free: 1.562 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000453/0.2497, allocations: 271.9 kB / 349.2 MB, free: 1.297 MB / 314.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.001103/0.2508, allocations: 0.5041 MB / 349.7 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004391/0.2512, allocations: 155.8 kB / 349.9 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004497/0.2517, allocations: 340.7 kB / 350.2 MB, free: 300 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004034/0.2557, allocations: 1.254 MB / 351.5 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.768e-05/0.2557, allocations: 4 kB / 351.5 MB, free: 14.99 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.266e-05/0.2557, allocations: 7.969 kB / 351.5 MB, free: 14.98 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00452/0.2603, allocations: 2.489 MB / 354 MB, free: 12.44 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.2603, allocations: 0 / 354 MB, free: 12.44 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00136/0.2616, allocations: 207.7 kB / 354.2 MB, free: 12.24 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003517/0.262, allocations: 243.4 kB / 354.4 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003831/0.2658, allocations: 0.8624 MB / 355.3 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001582/0.266, allocations: 43.95 kB / 355.3 MB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004593/0.2706, allocations: 5.578 MB / 360.9 MB, free: 5.098 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001165/0.2717, allocations: 2.682 MB / 363.6 MB, free: 2.203 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007467/0.2792, allocations: 2.666 MB / 366.3 MB, free: 15.49 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003745/0.2796, allocations: 27.98 kB / 366.3 MB, free: 15.46 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001087/0.2807, allocations: 27.98 kB / 366.3 MB, free: 15.43 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002862/0.2809, allocations: 107.7 kB / 366.4 MB, free: 15.33 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001015/0.281, allocations: 43.94 kB / 366.5 MB, free: 15.29 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009865/0.282, allocations: 0.8252 MB / 367.3 MB, free: 14.45 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.282, allocations: 4 kB / 367.3 MB, free: 14.44 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0026/0.2846, allocations: 1.148 MB / 368.4 MB, free: 13.29 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.0003576/0.285, allocations: 167.8 kB / 368.6 MB, free: 13.12 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004039/0.289, allocations: 3.3 MB / 371.9 MB, free: 9.762 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001024/0.2891, allocations: 67.88 kB / 372 MB, free: 9.688 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001803/0.2909, allocations: 1.461 MB / 373.4 MB, free: 8.152 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001689/0.2926, allocations: 0.6202 MB / 374 MB, free: 7.539 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007095/0.2997, allocations: 5.487 MB / 379.5 MB, free: 1.969 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006246/0.3003, allocations: 0.7954 MB / 380.3 MB, free: 1.152 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0009786/0.3013, allocations: 378.2 kB / 380.7 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008308/0.3022, allocations: 425.1 kB / 381.1 MB, free: 376 kB / 346.7 MB Notification: Performance of SimCode: time 1.172e-06/0.3022, allocations: 4 kB / 381.1 MB, free: 372 kB / 346.7 MB Notification: Performance of Templates: time 0.1495/0.4517, allocations: 48.36 MB / 429.5 MB, free: 110.5 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.8916699923574924]