Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.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.PointGravityWithPointMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body1.r_0.1.|body1.r_0.2.|body1.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body2.r_0.1.|body2.r_0.2.|body2.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body3.r_0.1.|body3.r_0.2.|body3.r_0.3.|body3.v_0.1.|body3.v_0.2.|body3.v_0.3.|body4.r_0.1.|body4.r_0.2.|body4.r_0.3.|body4.v_0.1.|body4.v_0.2.|body4.v_0.3.",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body1.r_0.1.|body1.r_0.2.|body1.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body2.r_0.1.|body2.r_0.2.|body2.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body3.r_0.1.|body3.r_0.2.|body3.r_0.3.|body3.v_0.1.|body3.v_0.2.|body3.v_0.3.|body4.r_0.1.|body4.r_0.2.|body4.r_0.3.|body4.v_0.1.|body4.v_0.2.|body4.v_0.3.",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008761/0.0008761, allocations: 180.9 kB / 17.41 MB, free: 4.281 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.429/1.429, allocations: 205.4 MB / 223.6 MB, free: 9.016 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.0008077/0.0008077, allocations: 90.72 kB / 271.9 MB, free: 8.238 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003309/0.000331, allocations: 12 kB / 328.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.2231, allocations: 47.58 MB / 375.7 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09917/0.3223, allocations: 88.56 MB / 464.3 MB, free: 8.039 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/0.3227, allocations: 91.94 kB / 464.4 MB, free: 7.949 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2769/0.5995, allocations: 52.19 MB / 0.5045 GB, free: 93.28 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.5996, allocations: 0 / 0.5045 GB, free: 93.28 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.193e-05/0.5997, allocations: 50.56 kB / 0.5045 GB, free: 93.28 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: 1113 * Number of variables: 1113 Notification: Performance of Generate backend data structure: time 0.004779/0.6045, allocations: 2.499 MB / 0.507 GB, free: 91.95 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.6045, allocations: 7.844 kB / 0.507 GB, free: 91.95 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007716/0.6122, allocations: 1.962 MB / 0.5089 GB, free: 91.76 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003333/0.6156, allocations: 1.439 MB / 0.5103 GB, free: 91.35 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001704/0.6158, allocations: 226.9 kB / 0.5105 GB, free: 91.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001027/0.6169, allocations: 306.9 kB / 0.5108 GB, free: 91.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01668/0.6335, allocations: 8.978 MB / 0.5196 GB, free: 88.53 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000125/0.6337, allocations: 56.75 kB / 0.5196 GB, free: 88.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004135/0.6341, allocations: 159.5 kB / 0.5198 GB, free: 88.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001116/0.6353, allocations: 0.8044 MB / 0.5205 GB, free: 88.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01496/0.6502, allocations: 7.171 MB / 0.5276 GB, free: 86.02 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03067/0.6809, allocations: 38.37 MB / 0.565 GB, free: 46.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01733/0.6983, allocations: 5.348 MB / 0.5702 GB, free: 41.06 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00133/0.6997, allocations: 0.9512 MB / 0.5712 GB, free: 40.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004578/0.7043, allocations: 3.688 MB / 0.5748 GB, free: 36.27 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.7043, allocations: 59.02 kB / 0.5748 GB, free: 36.2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=111): time 3.747e-06/0.7043, allocations: 0 / 0.5748 GB, free: 36.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=111): time 0.03527/0.7396, allocations: 9.754 MB / 0.5844 GB, free: 26.36 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.084e-05/0.7397, allocations: 199.8 kB / 0.5845 GB, free: 26.12 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00383/0.7436, allocations: 3.023 MB / 0.5875 GB, free: 23.07 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001737/0.7438, allocations: 45.3 kB / 0.5875 GB, free: 23.03 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001066/0.7448, allocations: 2.419 MB / 0.5899 GB, free: 20.61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004413/0.7453, allocations: 0.4947 MB / 0.5904 GB, free: 20.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001816/0.7455, allocations: 104 kB / 0.5905 GB, free: 20.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002285/0.7457, allocations: 0.5372 MB / 0.591 GB, free: 19.48 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001781/0.7475, allocations: 1.494 MB / 0.5925 GB, free: 17.98 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00292/0.7504, allocations: 5.06 MB / 0.5974 GB, free: 11.11 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005764/0.7562, allocations: 7.127 MB / 0.6044 GB, free: 2.203 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-05/0.7563, allocations: 36 kB / 0.6044 GB, free: 2.168 MB / 378.7 MB Notification: Performance of matching and sorting (n=705) (initialization): time 0.01088/0.7672, allocations: 6.223 MB / 0.6105 GB, free: 11.94 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.311e-05/0.7673, allocations: 64.06 kB / 0.6105 GB, free: 11.88 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001579/0.7675, allocations: 128 kB / 0.6107 GB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001699/0.7677, allocations: 164 kB / 0.6108 GB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005214/0.7729, allocations: 1.521 MB / 0.6123 GB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002041/0.7731, allocations: 247 kB / 0.6125 GB, free: 9.824 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00371/0.7769, allocations: 0.7614 MB / 0.6133 GB, free: 9.062 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006389/0.7775, allocations: 340 kB / 0.6136 GB, free: 8.73 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 580 * Number of states: 0 () * Number of discrete variables: 30 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body4.sphereColor[3],body4.sphereColor[2],body4.sphereColor[1],body3.sphereColor[3],body3.sphereColor[2],body3.sphereColor[1],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 (681): * Single equations (assignments): 678 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002847/0.7804, allocations: 1.586 MB / 0.6152 GB, free: 7.137 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005487/0.7809, allocations: 252.7 kB / 0.6154 GB, free: 6.887 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001396/0.7823, allocations: 0.7468 MB / 0.6161 GB, free: 6.133 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.87e-05/0.7824, allocations: 12 kB / 0.6161 GB, free: 6.121 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-05/0.7824, allocations: 7.984 kB / 0.6162 GB, free: 6.113 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/0.7824, allocations: 7.984 kB / 0.6162 GB, free: 6.105 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005946/0.7884, allocations: 3.228 MB / 0.6193 GB, free: 2.836 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.315e-06/0.7884, allocations: 4 kB / 0.6193 GB, free: 2.832 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002466/0.7909, allocations: 471.4 kB / 0.6198 GB, free: 2.371 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.817e-06/0.7909, allocations: 4 kB / 0.6198 GB, free: 2.367 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.314e-05/0.791, allocations: 43.41 kB / 0.6198 GB, free: 2.328 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.846e-06/0.791, allocations: 4 kB / 0.6198 GB, free: 2.324 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.791, allocations: 11.88 kB / 0.6198 GB, free: 2.312 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002933/0.794, allocations: 2.552 MB / 0.6223 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006309/0.7946, allocations: 313.5 kB / 0.6226 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002651/0.7949, allocations: 31.98 kB / 0.6226 GB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000878/0.7958, allocations: 48.31 kB / 0.6227 GB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/0.7959, allocations: 59.86 kB / 0.6227 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.002e-05/0.796, allocations: 31.98 kB / 0.6228 GB, free: 15.24 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002839/0.7988, allocations: 1.833 MB / 0.6246 GB, free: 13.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.7989, allocations: 3.938 kB / 0.6246 GB, free: 13.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00387/0.8027, allocations: 0.845 MB / 0.6254 GB, free: 12.56 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 24 (body1.r_0[1],body1.r_0[2],body1.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body2.r_0[1],body2.r_0[2],body2.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body3.r_0[1],body3.r_0[2],body3.r_0[3],body3.v_0[1],body3.v_0[2],body3.v_0[3],body4.r_0[1],body4.r_0[2],body4.r_0[3],body4.v_0[1],body4.v_0[2],body4.v_0[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 (87): * Single equations (assignments): 84 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000419/0.8032, allocations: 171 kB / 0.6256 GB, free: 12.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00528/0.8085, allocations: 3.414 MB / 0.6289 GB, free: 9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.8085, allocations: 0 / 0.6289 GB, free: 9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008667/0.8094, allocations: 0.6205 MB / 0.6295 GB, free: 8.379 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002145/0.8115, allocations: 259.3 kB / 0.6297 GB, free: 8.133 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01302/0.8246, allocations: 8.838 MB / 0.6384 GB, free: 15.35 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002593/0.8272, allocations: 2.39 MB / 0.6407 GB, free: 12.93 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007817/0.828, allocations: 235.4 kB / 0.6409 GB, free: 12.7 MB / 426.7 MB Notification: Performance of SimCode: time 1.041e-06/0.828, allocations: 0 / 0.6409 GB, free: 12.7 MB / 426.7 MB Notification: Performance of Templates: time 0.2224/1.05, allocations: 40.17 MB / 0.6802 GB, free: 120.3 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravityWithPointMasses/PointGravityWithPointMasses.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches