Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001429/0.001429, allocations: 183.8 kB / 18.04 MB, free: 3.781 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.46/1.46, allocations: 205.4 MB / 224.2 MB, free: 9.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007763/0.0007763, allocations: 90.41 kB / 272.5 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003006/0.0003006, allocations: 8 kB / 329.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2185, allocations: 47.58 MB / 377 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1036/0.3222, allocations: 87.35 MB / 464.4 MB, free: 9.168 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003243/0.3225, allocations: 95.94 kB / 464.5 MB, free: 9.074 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4054/0.7279, allocations: 59.02 MB / 0.5112 GB, free: 94.08 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.728, allocations: 3.938 kB / 0.5112 GB, free: 94.08 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.828e-05/0.7281, allocations: 41.12 kB / 0.5113 GB, free: 94.08 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.02259/0.7507, allocations: 3.587 MB / 0.5148 GB, free: 92.74 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.7507, allocations: 7.469 kB / 0.5148 GB, free: 92.74 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01839/0.7692, allocations: 2.286 MB / 0.517 GB, free: 92.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01254/0.7817, allocations: 3.696 MB / 0.5206 GB, free: 92.05 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002895/0.7821, allocations: 165 kB / 0.5208 GB, free: 92.04 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00166/0.7838, allocations: 236.5 kB / 0.521 GB, free: 92.04 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0267/0.8105, allocations: 8.236 MB / 0.529 GB, free: 86.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002178/0.8108, allocations: 59.34 kB / 0.5291 GB, free: 86.46 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001353/0.8122, allocations: 126.9 kB / 0.5292 GB, free: 86.36 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001701/0.8139, allocations: 0.726 MB / 0.5299 GB, free: 85.64 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02937/0.8433, allocations: 9.295 MB / 0.539 GB, free: 76.35 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05154/0.8949, allocations: 37.79 MB / 0.5759 GB, free: 37.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01848/0.9134, allocations: 4.043 MB / 0.5799 GB, free: 33.29 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004857/0.9183, allocations: 2.215 MB / 0.582 GB, free: 31.06 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001302/0.9185, allocations: 12 kB / 0.582 GB, free: 31.05 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.9185, allocations: 50.5 kB / 0.5821 GB, free: 30.99 MB / 378.7 MB Notification: Performance of pre-optimization done (n=122): time 5.63e-06/0.9186, allocations: 0 / 0.5821 GB, free: 30.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=136): time 0.07388/0.9925, allocations: 17.52 MB / 0.5992 GB, free: 13.19 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002476/0.995, allocations: 3.057 MB / 0.6022 GB, free: 9.812 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006958/1.002, allocations: 3.043 MB / 0.6052 GB, free: 6.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006446/1.003, allocations: 41.7 kB / 0.6052 GB, free: 6.703 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001537/1.004, allocations: 2.083 MB / 0.6072 GB, free: 4.625 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000999/1.005, allocations: 0.5648 MB / 0.6078 GB, free: 4.066 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003577/1.006, allocations: 96.06 kB / 0.6079 GB, free: 3.973 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000308/1.006, allocations: 0.5085 MB / 0.6084 GB, free: 3.457 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005684/1.012, allocations: 2.394 MB / 0.6107 GB, free: 1.055 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009135/1.021, allocations: 5.304 MB / 0.6159 GB, free: 10.29 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01707/1.038, allocations: 8.094 MB / 0.6238 GB, free: 0.7578 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001026/1.038, allocations: 28 kB / 0.6238 GB, free: 0.7305 MB / 394.7 MB Notification: Performance of matching and sorting (n=630) (initialization): time 0.03753/1.076, allocations: 9.475 MB / 0.6331 GB, free: 7.227 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002828/1.076, allocations: 51.94 kB / 0.6331 GB, free: 7.176 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0214/1.097, allocations: 4.669 MB / 0.6377 GB, free: 2.473 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01082/1.108, allocations: 2.339 MB / 0.64 GB, free: 112 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004448/1.113, allocations: 1.166 MB / 0.6411 GB, free: 14.94 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008657/1.121, allocations: 8.119 MB / 0.649 GB, free: 6.309 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005333/1.127, allocations: 0.5726 MB / 0.6496 GB, free: 5.738 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001116/1.128, allocations: 300 kB / 0.6499 GB, free: 5.445 MB / 426.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.003571/1.132, allocations: 1.418 MB / 0.6513 GB, free: 4.02 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008205/1.132, allocations: 255.9 kB / 0.6515 GB, free: 3.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00113/1.134, allocations: 419.4 kB / 0.6519 GB, free: 3.352 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2072/1.341, allocations: 4.582 MB / 0.6564 GB, free: 125.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.403e-05/1.341, allocations: 7.875 kB / 0.6564 GB, free: 125.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.529e-05/1.341, allocations: 3.797 kB / 0.6564 GB, free: 125.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0112/1.352, allocations: 5.328 MB / 0.6616 GB, free: 125.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.192e-05/1.352, allocations: 5.969 kB / 0.6616 GB, free: 125.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001684/1.354, allocations: 281.9 kB / 0.6619 GB, free: 125.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008382/1.362, allocations: 2.366 MB / 0.6642 GB, free: 125.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005835/1.363, allocations: 47.52 kB / 0.6642 GB, free: 125.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008467/1.371, allocations: 8.847 MB / 0.6729 GB, free: 120.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00132/1.373, allocations: 2.891 MB / 0.6757 GB, free: 117.4 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01347/1.386, allocations: 8.054 MB / 0.6836 GB, free: 116.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008353/1.387, allocations: 334.8 kB / 0.6839 GB, free: 115.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003762/1.387, allocations: 33.92 kB / 0.6839 GB, free: 115.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001847/1.389, allocations: 274.7 kB / 0.6842 GB, free: 115.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000371/1.39, allocations: 98.92 kB / 0.6843 GB, free: 115.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001454/1.39, allocations: 47.73 kB / 0.6843 GB, free: 115.9 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002743/1.393, allocations: 1.918 MB / 0.6862 GB, free: 115.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.482e-06/1.393, allocations: 0 / 0.6862 GB, free: 115.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003505/1.396, allocations: 0.9442 MB / 0.6871 GB, free: 115.2 MB / 426.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.0004441/1.397, allocations: 173.9 kB / 0.6873 GB, free: 115.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01013/1.407, allocations: 6.819 MB / 0.6939 GB, free: 112.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/1.407, allocations: 0 / 0.6939 GB, free: 112.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005395/1.412, allocations: 3.42 MB / 0.6973 GB, free: 111.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002526/1.415, allocations: 295.4 kB / 0.6975 GB, free: 110.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0147/1.429, allocations: 9.571 MB / 0.7069 GB, free: 105.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001921/1.431, allocations: 2.298 MB / 0.7091 GB, free: 103.3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004075/1.436, allocations: 1.637 MB / 0.7107 GB, free: 102.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00072/1.436, allocations: 192.9 kB / 0.7109 GB, free: 102.1 MB / 426.7 MB Notification: Performance of SimCode: time 1.914e-06/1.436, allocations: 0 / 0.7109 GB, free: 102.1 MB / 426.7 MB Notification: Performance of Templates: time 0.06322/1.499, allocations: 36.19 MB / 0.7463 GB, free: 66.26 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravity/PointGravity.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches