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.001119/0.001119, allocations: 122.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001222/0.001222, allocations: 197.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 227.4 MB / 246.9 MB, free: 10.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 67.89 kB / 358.7 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.2826, allocations: 50.54 MB / 409.3 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.008623/0.2913, allocations: 6.953 MB / 416.2 MB, free: 10.63 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006352/0.2976, allocations: 3.104 MB / 419.3 MB, free: 7.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001652/0.2993, allocations: 31.94 kB / 419.3 MB, free: 7.488 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002075/0.3015, allocations: 0.6653 MB / 420 MB, free: 6.82 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003601/0.3051, allocations: 1.382 MB / 421.4 MB, free: 5.434 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.3062, allocations: 0.4912 MB / 421.9 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004194/0.3104, allocations: 3.206 MB / 425.1 MB, free: 1.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009832/0.3114, allocations: 463.1 kB / 425.5 MB, free: 1.266 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001478/0.3129, allocations: 0.79 MB / 426.3 MB, free: 484 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002055/0.315, allocations: 1.199 MB / 427.5 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005047/0.3155, allocations: 136 kB / 427.7 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001893/0.3174, allocations: 0.9359 MB / 428.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001107/0.3185, allocations: 1.075 MB / 429.7 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001237/0.3198, allocations: 1.203 MB / 430.9 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003899/0.3237, allocations: 3.995 MB / 434.9 MB, free: 7.906 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3237, allocations: 0 / 434.9 MB, free: 7.906 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.3237, allocations: 0 / 434.9 MB, free: 7.906 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.946e-05/0.3238, allocations: 3.938 kB / 434.9 MB, free: 7.902 MB / 350.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.005665/0.3294, allocations: 3.178 MB / 438.1 MB, free: 4.664 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.3295, allocations: 12.03 kB / 438.1 MB, free: 4.652 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007842/0.3373, allocations: 2.002 MB / 440.1 MB, free: 2.645 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002797/0.3402, allocations: 1.598 MB / 441.7 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.796e-05/0.3403, allocations: 114.6 kB / 441.8 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008633/0.3411, allocations: 295.5 kB / 442.1 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01476/0.3559, allocations: 8.223 MB / 450.3 MB, free: 7.805 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001368/0.3561, allocations: 43.58 kB / 450.3 MB, free: 7.762 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002587/0.3563, allocations: 79.89 kB / 450.4 MB, free: 7.684 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002005/0.3583, allocations: 1.393 MB / 451.8 MB, free: 6.285 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01853/0.3769, allocations: 9.542 MB / 461.3 MB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03382/0.4107, allocations: 30.52 MB / 491.9 MB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0115/0.4223, allocations: 4.383 MB / 496.2 MB, free: 8.82 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002885/0.4252, allocations: 2.124 MB / 498.4 MB, free: 6.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.039e-05/0.4253, allocations: 8 kB / 498.4 MB, free: 6.672 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.4254, allocations: 50.5 kB / 498.4 MB, free: 6.613 MB / 414.1 MB Notification: Performance of pre-optimization done (n=122): time 3.417e-06/0.4254, allocations: 0 / 498.4 MB, free: 6.613 MB / 414.1 MB Notification: Performance of matching and sorting (n=136): time 0.04404/0.4694, allocations: 18.29 MB / 0.5046 GB, free: 4.031 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002251/0.4717, allocations: 3.227 MB / 0.5078 GB, free: 480 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003884/0.4756, allocations: 2.978 MB / 0.5107 GB, free: 13.47 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005088/0.4761, allocations: 45.7 kB / 0.5107 GB, free: 13.42 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001294/0.4774, allocations: 2.068 MB / 0.5127 GB, free: 11.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006906/0.4781, allocations: 0.5671 MB / 0.5133 GB, free: 10.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001443/0.4796, allocations: 1.019 MB / 0.5143 GB, free: 9.715 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.047e-05/0.4797, allocations: 301.1 kB / 0.5146 GB, free: 9.418 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003714/0.4834, allocations: 2.637 MB / 0.5171 GB, free: 6.773 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005866/0.4893, allocations: 5.588 MB / 0.5226 GB, free: 15.71 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01191/0.5012, allocations: 8.623 MB / 0.531 GB, free: 5.625 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001098/0.5014, allocations: 32 kB / 0.5311 GB, free: 5.594 MB / 462.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.229/0.7304, allocations: 11.91 MB / 0.5427 GB, free: 120.2 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.54e-05/0.7305, allocations: 58.69 kB / 0.5427 GB, free: 120.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01891/0.7494, allocations: 7.158 MB / 0.5497 GB, free: 119 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02517/0.7746, allocations: 4.72 MB / 0.5543 GB, free: 116.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00691/0.7816, allocations: 1.244 MB / 0.5556 GB, free: 115.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01777/0.7994, allocations: 12.59 MB / 0.5678 GB, free: 102.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006967/0.8064, allocations: 0.5824 MB / 0.5684 GB, free: 101.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001467/0.8079, allocations: 316 kB / 0.5687 GB, free: 101.6 MB / 462.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.004125/0.812, allocations: 1.422 MB / 0.5701 GB, free: 100.3 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009551/0.813, allocations: 254 kB / 0.5703 GB, free: 100.1 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001031/0.814, allocations: 410.9 kB / 0.5707 GB, free: 99.73 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009772/0.8238, allocations: 5.021 MB / 0.5756 GB, free: 94.71 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.346e-05/0.8239, allocations: 4 kB / 0.5756 GB, free: 94.7 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.369e-05/0.8239, allocations: 7.969 kB / 0.5757 GB, free: 94.7 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008715/0.8326, allocations: 5.338 MB / 0.5809 GB, free: 89.36 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.053e-05/0.8327, allocations: 4 kB / 0.5809 GB, free: 89.36 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002393/0.8351, allocations: 367.4 kB / 0.5812 GB, free: 89 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0105/0.8456, allocations: 2.39 MB / 0.5836 GB, free: 86.58 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006034/0.8462, allocations: 54.33 kB / 0.5836 GB, free: 86.54 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01022/0.8565, allocations: 9.439 MB / 0.5928 GB, free: 76.61 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001668/0.8582, allocations: 3.073 MB / 0.5958 GB, free: 73.25 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01399/0.8722, allocations: 8.777 MB / 0.6044 GB, free: 64.56 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006276/0.8729, allocations: 323.5 kB / 0.6047 GB, free: 64.27 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003828/0.8733, allocations: 31.98 kB / 0.6047 GB, free: 64.23 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001865/0.8751, allocations: 323.4 kB / 0.605 GB, free: 63.92 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004522/0.8756, allocations: 99.58 kB / 0.6051 GB, free: 63.82 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001738/0.8758, allocations: 55.95 kB / 0.6052 GB, free: 63.77 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002298/0.8781, allocations: 1.863 MB / 0.607 GB, free: 61.9 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.8781, allocations: 0 / 0.607 GB, free: 61.9 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004176/0.8823, allocations: 0.9902 MB / 0.608 GB, free: 60.91 MB / 462.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.000419/0.8827, allocations: 175.3 kB / 0.6081 GB, free: 60.74 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01019/0.8929, allocations: 7.454 MB / 0.6154 GB, free: 53.16 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.8929, allocations: 0 / 0.6154 GB, free: 53.16 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00525/0.8982, allocations: 3.646 MB / 0.619 GB, free: 49.38 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002184/0.9004, allocations: 296.8 kB / 0.6193 GB, free: 49.09 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01011/0.9105, allocations: 8.101 MB / 0.6272 GB, free: 40.96 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001546/0.9121, allocations: 2.304 MB / 0.6294 GB, free: 38.63 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003182/0.9153, allocations: 1.663 MB / 0.6311 GB, free: 36.96 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006577/0.916, allocations: 199.3 kB / 0.6312 GB, free: 36.77 MB / 462.1 MB Notification: Performance of SimCode: time 7.42e-07/0.916, allocations: 0 / 0.6312 GB, free: 36.77 MB / 462.1 MB Notification: Performance of Templates: time 0.05602/0.972, allocations: 43.27 MB / 0.6735 GB, free: 9.621 MB / 478.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches