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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.0009901/0.00099, allocations: 196.2 kB / 18.1 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.312/1.312, allocations: 226.5 MB / 245.4 MB, free: 6.469 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001068/0.001068, allocations: 92.25 kB / 297.5 MB, free: 6.691 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002054/0.0002055, allocations: 8 kB / 358.1 MB, free: 10.06 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.2052, allocations: 51.29 MB / 409.4 MB, free: 27.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1222/0.3275, allocations: 89.19 MB / 498.6 MB, free: 2.316 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003601/0.3279, allocations: 93.64 kB / 498.7 MB, free: 2.227 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3969/0.7249, allocations: 60.8 MB / 0.5463 GB, free: 65.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.7249, allocations: 0 / 0.5463 GB, free: 65.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.795e-05/0.725, allocations: 48 kB / 0.5464 GB, free: 65.75 MB / 378.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.01493/0.7399, allocations: 3.76 MB / 0.5501 GB, free: 61.92 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.74, allocations: 16.03 kB / 0.5501 GB, free: 61.9 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01/0.75, allocations: 2.392 MB / 0.5524 GB, free: 59.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006267/0.7563, allocations: 3.225 MB / 0.5556 GB, free: 56.23 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001475/0.7565, allocations: 168.8 kB / 0.5557 GB, free: 56.06 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00101/0.7575, allocations: 236.2 kB / 0.5559 GB, free: 55.83 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0148/0.7723, allocations: 8.234 MB / 0.564 GB, free: 46.74 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000144/0.7725, allocations: 59.41 kB / 0.564 GB, free: 46.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008377/0.7733, allocations: 119.9 kB / 0.5642 GB, free: 46.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008919/0.7742, allocations: 0.7299 MB / 0.5649 GB, free: 45.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01585/0.7901, allocations: 9.303 MB / 0.574 GB, free: 36.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03018/0.8203, allocations: 37.75 MB / 0.6108 GB, free: 13.53 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01116/0.8315, allocations: 4.028 MB / 0.6148 GB, free: 9.34 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003384/0.8349, allocations: 2.227 MB / 0.6169 GB, free: 7.098 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001223/0.835, allocations: 23.92 kB / 0.617 GB, free: 7.074 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.03e-05/0.8351, allocations: 46.55 kB / 0.617 GB, free: 7.02 MB / 394.7 MB Notification: Performance of pre-optimization done (n=122): time 4.438e-06/0.8351, allocations: 0 / 0.617 GB, free: 7.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=136): time 0.04585/0.881, allocations: 17.39 MB / 0.634 GB, free: 5.34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002205/0.8832, allocations: 3.055 MB / 0.637 GB, free: 1.965 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005297/0.8885, allocations: 3.023 MB / 0.6399 GB, free: 14.92 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003142/0.8889, allocations: 45.69 kB / 0.64 GB, free: 14.87 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001442/0.8903, allocations: 2.072 MB / 0.642 GB, free: 12.77 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007479/0.8911, allocations: 0.5671 MB / 0.6425 GB, free: 12.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004133/0.8915, allocations: 96 kB / 0.6426 GB, free: 12.1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003455/0.8919, allocations: 0.5046 MB / 0.6431 GB, free: 11.59 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003885/0.8958, allocations: 2.395 MB / 0.6455 GB, free: 9.188 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005627/0.9014, allocations: 5.308 MB / 0.6506 GB, free: 2.422 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009435/0.9108, allocations: 8.079 MB / 0.6585 GB, free: 8.895 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.107e-05/0.9109, allocations: 28 kB / 0.6586 GB, free: 8.867 MB / 442.7 MB Notification: Performance of matching and sorting (n=630) (initialization): time 0.2221/1.133, allocations: 9.452 MB / 0.6678 GB, free: 119.1 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001021/1.133, allocations: 57.19 kB / 0.6678 GB, free: 119.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01034/1.144, allocations: 4.676 MB / 0.6724 GB, free: 119 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007864/1.151, allocations: 2.338 MB / 0.6747 GB, free: 118.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00373/1.155, allocations: 1.165 MB / 0.6758 GB, free: 118.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006562/1.162, allocations: 8.14 MB / 0.6838 GB, free: 113.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004884/1.167, allocations: 0.5658 MB / 0.6843 GB, free: 113.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009779/1.168, allocations: 306.3 kB / 0.6846 GB, free: 113.8 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 469 * 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 (578): * Single equations (assignments): 563 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002458/1.17, allocations: 1.404 MB / 0.686 GB, free: 113.7 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005364/1.171, allocations: 254.3 kB / 0.6862 GB, free: 113.7 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000679/1.171, allocations: 424.6 kB / 0.6866 GB, free: 113.7 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009702/1.181, allocations: 4.582 MB / 0.6911 GB, free: 113.5 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.28e-05/1.181, allocations: 3.312 kB / 0.6911 GB, free: 113.5 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.187e-05/1.181, allocations: 11.42 kB / 0.6911 GB, free: 113.5 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008097/1.189, allocations: 5.335 MB / 0.6963 GB, free: 112.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/1.189, allocations: 0 / 0.6963 GB, free: 112.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001412/1.191, allocations: 291.7 kB / 0.6966 GB, free: 112.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007495/1.198, allocations: 2.368 MB / 0.6989 GB, free: 112.1 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003859/1.199, allocations: 48.17 kB / 0.699 GB, free: 112.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006906/1.206, allocations: 8.837 MB / 0.7076 GB, free: 106.1 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001258/1.207, allocations: 2.902 MB / 0.7104 GB, free: 103.3 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01329/1.22, allocations: 8.053 MB / 0.7183 GB, free: 100.7 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009839/1.221, allocations: 335 kB / 0.7186 GB, free: 100.5 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005239/1.222, allocations: 35.95 kB / 0.7187 GB, free: 100.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001804/1.224, allocations: 270 kB / 0.7189 GB, free: 100.5 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003677/1.224, allocations: 101.1 kB / 0.719 GB, free: 100.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001421/1.224, allocations: 44.02 kB / 0.7191 GB, free: 100.5 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002764/1.227, allocations: 1.901 MB / 0.7209 GB, free: 99.39 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.21e-07/1.227, allocations: 0 / 0.7209 GB, free: 99.39 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004578/1.231, allocations: 0.9447 MB / 0.7218 GB, free: 98.46 MB / 442.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 (linear and non-linear blocks): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004328/1.232, allocations: 183.7 kB / 0.722 GB, free: 98.31 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009934/1.242, allocations: 6.812 MB / 0.7287 GB, free: 92.72 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/1.242, allocations: 3.281 kB / 0.7287 GB, free: 92.72 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004993/1.247, allocations: 3.411 MB / 0.732 GB, free: 89.81 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002452/1.249, allocations: 300.5 kB / 0.7323 GB, free: 89.56 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01238/1.262, allocations: 9.536 MB / 0.7416 GB, free: 80.45 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001645/1.263, allocations: 2.286 MB / 0.7438 GB, free: 78.14 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00351/1.267, allocations: 1.628 MB / 0.7454 GB, free: 76.51 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005998/1.268, allocations: 191.4 kB / 0.7456 GB, free: 76.32 MB / 442.7 MB Notification: Performance of SimCode: time 7.71e-07/1.268, allocations: 4 kB / 0.7456 GB, free: 76.32 MB / 442.7 MB Notification: Performance of Templates: time 0.04483/1.312, allocations: 36.13 MB / 0.7809 GB, free: 40.49 MB / 442.7 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","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches