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/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001509/0.001509, allocations: 112.9 kB / 19.17 MB, free: 3.891 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0016/0.0016, allocations: 210.5 kB / 22.13 MB, free: 0.9375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 230.2 MB / 255.2 MB, free: 15.39 MB / 206.1 MB " [Timeout remaining time 178] 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 75.86 kB / 374.5 MB, free: 9.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09599/0.09785, allocations: 53.31 MB / 427.8 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses): time 0.009803/0.1077, allocations: 7.983 MB / 435.8 MB, free: 12.47 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005046/0.1127, allocations: 2.567 MB / 438.4 MB, free: 9.902 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005581/0.1133, allocations: 31.94 kB / 438.4 MB, free: 9.871 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002874/0.1161, allocations: 1.471 MB / 439.9 MB, free: 8.395 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002118/0.1182, allocations: 1.011 MB / 440.9 MB, free: 7.379 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006334/0.1189, allocations: 263.5 kB / 441.2 MB, free: 7.121 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002695/0.1216, allocations: 2.164 MB / 443.3 MB, free: 4.953 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00159/0.1232, allocations: 1.337 MB / 444.7 MB, free: 3.586 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009456/0.1241, allocations: 0.8289 MB / 445.5 MB, free: 2.754 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00173/0.1258, allocations: 1.3 MB / 446.8 MB, free: 1.449 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002896/0.1261, allocations: 163.9 kB / 447 MB, free: 1.289 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001297/0.1274, allocations: 0.6904 MB / 447.6 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.1838/0.3112, allocations: 1.162 MB / 448.8 MB, free: 10.89 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001408/0.3126, allocations: 1.364 MB / 450.2 MB, free: 10.51 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004932/0.3176, allocations: 4.288 MB / 454.5 MB, free: 9.766 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.3176, allocations: 0 / 454.5 MB, free: 9.766 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3176, allocations: 0 / 454.5 MB, free: 9.766 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001218/0.3177, allocations: 2.25 kB / 454.5 MB, free: 9.766 MB / 366.1 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.004947/0.3226, allocations: 3 MB / 457.5 MB, free: 8.344 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.3227, allocations: 9.438 kB / 457.5 MB, free: 8.344 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007135/0.3298, allocations: 1.796 MB / 459.3 MB, free: 8.137 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002794/0.3326, allocations: 1.164 MB / 460.4 MB, free: 7.727 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001555/0.3328, allocations: 157.4 kB / 460.6 MB, free: 7.719 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005136/0.3333, allocations: 206.2 kB / 460.8 MB, free: 7.715 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01836/0.3516, allocations: 8.612 MB / 469.4 MB, free: 4.586 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.01e-05/0.3517, allocations: 38.14 kB / 469.4 MB, free: 4.582 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002895/0.352, allocations: 109.8 kB / 469.5 MB, free: 4.539 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00271/0.3547, allocations: 1.664 MB / 471.2 MB, free: 4.273 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01644/0.3712, allocations: 7.182 MB / 478.4 MB, free: 1.871 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03424/0.4054, allocations: 30.14 MB / 0.4966 GB, free: 7.32 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0233/0.4287, allocations: 4.986 MB / 0.5015 GB, free: 2.176 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001729/0.4304, allocations: 1.2 MB / 0.5026 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005761/0.4362, allocations: 3.832 MB / 0.5064 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.304e-05/0.4362, allocations: 50.27 kB / 0.5064 GB, free: 12.94 MB / 414.1 MB Notification: Performance of pre-optimization done (n=111): time 2.675e-06/0.4362, allocations: 0 / 0.5064 GB, free: 12.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=111): time 0.04716/0.4834, allocations: 9.297 MB / 0.5155 GB, free: 3.574 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001272/0.4835, allocations: 195.6 kB / 0.5157 GB, free: 3.344 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004422/0.4879, allocations: 3.035 MB / 0.5187 GB, free: 296 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001177/0.4881, allocations: 41.7 kB / 0.5187 GB, free: 248 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001982/0.49, allocations: 2.536 MB / 0.5212 GB, free: 13.74 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005397/0.4906, allocations: 0.5101 MB / 0.5217 GB, free: 13.24 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001444/0.492, allocations: 1.103 MB / 0.5228 GB, free: 12.13 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.4921, allocations: 301.1 kB / 0.5231 GB, free: 11.83 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002432/0.4946, allocations: 1.607 MB / 0.5246 GB, free: 10.22 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005611/0.5002, allocations: 5.169 MB / 0.5297 GB, free: 3.309 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009018/0.5092, allocations: 7.338 MB / 0.5368 GB, free: 10.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.589e-05/0.5093, allocations: 37.5 kB / 0.5369 GB, free: 10.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=705) (initialization): time 0.01259/0.5219, allocations: 6.467 MB / 0.5432 GB, free: 4.051 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.912e-05/0.522, allocations: 56.94 kB / 0.5432 GB, free: 3.996 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001487/0.5221, allocations: 130.6 kB / 0.5434 GB, free: 3.871 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001763/0.5223, allocations: 171.9 kB / 0.5435 GB, free: 3.703 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005166/0.5275, allocations: 1.454 MB / 0.5449 GB, free: 2.246 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002157/0.5277, allocations: 247 kB / 0.5452 GB, free: 2.004 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004135/0.5318, allocations: 0.7676 MB / 0.5459 GB, free: 1.234 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007829/0.5326, allocations: 344 kB / 0.5463 GB, free: 0.8984 MB / 446.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002841/0.5354, allocations: 1.577 MB / 0.5478 GB, free: 15.31 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005341/0.536, allocations: 267.6 kB / 0.5481 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006435/0.5366, allocations: 311.3 kB / 0.5484 GB, free: 14.74 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.88e-05/0.5366, allocations: 19.12 kB / 0.5484 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.246e-05/0.5367, allocations: 11.81 kB / 0.5484 GB, free: 14.71 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.316e-05/0.5367, allocations: 7.984 kB / 0.5484 GB, free: 14.71 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006362/0.543, allocations: 3.394 MB / 0.5517 GB, free: 11.28 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/0.543, allocations: 4 kB / 0.5517 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002438/0.5455, allocations: 411.4 kB / 0.5521 GB, free: 10.87 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-05/0.5455, allocations: 4 kB / 0.5521 GB, free: 10.87 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.72e-05/0.5456, allocations: 35.97 kB / 0.5521 GB, free: 10.83 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.829e-06/0.5456, allocations: 4.875 kB / 0.5521 GB, free: 10.83 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.5456, allocations: 4 kB / 0.5521 GB, free: 10.82 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003662/0.5493, allocations: 2.816 MB / 0.5549 GB, free: 7.992 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000599/0.5499, allocations: 319 kB / 0.5552 GB, free: 7.66 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002402/0.5501, allocations: 27.98 kB / 0.5552 GB, free: 7.633 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008726/0.551, allocations: 42.38 kB / 0.5553 GB, free: 7.594 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/0.5511, allocations: 63.84 kB / 0.5553 GB, free: 7.531 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.767e-05/0.5512, allocations: 41.28 kB / 0.5554 GB, free: 7.496 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003025/0.5542, allocations: 1.836 MB / 0.5572 GB, free: 5.656 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5542, allocations: 384 / 0.5572 GB, free: 5.656 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00404/0.5583, allocations: 0.8226 MB / 0.558 GB, free: 4.832 MB / 462.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000383/0.5587, allocations: 167.3 kB / 0.5581 GB, free: 4.66 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005625/0.5643, allocations: 3.487 MB / 0.5615 GB, free: 1.203 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.106e-06/0.5643, allocations: 4 kB / 0.5615 GB, free: 1.199 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001015/0.5653, allocations: 0.6794 MB / 0.5622 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001676/0.567, allocations: 261.8 kB / 0.5624 GB, free: 280 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01311/0.5801, allocations: 7.498 MB / 0.5698 GB, free: 8.758 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002744/0.5828, allocations: 2.383 MB / 0.5721 GB, free: 6.348 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007915/0.5836, allocations: 239.3 kB / 0.5723 GB, free: 6.113 MB / 478.1 MB Notification: Performance of SimCode: time 9.01e-07/0.5836, allocations: 7.938 kB / 0.5723 GB, free: 6.105 MB / 478.1 MB Notification: Performance of Templates: time 0.06585/0.6495, allocations: 41.13 MB / 0.6125 GB, free: 13.05 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravityWithPointMasses/PointGravityWithPointMasses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.797404369805008]