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.00182/0.00182, allocations: 96.25 kB / 20.96 MB, free: 3.473 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.002207/0.002207, allocations: 160.9 kB / 24.27 MB, free: 172 kB / 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.517/1.517, allocations: 177 MB / 204.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 178] 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.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_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.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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.205e-06/2.205e-06, allocations: 0 / 272.2 MB, free: 1.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.258e-05/3.479e-05, allocations: 2.312 kB / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.01499/0.01503, allocations: 6.193 MB / 278.4 MB, free: 11.58 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01044/0.02547, allocations: 2.94 MB / 281.3 MB, free: 8.633 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001418/0.02689, allocations: 39.81 kB / 281.4 MB, free: 8.594 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002869/0.02976, allocations: 0.6924 MB / 282.1 MB, free: 7.898 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006095/0.03586, allocations: 1.435 MB / 283.5 MB, free: 6.457 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00205/0.03791, allocations: 0.5535 MB / 284.1 MB, free: 5.902 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008996/0.0469, allocations: 3.88 MB / 287.9 MB, free: 2.016 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002084/0.04899, allocations: 0.6777 MB / 288.6 MB, free: 1.324 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003466/0.05245, allocations: 1.294 MB / 289.9 MB, free: 28 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1515/0.2039, allocations: 1.587 MB / 291.5 MB, free: 17.18 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003959/0.2043, allocations: 141.5 kB / 291.6 MB, free: 17.18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001684/0.206, allocations: 0.8908 MB / 292.5 MB, free: 17.18 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001059/0.2071, allocations: 1.152 MB / 293.7 MB, free: 17.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008464/0.2079, allocations: 0.6741 MB / 294.4 MB, free: 17.17 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004296/0.2122, allocations: 4.066 MB / 298.4 MB, free: 16.75 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2122, allocations: 0 / 298.4 MB, free: 16.75 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2122, allocations: 0.5938 kB / 298.4 MB, free: 16.75 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.371e-05/0.2123, allocations: 0.9062 kB / 298.4 MB, free: 16.75 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.009642/0.2219, allocations: 3.282 MB / 301.7 MB, free: 15.46 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.553e-05/0.222, allocations: 13.58 kB / 301.7 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009037/0.231, allocations: 2.513 MB / 304.2 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002733/0.2338, allocations: 1.54 MB / 305.8 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.614e-05/0.2338, allocations: 109.5 kB / 305.9 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008047/0.2346, allocations: 317.7 kB / 306.2 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01267/0.2473, allocations: 8.257 MB / 314.4 MB, free: 6.949 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.737e-05/0.2474, allocations: 36.11 kB / 314.5 MB, free: 6.93 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002888/0.2477, allocations: 81.84 kB / 314.6 MB, free: 6.879 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001751/0.2494, allocations: 1.392 MB / 316 MB, free: 5.508 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01778/0.2672, allocations: 9.648 MB / 325.6 MB, free: 12.01 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04373/0.3109, allocations: 29.39 MB / 355 MB, free: 14.11 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01308/0.324, allocations: 3.975 MB / 359 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003617/0.3276, allocations: 2.077 MB / 361 MB, free: 7.996 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.705e-05/0.3277, allocations: 23.94 kB / 361.1 MB, free: 7.973 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.261e-05/0.3278, allocations: 50.5 kB / 361.1 MB, free: 7.914 MB / 314.7 MB Notification: Performance of pre-optimization done (n=122): time 3.307e-06/0.3278, allocations: 0 / 361.1 MB, free: 7.914 MB / 314.7 MB Notification: Performance of matching and sorting (n=136): time 0.05378/0.3815, allocations: 18.38 MB / 379.5 MB, free: 5.43 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003003/0.3845, allocations: 2.985 MB / 382.5 MB, free: 2.195 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005043/0.3896, allocations: 2.99 MB / 385.5 MB, free: 15.18 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004793/0.3901, allocations: 41.7 kB / 385.5 MB, free: 15.13 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002191/0.3923, allocations: 2.159 MB / 387.7 MB, free: 12.98 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001033/0.3933, allocations: 0.587 MB / 388.3 MB, free: 12.41 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001847/0.3951, allocations: 1.013 MB / 389.3 MB, free: 11.39 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.3953, allocations: 301.1 kB / 389.6 MB, free: 11.09 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004924/0.4002, allocations: 2.691 MB / 392.3 MB, free: 8.391 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008069/0.4083, allocations: 5.655 MB / 397.9 MB, free: 1.266 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01374/0.422, allocations: 8.69 MB / 406.6 MB, free: 7.129 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.163e-05/0.4221, allocations: 32 kB / 406.6 MB, free: 7.098 MB / 362.7 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.03648/0.4586, allocations: 12.28 MB / 418.9 MB, free: 10.79 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.637e-05/0.4587, allocations: 56.22 kB / 419 MB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02525/0.4839, allocations: 7.238 MB / 426.2 MB, free: 3.461 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1434/0.6273, allocations: 4.727 MB / 430.9 MB, free: 119.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004711/0.6321, allocations: 1.27 MB / 432.2 MB, free: 119.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01553/0.6476, allocations: 11.99 MB / 444.2 MB, free: 113.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006255/0.6538, allocations: 0.7145 MB / 444.9 MB, free: 113.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000887/0.6547, allocations: 316.8 kB / 445.2 MB, free: 113.7 MB / 378.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.002535/0.6573, allocations: 1.417 MB / 446.6 MB, free: 113.1 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007915/0.6581, allocations: 283.1 kB / 446.9 MB, free: 113.1 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007979/0.6589, allocations: 388.5 kB / 447.3 MB, free: 112.9 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01019/0.669, allocations: 4.997 MB / 452.3 MB, free: 111.6 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.926e-05/0.6691, allocations: 3.969 kB / 452.3 MB, free: 111.6 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.805e-05/0.6691, allocations: 8.297 kB / 452.3 MB, free: 111.6 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006884/0.676, allocations: 4.685 MB / 457 MB, free: 109.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.676, allocations: 0.5312 kB / 457 MB, free: 109.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00164/0.6776, allocations: 367 kB / 457.4 MB, free: 109.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007873/0.6855, allocations: 2.401 MB / 459.8 MB, free: 108.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002806/0.6858, allocations: 44.19 kB / 459.8 MB, free: 108.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007209/0.693, allocations: 8.943 MB / 468.7 MB, free: 99.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001248/0.6942, allocations: 2.814 MB / 471.6 MB, free: 96.01 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01403/0.7083, allocations: 8.788 MB / 480.3 MB, free: 87.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007567/0.709, allocations: 280.8 kB / 480.6 MB, free: 87.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005361/0.7096, allocations: 35.98 kB / 480.7 MB, free: 87.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002384/0.7119, allocations: 387.3 kB / 481 MB, free: 86.79 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004561/0.7124, allocations: 111.7 kB / 481.1 MB, free: 86.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001733/0.7126, allocations: 49.38 kB / 481.2 MB, free: 86.63 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002249/0.7148, allocations: 1.754 MB / 482.9 MB, free: 84.87 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.7148, allocations: 0 / 482.9 MB, free: 84.87 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004521/0.7193, allocations: 1.145 MB / 484.1 MB, free: 83.73 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.0005026/0.7198, allocations: 184.3 kB / 484.3 MB, free: 83.56 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01002/0.7299, allocations: 6.944 MB / 491.2 MB, free: 76.6 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.7299, allocations: 0 / 491.2 MB, free: 76.6 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005192/0.7351, allocations: 3.257 MB / 494.5 MB, free: 73.28 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002369/0.7374, allocations: 332.5 kB / 494.8 MB, free: 72.96 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009091/0.7465, allocations: 7.947 MB / 0.491 GB, free: 64.96 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001545/0.7481, allocations: 1.725 MB / 0.4926 GB, free: 63.21 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003133/0.7512, allocations: 1.651 MB / 0.4943 GB, free: 61.55 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007886/0.752, allocations: 196.4 kB / 0.4944 GB, free: 61.36 MB / 378.7 MB Notification: Performance of SimCode: time 1.553e-06/0.752, allocations: 0 / 0.4944 GB, free: 61.36 MB / 378.7 MB Notification: Performance of Templates: time 0.05432/0.8063, allocations: 44.95 MB / 0.5383 GB, free: 16.66 MB / 378.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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 6.509384864009917]