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.001014/0.001014, allocations: 181.2 kB / 17.01 MB, free: 5.125 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.463/1.463, allocations: 205.4 MB / 223.1 MB, free: 9.129 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.0008637/0.0008637, allocations: 100.1 kB / 271.5 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003669/0.0003673, allocations: 4 kB / 328.3 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.2546, allocations: 47.57 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1047/0.3594, allocations: 87.25 MB / 463.1 MB, free: 9.406 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002819/0.3597, allocations: 87.95 kB / 463.2 MB, free: 9.32 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3388/0.6985, allocations: 60.2 MB / 0.5111 GB, free: 94.26 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.6986, allocations: 0 / 0.5111 GB, free: 94.26 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.542e-05/0.6987, allocations: 43.88 kB / 0.5111 GB, free: 94.26 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.01402/0.7127, allocations: 3.619 MB / 0.5147 GB, free: 92.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.7128, allocations: 7.562 kB / 0.5147 GB, free: 92.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01097/0.7237, allocations: 2.347 MB / 0.517 GB, free: 92.74 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01219/0.736, allocations: 4.883 MB / 0.5217 GB, free: 91.39 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001826/0.7362, allocations: 174.4 kB / 0.5219 GB, free: 91.38 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001189/0.7374, allocations: 235.9 kB / 0.5221 GB, free: 91.37 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01503/0.7525, allocations: 8.591 MB / 0.5305 GB, free: 84.15 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.511e-05/0.7526, allocations: 47.61 kB / 0.5306 GB, free: 84.11 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003908/0.753, allocations: 118.1 kB / 0.5307 GB, free: 84.01 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008268/0.7539, allocations: 0.726 MB / 0.5314 GB, free: 83.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01651/0.7704, allocations: 9.666 MB / 0.5408 GB, free: 73.63 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03409/0.8045, allocations: 37.85 MB / 0.5778 GB, free: 34.72 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01066/0.8152, allocations: 4.041 MB / 0.5817 GB, free: 30.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001179/0.8154, allocations: 11.67 kB / 0.5817 GB, free: 30.51 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.8154, allocations: 50.48 kB / 0.5818 GB, free: 30.45 MB / 378.7 MB Notification: Performance of pre-optimization done (n=122): time 4.819e-06/0.8154, allocations: 4 kB / 0.5818 GB, free: 30.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=136): time 0.043/0.8584, allocations: 17.76 MB / 0.5991 GB, free: 12.35 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001789/0.8603, allocations: 3.082 MB / 0.6021 GB, free: 8.949 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005322/0.8656, allocations: 2.721 MB / 0.6048 GB, free: 6.215 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005495/0.8662, allocations: 49.36 kB / 0.6048 GB, free: 6.164 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001405/0.8676, allocations: 2.084 MB / 0.6069 GB, free: 4.086 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001042/0.8687, allocations: 0.5615 MB / 0.6074 GB, free: 3.527 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008/0.8695, allocations: 98.27 kB / 0.6075 GB, free: 3.434 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0004028/0.8699, allocations: 0.5046 MB / 0.608 GB, free: 2.922 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004128/0.8741, allocations: 2.398 MB / 0.6104 GB, free: 0.5156 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007795/0.8819, allocations: 5.292 MB / 0.6155 GB, free: 9.766 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006632/0.8886, allocations: 3.439 MB / 0.6189 GB, free: 6.328 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001043/0.8887, allocations: 32 kB / 0.6189 GB, free: 6.297 MB / 394.7 MB Notification: Performance of matching and sorting (n=630) (initialization): time 0.0227/0.9114, allocations: 9.449 MB / 0.6281 GB, free: 12.81 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.49e-05/0.9116, allocations: 51.94 kB / 0.6282 GB, free: 12.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01205/0.9236, allocations: 4.676 MB / 0.6328 GB, free: 8.059 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008999/0.9327, allocations: 2.347 MB / 0.6351 GB, free: 5.684 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004761/0.9375, allocations: 1.174 MB / 0.6362 GB, free: 4.508 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00984/0.9474, allocations: 8.288 MB / 0.6443 GB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006193/0.9536, allocations: 0.5616 MB / 0.6448 GB, free: 11.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001635/0.9553, allocations: 304 kB / 0.6451 GB, free: 10.84 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.005094/0.9604, allocations: 1.414 MB / 0.6465 GB, free: 9.422 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001532/0.9619, allocations: 260.6 kB / 0.6468 GB, free: 9.164 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001697/0.9637, allocations: 419.4 kB / 0.6472 GB, free: 8.75 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01185/0.9755, allocations: 4.58 MB / 0.6516 GB, free: 4.133 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.478e-05/0.9756, allocations: 7.953 kB / 0.6516 GB, free: 4.125 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.591e-05/0.9756, allocations: 7.984 kB / 0.6516 GB, free: 4.117 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2829/1.259, allocations: 5.332 MB / 0.6569 GB, free: 125.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.248e-05/1.259, allocations: 2.125 kB / 0.6569 GB, free: 125.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001783/1.26, allocations: 282.1 kB / 0.6571 GB, free: 125.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008656/1.269, allocations: 2.372 MB / 0.6594 GB, free: 125.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006854/1.27, allocations: 47.58 kB / 0.6595 GB, free: 125.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00983/1.28, allocations: 8.998 MB / 0.6683 GB, free: 120.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00158/1.281, allocations: 2.915 MB / 0.6711 GB, free: 117.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01549/1.297, allocations: 8.137 MB / 0.6791 GB, free: 116.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001029/1.298, allocations: 338.7 kB / 0.6794 GB, free: 116.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004189/1.298, allocations: 36.05 kB / 0.6794 GB, free: 116.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001934/1.3, allocations: 269.2 kB / 0.6797 GB, free: 116.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003948/1.301, allocations: 105.1 kB / 0.6798 GB, free: 116.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001565/1.301, allocations: 43.22 kB / 0.6798 GB, free: 116.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003127/1.304, allocations: 1.918 MB / 0.6817 GB, free: 116.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.304, allocations: 3.609 kB / 0.6817 GB, free: 116.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004837/1.309, allocations: 0.9456 MB / 0.6826 GB, free: 116.4 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.0005257/1.309, allocations: 171 kB / 0.6828 GB, free: 116.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01004/1.319, allocations: 6.811 MB / 0.6894 GB, free: 113.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/1.32, allocations: 0 / 0.6894 GB, free: 113.9 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005524/1.325, allocations: 3.413 MB / 0.6928 GB, free: 112.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001797/1.327, allocations: 278.8 kB / 0.693 GB, free: 112.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01491/1.342, allocations: 9.542 MB / 0.7024 GB, free: 107.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001966/1.344, allocations: 2.358 MB / 0.7047 GB, free: 106.7 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003804/1.348, allocations: 1.639 MB / 0.7063 GB, free: 105.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006611/1.348, allocations: 187.5 kB / 0.7064 GB, free: 105.5 MB / 426.7 MB Notification: Performance of SimCode: time 9.32e-07/1.348, allocations: 3.828 kB / 0.7064 GB, free: 105.5 MB / 426.7 MB Notification: Performance of Templates: time 0.05079/1.399, allocations: 36.13 MB / 0.7417 GB, free: 71.24 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/jenkins/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