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.001061/0.001061, allocations: 81.91 kB / 21.42 MB, free: 3.07 MB / 18.57 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.0044/0.0044, allocations: 169.3 kB / 24.82 MB, free: 9.273 MB / 18.57 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 1.014/1.014, allocations: 177 MB / 205.1 MB, free: 5.48 MB / 186.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 1.854e-06/1.854e-06, allocations: 0 / 273.3 MB, free: 1.223 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.304e-05/2.49e-05, allocations: 6.312 kB / 273.3 MB, free: 1.215 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.006622/0.006647, allocations: 6.609 MB / 279.9 MB, free: 10.57 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00435/0.011, allocations: 3.018 MB / 283 MB, free: 7.547 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000645/0.01164, allocations: 39.81 kB / 283 MB, free: 7.508 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001099/0.01274, allocations: 0.7041 MB / 283.7 MB, free: 6.801 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002202/0.01494, allocations: 1.443 MB / 285.1 MB, free: 5.352 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008193/0.01576, allocations: 0.5612 MB / 285.7 MB, free: 4.789 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00318/0.01894, allocations: 3.876 MB / 289.6 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001021/0.01996, allocations: 0.6816 MB / 290.3 MB, free: 216 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1275/0.1475, allocations: 1.294 MB / 291.6 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002978/0.1505, allocations: 1.589 MB / 293.1 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007194/0.1512, allocations: 137.6 kB / 293.3 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00193/0.1531, allocations: 0.8958 MB / 294.2 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0014/0.1545, allocations: 1.156 MB / 295.3 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001918/0.1564, allocations: 0.6721 MB / 296 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004633/0.1611, allocations: 2.869 MB / 298.9 MB, free: 15.32 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.1611, allocations: 5.531 kB / 298.9 MB, free: 15.32 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1611, allocations: 0 / 298.9 MB, free: 15.32 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001553/0.1612, allocations: 0.9062 kB / 298.9 MB, free: 15.32 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.006588/0.1678, allocations: 3.199 MB / 302.1 MB, free: 13.93 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.1679, allocations: 17.62 kB / 302.1 MB, free: 13.92 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004148/0.172, allocations: 1.378 MB / 303.5 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001935/0.1739, allocations: 1.267 MB / 304.7 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.522e-05/0.174, allocations: 111.4 kB / 304.9 MB, free: 13.22 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000602/0.1746, allocations: 301.8 kB / 305.1 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0061/0.1807, allocations: 4.391 MB / 309.5 MB, free: 10.3 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.633e-05/0.1808, allocations: 34.34 kB / 309.6 MB, free: 10.3 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001935/0.181, allocations: 76 kB / 309.6 MB, free: 10.28 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00107/0.182, allocations: 1.203 MB / 310.8 MB, free: 9.852 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00544/0.1875, allocations: 3.215 MB / 314.1 MB, free: 7.285 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01925/0.2067, allocations: 32.72 MB / 346.8 MB, free: 6.176 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004595/0.2113, allocations: 1.834 MB / 348.6 MB, free: 4.312 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007319/0.2121, allocations: 0.6538 MB / 349.3 MB, free: 3.641 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.621e-05/0.2121, allocations: 26.23 kB / 349.3 MB, free: 3.617 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.2121, allocations: 50.45 kB / 349.3 MB, free: 3.559 MB / 298.7 MB Notification: Performance of pre-optimization done (n=122): time 3.166e-06/0.2121, allocations: 0 / 349.3 MB, free: 3.559 MB / 298.7 MB Notification: Performance of matching and sorting (n=136): time 0.01793/0.2301, allocations: 7.197 MB / 356.5 MB, free: 12.28 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0015/0.2316, allocations: 3.884 MB / 360.4 MB, free: 8.129 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002401/0.234, allocations: 2.634 MB / 363.1 MB, free: 5.883 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002094/0.2342, allocations: 45.7 kB / 363.1 MB, free: 5.832 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001058/0.2352, allocations: 2.322 MB / 365.4 MB, free: 3.621 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005501/0.2358, allocations: 0.6226 MB / 366.1 MB, free: 3.035 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001067/0.2369, allocations: 1.077 MB / 367.1 MB, free: 2.051 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.53e-05/0.237, allocations: 486.7 kB / 367.6 MB, free: 1.574 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001153/0.2381, allocations: 0.7318 MB / 368.3 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002973/0.2411, allocations: 5.142 MB / 373.5 MB, free: 9.793 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00504/0.2461, allocations: 6.433 MB / 379.9 MB, free: 1.371 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.308e-05/0.2462, allocations: 35.98 kB / 379.9 MB, free: 1.336 MB / 330.7 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01309/0.2593, allocations: 5.196 MB / 385.1 MB, free: 12.1 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.758e-05/0.2594, allocations: 48 kB / 385.2 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007653/0.267, allocations: 1.874 MB / 387.1 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007517/0.2745, allocations: 0.9919 MB / 388.1 MB, free: 9.113 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002853/0.2774, allocations: 1.053 MB / 389.1 MB, free: 8.059 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006912/0.2843, allocations: 8.046 MB / 397.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004028/0.2883, allocations: 227.7 kB / 397.4 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007866/0.2891, allocations: 275.9 kB / 397.6 MB, free: 15.07 MB / 362.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.001341/0.2904, allocations: 0.5509 MB / 398.2 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000598/0.291, allocations: 274.4 kB / 398.5 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000354/0.2914, allocations: 344.7 kB / 398.8 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003769/0.2952, allocations: 1.441 MB / 400.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.789e-05/0.2952, allocations: 4 kB / 400.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/0.2952, allocations: 11.97 kB / 400.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004536/0.2997, allocations: 3.06 MB / 403.3 MB, free: 9.281 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.2997, allocations: 0 / 403.3 MB, free: 9.281 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000712/0.3005, allocations: 175.8 kB / 403.5 MB, free: 9.109 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002831/0.3033, allocations: 0.7343 MB / 404.2 MB, free: 8.34 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001333/0.3034, allocations: 47.92 kB / 404.3 MB, free: 8.293 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004823/0.3082, allocations: 7.817 MB / 412.1 MB, free: 24 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001818/0.3101, allocations: 3.736 MB / 415.8 MB, free: 12.04 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005799/0.3159, allocations: 3.055 MB / 418.9 MB, free: 8.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007015/0.3166, allocations: 250.2 kB / 419.1 MB, free: 8.684 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002717/0.3168, allocations: 31.98 kB / 419.2 MB, free: 8.652 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008912/0.3177, allocations: 23.98 kB / 419.2 MB, free: 8.629 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003276/0.318, allocations: 111.8 kB / 419.3 MB, free: 8.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001158/0.3182, allocations: 43.95 kB / 419.3 MB, free: 8.477 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001556/0.3197, allocations: 1.058 MB / 420.4 MB, free: 7.406 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.3197, allocations: 0 / 420.4 MB, free: 7.406 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004712/0.3244, allocations: 1.148 MB / 421.5 MB, free: 6.258 MB / 378.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.0005222/0.325, allocations: 184.9 kB / 421.7 MB, free: 6.066 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005718/0.3307, allocations: 3.705 MB / 425.4 MB, free: 2.273 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.3307, allocations: 12 kB / 425.4 MB, free: 2.262 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002199/0.3329, allocations: 1.784 MB / 427.2 MB, free: 388 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001421/0.3343, allocations: 328 kB / 427.5 MB, free: 72 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007849/0.3421, allocations: 5.943 MB / 433.5 MB, free: 10.02 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007531/0.3429, allocations: 0.7966 MB / 434.3 MB, free: 9.195 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001312/0.3442, allocations: 378.9 kB / 434.6 MB, free: 8.824 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001262/0.3455, allocations: 466 kB / 435.1 MB, free: 8.367 MB / 394.7 MB Notification: Performance of SimCode: time 1.713e-06/0.3455, allocations: 0 / 435.1 MB, free: 8.367 MB / 394.7 MB Notification: Performance of Templates: time 0.1932/0.5387, allocations: 48.02 MB / 483.1 MB, free: 106.3 MB / 394.7 MB " [Timeout remaining time 659] 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 -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: 4.213160024955869]