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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007662/0.0007662, allocations: 95.22 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000891/0.000891, allocations: 201.3 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 227.7 MB / 247.5 MB, free: 11.11 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002233/0.0002234, allocations: 8 kB / 308.4 MB, free: 0.7422 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08854/0.08879, allocations: 51.52 MB / 359.9 MB, free: 13.22 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.1901/0.2789, allocations: 13.29 MB / 373.2 MB, free: 8.855 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008621/0.2876, allocations: 4.237 MB / 377.4 MB, free: 8.695 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002165/0.2898, allocations: 55.23 kB / 377.5 MB, free: 8.688 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009037/0.2907, allocations: 269.3 kB / 377.8 MB, free: 8.633 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003359/0.2941, allocations: 1.293 MB / 379 MB, free: 8.418 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009524/0.295, allocations: 461.3 kB / 379.5 MB, free: 8.398 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004838/0.2999, allocations: 4.21 MB / 383.7 MB, free: 7.887 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008238/0.3007, allocations: 0.5467 MB / 384.3 MB, free: 7.59 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001137/0.3019, allocations: 0.6745 MB / 384.9 MB, free: 7.379 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001652/0.3035, allocations: 1.301 MB / 386.2 MB, free: 7.098 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002667/0.3038, allocations: 82.31 kB / 386.3 MB, free: 7.098 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001703/0.3055, allocations: 0.9449 MB / 387.3 MB, free: 6.754 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008872/0.3064, allocations: 1.064 MB / 388.3 MB, free: 6.188 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000894/0.3073, allocations: 1.201 MB / 389.5 MB, free: 5.277 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002742/0.3101, allocations: 2.956 MB / 392.5 MB, free: 3.504 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.3101, allocations: 0 / 392.5 MB, free: 3.504 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.796e-06/0.3101, allocations: 5.062 kB / 392.5 MB, free: 3.5 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.725e-05/0.3102, allocations: 0 / 392.5 MB, free: 3.5 MB / 302.1 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.005401/0.3156, allocations: 2.673 MB / 395.2 MB, free: 1.629 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.3156, allocations: 10.03 kB / 395.2 MB, free: 1.629 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008241/0.3239, allocations: 2.049 MB / 397.2 MB, free: 0.625 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003187/0.3271, allocations: 1.575 MB / 398.8 MB, free: 15.62 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001255/0.3272, allocations: 111.4 kB / 398.9 MB, free: 15.6 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001023/0.3283, allocations: 306.6 kB / 399.2 MB, free: 15.5 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01472/0.343, allocations: 8.236 MB / 407.4 MB, free: 7.332 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.96e-05/0.3431, allocations: 43.64 kB / 407.5 MB, free: 7.289 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002702/0.3434, allocations: 79.34 kB / 407.6 MB, free: 7.238 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002171/0.3456, allocations: 1.392 MB / 408.9 MB, free: 5.855 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01764/0.3632, allocations: 9.54 MB / 418.5 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03659/0.3998, allocations: 30.57 MB / 449.1 MB, free: 13.01 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01241/0.4123, allocations: 4.43 MB / 453.5 MB, free: 8.422 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003269/0.4156, allocations: 2.119 MB / 455.6 MB, free: 6.289 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.399e-05/0.4157, allocations: 14.19 kB / 455.6 MB, free: 6.277 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.879e-05/0.4157, allocations: 46.56 kB / 455.7 MB, free: 6.223 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 5.901e-06/0.4158, allocations: 3.984 kB / 455.7 MB, free: 6.219 MB / 366.1 MB Notification: Performance of matching and sorting (n=136): time 0.04734/0.4631, allocations: 18.39 MB / 474.1 MB, free: 3.547 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002228/0.4654, allocations: 3.058 MB / 477.1 MB, free: 172 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004133/0.4695, allocations: 2.982 MB / 480.1 MB, free: 13.16 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006063/0.4702, allocations: 45.8 kB / 480.1 MB, free: 13.11 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001405/0.4716, allocations: 2.073 MB / 482.2 MB, free: 11.05 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001023/0.4726, allocations: 0.5668 MB / 482.8 MB, free: 10.48 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006568/0.4733, allocations: 423.9 kB / 483.2 MB, free: 10.07 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.957e-05/0.4734, allocations: 301.1 kB / 483.5 MB, free: 9.77 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003962/0.4773, allocations: 2.629 MB / 486.1 MB, free: 7.133 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005989/0.4834, allocations: 5.581 MB / 491.7 MB, free: 76 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01159/0.495, allocations: 8.63 MB / 0.4886 GB, free: 5.984 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.759e-05/0.4951, allocations: 28 kB / 0.4886 GB, free: 5.957 MB / 414.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.03792/0.533, allocations: 11.91 MB / 0.5003 GB, free: 10.02 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.538e-05/0.5332, allocations: 51.98 kB / 0.5003 GB, free: 9.965 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02496/0.5581, allocations: 7.163 MB / 0.5073 GB, free: 2.773 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02374/0.5819, allocations: 4.725 MB / 0.5119 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004308/0.5863, allocations: 1.248 MB / 0.5131 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01631/0.6026, allocations: 11.52 MB / 0.5244 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005153/0.6078, allocations: 0.579 MB / 0.525 GB, free: 136 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.1781/0.7859, allocations: 324.2 kB / 0.5253 GB, free: 141.2 MB / 446.1 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.003265/0.7892, allocations: 1.414 MB / 0.5266 GB, free: 141.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006482/0.7899, allocations: 250.7 kB / 0.5269 GB, free: 141.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001044/0.7909, allocations: 412 kB / 0.5273 GB, free: 141.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01197/0.8029, allocations: 5.023 MB / 0.5322 GB, free: 141 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.91e-05/0.803, allocations: 7.875 kB / 0.5322 GB, free: 141 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.092e-05/0.803, allocations: 6.812 kB / 0.5322 GB, free: 141 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009071/0.8121, allocations: 5.35 MB / 0.5374 GB, free: 139 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/0.8121, allocations: 5.641 kB / 0.5374 GB, free: 139 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001801/0.8139, allocations: 367.7 kB / 0.5378 GB, free: 139 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009184/0.8231, allocations: 2.388 MB / 0.5401 GB, free: 138.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000402/0.8235, allocations: 47.14 kB / 0.5402 GB, free: 138.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00728/0.8308, allocations: 8.839 MB / 0.5488 GB, free: 132.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001322/0.8322, allocations: 2.901 MB / 0.5516 GB, free: 129.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0147/0.8469, allocations: 8.774 MB / 0.5602 GB, free: 127.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007257/0.8476, allocations: 326.8 kB / 0.5605 GB, free: 127 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003995/0.8481, allocations: 38.58 kB / 0.5605 GB, free: 127 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00196/0.85, allocations: 319.7 kB / 0.5608 GB, free: 126.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003879/0.8504, allocations: 105.9 kB / 0.5609 GB, free: 126.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001613/0.8506, allocations: 55.98 kB / 0.561 GB, free: 126.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002419/0.853, allocations: 1.864 MB / 0.5628 GB, free: 125.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.853, allocations: 0 / 0.5628 GB, free: 125.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003866/0.8569, allocations: 0.9921 MB / 0.5638 GB, free: 125.2 MB / 446.1 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.000426/0.8573, allocations: 175.8 kB / 0.564 GB, free: 125 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009877/0.8672, allocations: 7.407 MB / 0.5712 GB, free: 117.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.8672, allocations: 0 / 0.5712 GB, free: 117.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005249/0.8725, allocations: 3.629 MB / 0.5747 GB, free: 113.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002447/0.875, allocations: 291.8 kB / 0.575 GB, free: 113.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01073/0.8857, allocations: 9.847 MB / 0.5846 GB, free: 103.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00184/0.8876, allocations: 2.298 MB / 0.5869 GB, free: 101.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001318/0.8889, allocations: 243.3 kB / 0.5871 GB, free: 101 MB / 446.1 MB Notification: Performance of SimCode: time 1.473e-06/0.8889, allocations: 2.625 kB / 0.5871 GB, free: 101 MB / 446.1 MB Notification: Performance of Templates: time 0.3017/1.191, allocations: 144.3 MB / 0.728 GB, free: 136 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravity/PointGravity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches