Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001125/0.001125, allocations: 181.4 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.527/1.527, allocations: 205.4 MB / 223.1 MB, free: 9.121 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.0008254/0.0008253, allocations: 88.16 kB / 271.5 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002615/0.0002615, allocations: 16 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2473, allocations: 47.58 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.108/0.3554, allocations: 88.45 MB / 464.3 MB, free: 8.199 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003255/0.3558, allocations: 87.95 kB / 464.4 MB, free: 8.113 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3234/0.6792, allocations: 52.63 MB / 0.5049 GB, free: 93.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.427e-06/0.6793, allocations: 0 / 0.5049 GB, free: 93.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.934e-05/0.6794, allocations: 53.25 kB / 0.5049 GB, free: 93.66 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.005569/0.6849, allocations: 2.537 MB / 0.5074 GB, free: 92.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.685, allocations: 9.844 kB / 0.5074 GB, free: 92.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008015/0.693, allocations: 1.956 MB / 0.5093 GB, free: 92.15 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00453/0.6976, allocations: 1.421 MB / 0.5107 GB, free: 91.76 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000199/0.6978, allocations: 225.7 kB / 0.5109 GB, free: 91.75 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001008/0.6988, allocations: 304.5 kB / 0.5112 GB, free: 91.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01964/0.7185, allocations: 9.025 MB / 0.52 GB, free: 88.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000131/0.7187, allocations: 59.47 kB / 0.5201 GB, free: 88.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004042/0.7191, allocations: 154.5 kB / 0.5202 GB, free: 88.69 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00117/0.7203, allocations: 0.7988 MB / 0.521 GB, free: 88.55 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01822/0.7385, allocations: 7.25 MB / 0.5281 GB, free: 85.78 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03545/0.774, allocations: 38.39 MB / 0.5656 GB, free: 46.33 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01887/0.7929, allocations: 5.368 MB / 0.5708 GB, free: 40.78 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005571/0.7986, allocations: 3.712 MB / 0.5744 GB, free: 36.94 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.7986, allocations: 50.92 kB / 0.5745 GB, free: 36.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=111): time 4.548e-06/0.7986, allocations: 0 / 0.5745 GB, free: 36.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=111): time 0.0387/0.8373, allocations: 10.02 MB / 0.5843 GB, free: 26.72 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.302e-05/0.8375, allocations: 187.9 kB / 0.5845 GB, free: 26.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005301/0.8428, allocations: 2.713 MB / 0.5871 GB, free: 23.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002501/0.843, allocations: 41.64 kB / 0.5871 GB, free: 23.72 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001451/0.8445, allocations: 2.426 MB / 0.5895 GB, free: 21.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006027/0.8451, allocations: 0.4961 MB / 0.59 GB, free: 20.81 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000411/0.8455, allocations: 108 kB / 0.5901 GB, free: 20.7 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003591/0.8459, allocations: 0.5333 MB / 0.5906 GB, free: 20.16 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002113/0.848, allocations: 1.498 MB / 0.5921 GB, free: 18.66 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003201/0.8512, allocations: 5.032 MB / 0.597 GB, free: 11.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003007/0.8543, allocations: 2.716 MB / 0.5996 GB, free: 9.109 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-05/0.8544, allocations: 36 kB / 0.5997 GB, free: 9.074 MB / 378.7 MB Notification: Performance of matching and sorting (n=705) (initialization): time 0.008107/0.8625, allocations: 6.23 MB / 0.6058 GB, free: 2.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.644e-05/0.8626, allocations: 60 kB / 0.6058 GB, free: 2.781 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001296/0.8627, allocations: 128.2 kB / 0.6059 GB, free: 2.656 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001401/0.8628, allocations: 188 kB / 0.6061 GB, free: 2.473 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004398/0.8672, allocations: 1.517 MB / 0.6076 GB, free: 0.9531 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001571/0.8674, allocations: 247 kB / 0.6078 GB, free: 0.7109 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003524/0.871, allocations: 0.7538 MB / 0.6086 GB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008266/0.8718, allocations: 343.9 kB / 0.6089 GB, free: 15.61 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.002935/0.8747, allocations: 1.582 MB / 0.6104 GB, free: 14.02 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005241/0.8753, allocations: 244.8 kB / 0.6107 GB, free: 13.78 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001473/0.8768, allocations: 0.7468 MB / 0.6114 GB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.964e-05/0.8768, allocations: 12 kB / 0.6114 GB, free: 13.01 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.8768, allocations: 4 kB / 0.6114 GB, free: 13.01 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/0.8768, allocations: 3.984 kB / 0.6114 GB, free: 13 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007695/0.8845, allocations: 3.237 MB / 0.6146 GB, free: 9.727 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/0.8846, allocations: 4 kB / 0.6146 GB, free: 9.723 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002605/0.8872, allocations: 471.4 kB / 0.615 GB, free: 9.262 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.831e-05/0.8872, allocations: 4 kB / 0.615 GB, free: 9.258 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000141/0.8874, allocations: 35.97 kB / 0.6151 GB, free: 9.223 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.078e-05/0.8874, allocations: 8 kB / 0.6151 GB, free: 9.215 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.8874, allocations: 4 kB / 0.6151 GB, free: 9.211 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003168/0.8906, allocations: 2.669 MB / 0.6177 GB, free: 6.473 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007094/0.8913, allocations: 312.8 kB / 0.618 GB, free: 6.148 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004619/0.8918, allocations: 27.98 kB / 0.618 GB, free: 6.121 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001199/0.893, allocations: 51.94 kB / 0.6181 GB, free: 6.07 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.8931, allocations: 59.81 kB / 0.6181 GB, free: 6.012 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.35e-05/0.8932, allocations: 40.36 kB / 0.6182 GB, free: 5.973 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003961/0.8972, allocations: 1.829 MB / 0.62 GB, free: 4.141 MB / 394.7 MB Notification: Performance of sort global known variables: time 3e-07/0.8972, allocations: 0 / 0.62 GB, free: 4.141 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00546/0.9027, allocations: 0.8493 MB / 0.6208 GB, free: 3.289 MB / 394.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.0005753/0.9033, allocations: 174 kB / 0.621 GB, free: 3.113 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005967/0.9093, allocations: 3.404 MB / 0.6243 GB, free: 15.74 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/0.9093, allocations: 0 / 0.6243 GB, free: 15.74 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008765/0.9102, allocations: 0.6322 MB / 0.6249 GB, free: 15.11 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001757/0.9119, allocations: 232.1 kB / 0.6251 GB, free: 14.89 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01632/0.9283, allocations: 8.453 MB / 0.6334 GB, free: 6.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003855/0.9322, allocations: 2.453 MB / 0.6358 GB, free: 4.016 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004846/0.9371, allocations: 1.645 MB / 0.6374 GB, free: 2.363 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007645/0.9379, allocations: 183.4 kB / 0.6375 GB, free: 2.184 MB / 410.7 MB Notification: Performance of SimCode: time 1.562e-06/0.9379, allocations: 7.875 kB / 0.6376 GB, free: 2.176 MB / 410.7 MB Notification: Performance of Templates: time 0.255/1.193, allocations: 20.39 MB / 0.6575 GB, free: 124.6 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_res.mat","/var/lib/jenkins/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_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches