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.0008615/0.0008615, allocations: 84.34 kB / 21.43 MB, free: 3.121 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.004149/0.004149, allocations: 156.1 kB / 24.7 MB, free: 9.418 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 0.8881/0.8881, allocations: 177 MB / 204.9 MB, free: 5.719 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.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 1.302e-06/1.302e-06, allocations: 0 / 325.8 MB, free: 15.34 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.955e-05/2.085e-05, allocations: 7.547 kB / 325.8 MB, free: 15.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.004648/0.004669, allocations: 6.177 MB / 332 MB, free: 9.125 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003291/0.007959, allocations: 2.947 MB / 334.9 MB, free: 6.168 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003336/0.008293, allocations: 35.88 kB / 334.9 MB, free: 6.133 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008739/0.009167, allocations: 0.6768 MB / 335.6 MB, free: 5.453 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001621/0.01079, allocations: 1.45 MB / 337.1 MB, free: 4 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005079/0.0113, allocations: 0.5573 MB / 337.6 MB, free: 3.441 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00228/0.01358, allocations: 3.857 MB / 341.5 MB, free: 15.57 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005643/0.01414, allocations: 0.6778 MB / 342.2 MB, free: 14.89 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000975/0.01511, allocations: 1.298 MB / 343.5 MB, free: 13.59 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001138/0.01625, allocations: 1.594 MB / 345.1 MB, free: 11.99 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001495/0.0164, allocations: 136 kB / 345.2 MB, free: 11.86 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009074/0.01731, allocations: 0.889 MB / 346.1 MB, free: 10.96 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006239/0.01793, allocations: 1.149 MB / 347.2 MB, free: 9.812 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005301/0.01846, allocations: 0.6772 MB / 347.9 MB, free: 9.133 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002681/0.02114, allocations: 4.06 MB / 352 MB, free: 5.059 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.02115, allocations: 0 / 352 MB, free: 5.059 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.02115, allocations: 0 / 352 MB, free: 5.059 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.293e-05/0.02118, allocations: 0 / 352 MB, free: 5.059 MB / 314.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.003784/0.02497, allocations: 3.293 MB / 355.3 MB, free: 1.719 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.025, allocations: 11.98 kB / 355.3 MB, free: 1.707 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004253/0.02926, allocations: 2.078 MB / 357.4 MB, free: 15.62 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001833/0.03109, allocations: 1.532 MB / 358.9 MB, free: 14.06 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.284e-05/0.03118, allocations: 119 kB / 359 MB, free: 13.95 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005504/0.03173, allocations: 311.5 kB / 359.3 MB, free: 13.64 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008272/0.04, allocations: 8.238 MB / 367.5 MB, free: 4.832 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.141e-05/0.04009, allocations: 35.75 kB / 367.6 MB, free: 4.797 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002315/0.04032, allocations: 75.89 kB / 367.7 MB, free: 4.723 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001328/0.04165, allocations: 1.405 MB / 369.1 MB, free: 3.316 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01048/0.05213, allocations: 9.624 MB / 378.7 MB, free: 9.684 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02139/0.07352, allocations: 29.32 MB / 408 MB, free: 11.51 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006139/0.07966, allocations: 3.978 MB / 412 MB, free: 7.48 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001881/0.08154, allocations: 2.078 MB / 414.1 MB, free: 5.387 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.465e-05/0.08159, allocations: 12 kB / 414.1 MB, free: 5.375 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/0.08163, allocations: 54.48 kB / 414.1 MB, free: 5.312 MB / 378.7 MB Notification: Performance of pre-optimization done (n=122): time 3.417e-06/0.08163, allocations: 0 / 414.1 MB, free: 5.312 MB / 378.7 MB Notification: Performance of matching and sorting (n=136): time 0.02585/0.1075, allocations: 18.29 MB / 432.4 MB, free: 2.898 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001589/0.1091, allocations: 2.983 MB / 435.4 MB, free: 15.65 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002851/0.1119, allocations: 2.99 MB / 438.4 MB, free: 12.64 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002805/0.1122, allocations: 41.7 kB / 438.4 MB, free: 12.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009119/0.1131, allocations: 2.159 MB / 440.6 MB, free: 10.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005505/0.1137, allocations: 0.5815 MB / 441.2 MB, free: 9.82 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009949/0.1147, allocations: 1.012 MB / 442.2 MB, free: 8.797 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.674e-05/0.1147, allocations: 301.1 kB / 442.5 MB, free: 8.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002515/0.1172, allocations: 2.68 MB / 445.2 MB, free: 5.812 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1544/0.2716, allocations: 5.627 MB / 450.8 MB, free: 109.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007007/0.2786, allocations: 8.674 MB / 459.5 MB, free: 104.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.36e-05/0.2787, allocations: 31.09 kB / 459.5 MB, free: 104.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01584/0.2945, allocations: 12.01 MB / 471.5 MB, free: 99.37 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.536e-05/0.2946, allocations: 48 kB / 471.5 MB, free: 99.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01091/0.3055, allocations: 7.234 MB / 478.8 MB, free: 92.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01008/0.3155, allocations: 4.717 MB / 483.5 MB, free: 87.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002955/0.3185, allocations: 1.255 MB / 484.7 MB, free: 86.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009115/0.3276, allocations: 11.97 MB / 496.7 MB, free: 73.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003743/0.3314, allocations: 0.6737 MB / 497.4 MB, free: 73.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000312/0.3317, allocations: 310.8 kB / 497.7 MB, free: 72.79 MB / 410.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.001499/0.3332, allocations: 1.41 MB / 499.1 MB, free: 71.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002835/0.3335, allocations: 243.6 kB / 499.3 MB, free: 71.32 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002917/0.3337, allocations: 388.7 kB / 499.7 MB, free: 70.95 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005598/0.3393, allocations: 5 MB / 0.4929 GB, free: 65.92 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/0.3394, allocations: 11.98 kB / 0.4929 GB, free: 65.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.3394, allocations: 7.922 kB / 0.4929 GB, free: 65.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004163/0.3435, allocations: 4.667 MB / 0.4975 GB, free: 61.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.3435, allocations: 4 kB / 0.4975 GB, free: 61.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008251/0.3444, allocations: 367.4 kB / 0.4978 GB, free: 60.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003794/0.3481, allocations: 2.394 MB / 0.5002 GB, free: 58.46 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000106/0.3483, allocations: 50 kB / 0.5002 GB, free: 58.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004468/0.3527, allocations: 8.92 MB / 0.5089 GB, free: 49.15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006972/0.3534, allocations: 2.816 MB / 0.5117 GB, free: 46.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008186/0.3616, allocations: 8.739 MB / 0.5202 GB, free: 37.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004321/0.362, allocations: 267.5 kB / 0.5205 GB, free: 37.25 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002135/0.3623, allocations: 39.97 kB / 0.5205 GB, free: 37.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001156/0.3634, allocations: 379.3 kB / 0.5209 GB, free: 36.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002661/0.3637, allocations: 115.4 kB / 0.521 GB, free: 36.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-05/0.3638, allocations: 58.45 kB / 0.521 GB, free: 36.67 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001518/0.3653, allocations: 1.754 MB / 0.5227 GB, free: 34.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.3653, allocations: 4 kB / 0.5227 GB, free: 34.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002795/0.3681, allocations: 1.136 MB / 0.5239 GB, free: 33.77 MB / 410.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.0003835/0.3685, allocations: 183.2 kB / 0.524 GB, free: 33.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006272/0.3747, allocations: 6.942 MB / 0.5308 GB, free: 26.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3747, allocations: 0 / 0.5308 GB, free: 26.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002927/0.3777, allocations: 3.255 MB / 0.534 GB, free: 23.29 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00116/0.3788, allocations: 280.6 kB / 0.5343 GB, free: 23.01 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006217/0.385, allocations: 8.14 MB / 0.5422 GB, free: 14.84 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001065/0.3861, allocations: 1.727 MB / 0.5439 GB, free: 13.08 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006284/0.3867, allocations: 236.4 kB / 0.5441 GB, free: 12.85 MB / 410.7 MB Notification: Performance of SimCode: time 1.222e-06/0.3867, allocations: 0 / 0.5441 GB, free: 12.85 MB / 410.7 MB Notification: Performance of Templates: time 0.2079/0.5946, allocations: 147.1 MB / 0.6877 GB, free: 107.3 MB / 474.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: 8.840642964467406]