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.0009971/0.0009969, allocations: 178.4 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.618/1.618, allocations: 205.3 MB / 214.4 MB, free: 1.672 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008345/0.0008346, allocations: 86.36 kB / 262.4 MB, free: 1.613 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.384e-05/1.386e-05, allocations: 4 kB / 315.5 MB, free: 22.7 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08635/0.08638, allocations: 47.59 MB / 363.1 MB, free: 7.051 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.364/0.4504, allocations: 86.72 MB / 449.8 MB, free: 9.082 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002341/0.4507, allocations: 90.69 kB / 449.9 MB, free: 9.035 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1579/0.6087, allocations: 59.43 MB / 0.4974 GB, free: 3.027 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.6087, allocations: 0 / 0.4974 GB, free: 3.027 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.778e-05/0.6088, allocations: 48 kB / 0.4974 GB, free: 2.98 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.01583/0.6247, allocations: 3.452 MB / 0.5008 GB, free: 15.47 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.6247, allocations: 12.03 kB / 0.5008 GB, free: 15.46 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01234/0.6371, allocations: 2.348 MB / 0.5031 GB, free: 13.1 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01291/0.65, allocations: 4.868 MB / 0.5079 GB, free: 8.18 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001594/0.6502, allocations: 75.98 kB / 0.5079 GB, free: 8.105 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001245/0.6515, allocations: 135.9 kB / 0.5081 GB, free: 7.973 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008726/0.6602, allocations: 5.54 MB / 0.5135 GB, free: 2.426 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01301/0.6733, allocations: 7.816 MB / 0.5211 GB, free: 9.758 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000125/0.6735, allocations: 51.53 kB / 0.5212 GB, free: 9.707 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003891/0.6739, allocations: 31.94 kB / 0.5212 GB, free: 9.676 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001208/0.6751, allocations: 0.7263 MB / 0.5219 GB, free: 8.945 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2681/0.9432, allocations: 36.66 MB / 0.5577 GB, free: 83.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004625/0.9479, allocations: 3.156 MB / 0.5608 GB, free: 83.22 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003411/0.9513, allocations: 2.161 MB / 0.5629 GB, free: 83.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.857e-05/0.9514, allocations: 14.48 kB / 0.5629 GB, free: 83.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.9515, allocations: 55.06 kB / 0.5629 GB, free: 83.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=122): time 4.339e-06/0.9515, allocations: 0 / 0.5629 GB, free: 83.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=136): time 0.03114/0.9826, allocations: 13.57 MB / 0.5762 GB, free: 80.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/0.9827, allocations: 168.7 kB / 0.5764 GB, free: 80.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003085/0.9858, allocations: 2.315 MB / 0.5786 GB, free: 79.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004642/0.9863, allocations: 25.7 kB / 0.5786 GB, free: 79.63 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000978/0.9873, allocations: 2.124 MB / 0.5807 GB, free: 78.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006243/0.9879, allocations: 0.5584 MB / 0.5813 GB, free: 77.79 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002151/0.9881, allocations: 0 / 0.5813 GB, free: 77.79 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000221/0.9883, allocations: 0.5205 MB / 0.5818 GB, free: 77.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002406/0.9908, allocations: 2.245 MB / 0.584 GB, free: 76.65 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003424/0.9942, allocations: 5.228 MB / 0.5891 GB, free: 71.85 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003506/0.9977, allocations: 3.339 MB / 0.5923 GB, free: 70.88 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.183e-05/0.9978, allocations: 29.12 kB / 0.5924 GB, free: 70.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=651) (initialization): time 0.01655/1.014, allocations: 8.719 MB / 0.6009 GB, free: 68.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.419e-05/1.014, allocations: 57.27 kB / 0.6009 GB, free: 68.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01017/1.025, allocations: 4.595 MB / 0.6054 GB, free: 67.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008604/1.033, allocations: 2.322 MB / 0.6077 GB, free: 66.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004186/1.037, allocations: 1.202 MB / 0.6089 GB, free: 65.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006089/1.044, allocations: 7.831 MB / 0.6165 GB, free: 58.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005156/1.049, allocations: 492.3 kB / 0.617 GB, free: 57.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008086/1.05, allocations: 320.1 kB / 0.6173 GB, free: 57.68 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 490 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (599): * Single equations (assignments): 584 * 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.0007674/1.05, allocations: 371.4 kB / 0.6176 GB, free: 57.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004878/1.051, allocations: 242.8 kB / 0.6179 GB, free: 57.08 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008097/1.052, allocations: 384.9 kB / 0.6182 GB, free: 56.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00993/1.062, allocations: 4.504 MB / 0.6226 GB, free: 53.42 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.122e-05/1.062, allocations: 8 kB / 0.6226 GB, free: 53.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.972e-05/1.062, allocations: 3.516 kB / 0.6226 GB, free: 53.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008161/1.07, allocations: 5.017 MB / 0.6275 GB, free: 49.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.298e-05/1.07, allocations: 7.953 kB / 0.6275 GB, free: 49.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001586/1.072, allocations: 279.7 kB / 0.6278 GB, free: 49.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008256/1.08, allocations: 2.333 MB / 0.6301 GB, free: 47.15 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004379/1.08, allocations: 35.95 kB / 0.6301 GB, free: 47.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00685/1.087, allocations: 8.607 MB / 0.6385 GB, free: 38.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001176/1.088, allocations: 2.777 MB / 0.6412 GB, free: 35.04 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01366/1.102, allocations: 7.987 MB / 0.649 GB, free: 26.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008156/1.103, allocations: 313.9 kB / 0.6493 GB, free: 26.65 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005746/1.103, allocations: 19.98 kB / 0.6494 GB, free: 26.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002031/1.106, allocations: 247.5 kB / 0.6496 GB, free: 26.39 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000316/1.106, allocations: 107.8 kB / 0.6497 GB, free: 26.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001418/1.106, allocations: 43.91 kB / 0.6497 GB, free: 26.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001989/1.108, allocations: 1.542 MB / 0.6512 GB, free: 24.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.41e-07/1.108, allocations: 0 / 0.6512 GB, free: 24.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00459/1.113, allocations: 0.8688 MB / 0.6521 GB, free: 23.83 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 24 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.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],$STATESET0.x[3],$STATESET0.x[2],$STATESET0.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 () * 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.0005092/1.113, allocations: 161.5 kB / 0.6523 GB, free: 23.67 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.009691/1.123, allocations: 6.484 MB / 0.6586 GB, free: 17.08 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/1.123, allocations: 0 / 0.6586 GB, free: 17.08 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005218/1.128, allocations: 3.343 MB / 0.6618 GB, free: 13.61 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001907/1.13, allocations: 238.1 kB / 0.6621 GB, free: 13.38 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01302/1.143, allocations: 7.329 MB / 0.6692 GB, free: 6.082 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001753/1.145, allocations: 2.358 MB / 0.6715 GB, free: 3.711 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003951/1.149, allocations: 1.678 MB / 0.6732 GB, free: 2.031 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007068/1.15, allocations: 183.4 kB / 0.6733 GB, free: 1.852 MB / 410.7 MB Notification: Performance of SimCode: time 1.262e-06/1.15, allocations: 0 / 0.6733 GB, free: 1.852 MB / 410.7 MB Notification: Performance of Templates: time 0.2761/1.426, allocations: 33.16 MB / 0.7057 GB, free: 107.8 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