Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001072/0.001076, allocations: 201.2 kB / 18.11 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.321/1.321, allocations: 226.5 MB / 245.4 MB, free: 6.516 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007597/0.0007597, allocations: 90.62 kB / 297.5 MB, free: 6.695 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003103/0.0003105, allocations: 8 kB / 358.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.2161, allocations: 51.3 MB / 409.4 MB, free: 27.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1546/0.3708, allocations: 90.65 MB / 0.4883 GB, free: 0.8438 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003995/0.3712, allocations: 87.95 kB / 0.4884 GB, free: 0.7578 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3284/0.6996, allocations: 53.11 MB / 0.5403 GB, free: 72.17 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.946e-06/0.6997, allocations: 4 kB / 0.5403 GB, free: 72.17 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.036e-05/0.6998, allocations: 52 kB / 0.5403 GB, free: 72.12 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.005179/0.7049, allocations: 2.505 MB / 0.5428 GB, free: 69.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.705, allocations: 8.031 kB / 0.5428 GB, free: 69.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007443/0.7124, allocations: 1.958 MB / 0.5447 GB, free: 67.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002754/0.7152, allocations: 1.431 MB / 0.5461 GB, free: 66.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001097/0.7153, allocations: 226.3 kB / 0.5463 GB, free: 65.87 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000453/0.7158, allocations: 312.2 kB / 0.5466 GB, free: 65.57 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0148/0.7306, allocations: 8.969 MB / 0.5554 GB, free: 55.66 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001018/0.7307, allocations: 63.59 kB / 0.5554 GB, free: 55.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003505/0.7311, allocations: 155.8 kB / 0.5556 GB, free: 55.44 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009503/0.7321, allocations: 0.8047 MB / 0.5564 GB, free: 54.63 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01409/0.7462, allocations: 7.177 MB / 0.5634 GB, free: 47.45 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02768/0.7739, allocations: 38.38 MB / 0.6008 GB, free: 7.797 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01725/0.7912, allocations: 5.359 MB / 0.6061 GB, free: 2.262 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001134/0.7923, allocations: 0.9429 MB / 0.607 GB, free: 1.297 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005205/0.7975, allocations: 3.684 MB / 0.6106 GB, free: 13.46 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.221e-05/0.7976, allocations: 46.83 kB / 0.6106 GB, free: 13.41 MB / 394.7 MB Notification: Performance of pre-optimization done (n=111): time 3.978e-06/0.7976, allocations: 0 / 0.6106 GB, free: 13.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=111): time 0.03806/0.8357, allocations: 9.758 MB / 0.6202 GB, free: 3.559 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.752e-05/0.8358, allocations: 195.9 kB / 0.6204 GB, free: 3.324 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004676/0.8405, allocations: 3.027 MB / 0.6233 GB, free: 284 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001211/0.8406, allocations: 41.7 kB / 0.6234 GB, free: 236 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001497/0.8421, allocations: 2.426 MB / 0.6257 GB, free: 13.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004521/0.8426, allocations: 0.4902 MB / 0.6262 GB, free: 13.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001885/0.8428, allocations: 104 kB / 0.6263 GB, free: 13.17 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003192/0.8431, allocations: 0.5333 MB / 0.6268 GB, free: 12.63 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002049/0.8452, allocations: 1.494 MB / 0.6283 GB, free: 11.13 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004019/0.8492, allocations: 5.06 MB / 0.6332 GB, free: 4.266 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00706/0.8563, allocations: 7.137 MB / 0.6402 GB, free: 11.34 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-05/0.8563, allocations: 40 kB / 0.6402 GB, free: 11.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=705) (initialization): time 0.009661/0.866, allocations: 6.217 MB / 0.6463 GB, free: 5.078 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.578e-05/0.8661, allocations: 60 kB / 0.6464 GB, free: 5.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001367/0.8663, allocations: 131.9 kB / 0.6465 GB, free: 4.891 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001834/0.8665, allocations: 168.8 kB / 0.6466 GB, free: 4.727 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004992/0.8715, allocations: 1.525 MB / 0.6481 GB, free: 3.199 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001868/0.8717, allocations: 243.1 kB / 0.6484 GB, free: 2.961 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003201/0.8749, allocations: 0.7499 MB / 0.6491 GB, free: 2.203 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004365/0.8753, allocations: 347.9 kB / 0.6494 GB, free: 1.867 MB / 426.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.002107/0.8774, allocations: 1.579 MB / 0.651 GB, free: 280 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003806/0.8778, allocations: 252.7 kB / 0.6512 GB, free: 24 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001183/0.879, allocations: 0.7468 MB / 0.6519 GB, free: 15.27 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.15e-05/0.8791, allocations: 12.38 kB / 0.652 GB, free: 15.26 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/0.8791, allocations: 4 kB / 0.652 GB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.8791, allocations: 3.984 kB / 0.652 GB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005486/0.8846, allocations: 3.239 MB / 0.6551 GB, free: 11.95 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.8846, allocations: 7.938 kB / 0.6551 GB, free: 11.94 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002545/0.8872, allocations: 475.4 kB / 0.6556 GB, free: 11.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.969e-06/0.8872, allocations: 4 kB / 0.6556 GB, free: 11.47 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.351e-05/0.8873, allocations: 35.97 kB / 0.6556 GB, free: 11.44 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/0.8873, allocations: 4 kB / 0.6556 GB, free: 11.43 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.8873, allocations: 7.938 kB / 0.6556 GB, free: 11.43 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003056/0.8904, allocations: 2.565 MB / 0.6581 GB, free: 8.832 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007299/0.8911, allocations: 309.5 kB / 0.6584 GB, free: 8.508 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002444/0.8914, allocations: 31.98 kB / 0.6585 GB, free: 8.477 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000896/0.8923, allocations: 47.98 kB / 0.6585 GB, free: 8.43 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/0.8924, allocations: 71.83 kB / 0.6586 GB, free: 8.359 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001021/0.8925, allocations: 31.98 kB / 0.6586 GB, free: 8.328 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002863/0.8954, allocations: 1.833 MB / 0.6604 GB, free: 6.492 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.8954, allocations: 0 / 0.6604 GB, free: 6.492 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004335/0.8998, allocations: 0.8416 MB / 0.6612 GB, free: 5.648 MB / 442.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.0003989/0.9002, allocations: 179 kB / 0.6614 GB, free: 5.461 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005281/0.9055, allocations: 3.405 MB / 0.6647 GB, free: 2.086 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.9055, allocations: 0 / 0.6647 GB, free: 2.086 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008217/0.9063, allocations: 0.6263 MB / 0.6653 GB, free: 1.461 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002515/0.9088, allocations: 249.7 kB / 0.6656 GB, free: 1.215 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1937/1.103, allocations: 8.488 MB / 0.6739 GB, free: 124.2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002004/1.105, allocations: 2.392 MB / 0.6762 GB, free: 123.5 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004055/1.109, allocations: 1.645 MB / 0.6778 GB, free: 123.3 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004565/1.109, allocations: 188.8 kB / 0.678 GB, free: 123.3 MB / 442.7 MB Notification: Performance of SimCode: time 1.042e-06/1.109, allocations: 0 / 0.678 GB, free: 123.3 MB / 442.7 MB Notification: Performance of Templates: time 0.03418/1.143, allocations: 20.46 MB / 0.698 GB, free: 122 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravityWithPointMasses/PointGravityWithPointMasses.csv","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches