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.00122/0.00122, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 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.001997/0.001997, allocations: 164.3 kB / 24.5 MB, free: 3.453 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.447/1.447, allocations: 177.1 MB / 204.7 MB, free: 9.02 MB / 190.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.00188/0.00188, allocations: 56.53 kB / 325.5 MB, free: 228 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09194/0.09382, allocations: 53.41 MB / 378.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses): time 0.008827/0.1026, allocations: 7.016 MB / 385.9 MB, free: 8.449 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004826/0.1075, allocations: 2.446 MB / 388.4 MB, free: 6 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000544/0.108, allocations: 35.88 kB / 388.4 MB, free: 5.965 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00278/0.1108, allocations: 1.405 MB / 389.8 MB, free: 4.555 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002065/0.1129, allocations: 1.023 MB / 390.9 MB, free: 3.527 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006393/0.1135, allocations: 263.5 kB / 391.1 MB, free: 3.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002537/0.116, allocations: 2.153 MB / 393.3 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001497/0.1175, allocations: 1.348 MB / 394.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008592/0.1184, allocations: 0.8368 MB / 395.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001622/0.12, allocations: 1.245 MB / 396.7 MB, free: 13.64 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002886/0.1203, allocations: 160 kB / 396.8 MB, free: 13.49 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00103/0.1213, allocations: 0.5811 MB / 397.4 MB, free: 12.91 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00103/0.1224, allocations: 1.176 MB / 398.6 MB, free: 11.73 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009745/0.1233, allocations: 0.9778 MB / 399.6 MB, free: 10.74 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004195/0.1275, allocations: 4.294 MB / 403.9 MB, free: 6.43 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1275, allocations: 0 / 403.9 MB, free: 6.43 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1275, allocations: 0 / 403.9 MB, free: 6.43 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.489e-05/0.1276, allocations: 0 / 403.9 MB, free: 6.43 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.004016/0.1316, allocations: 2.931 MB / 406.8 MB, free: 3.449 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/0.1317, allocations: 15.97 kB / 406.8 MB, free: 3.434 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007132/0.1388, allocations: 1.949 MB / 408.8 MB, free: 1.48 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001956/0.1407, allocations: 1.109 MB / 409.9 MB, free: 348 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000115/0.1409, allocations: 151.8 kB / 410 MB, free: 196 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003522/0.1412, allocations: 199.9 kB / 410.2 MB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01587/0.1571, allocations: 8.25 MB / 418.5 MB, free: 7.137 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.199e-05/0.1572, allocations: 47.62 kB / 418.5 MB, free: 7.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002721/0.1574, allocations: 107.9 kB / 418.6 MB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002576/0.16, allocations: 1.554 MB / 420.2 MB, free: 5.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01577/0.1758, allocations: 6.769 MB / 426.9 MB, free: 14.66 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03348/0.2093, allocations: 27.62 MB / 454.6 MB, free: 2.152 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01987/0.2291, allocations: 4.476 MB / 459 MB, free: 13.61 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001297/0.2304, allocations: 0.8179 MB / 459.9 MB, free: 12.77 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00497/0.2354, allocations: 2.636 MB / 462.5 MB, free: 10.1 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.751e-05/0.2355, allocations: 42.89 kB / 462.5 MB, free: 10.05 MB / 430.1 MB Notification: Performance of pre-optimization done (n=111): time 4.098e-06/0.2355, allocations: 0 / 462.5 MB, free: 10.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=111): time 0.03947/0.2749, allocations: 8.471 MB / 471 MB, free: 1.57 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/0.275, allocations: 195.9 kB / 471.2 MB, free: 1.336 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2004/0.4755, allocations: 2.961 MB / 474.2 MB, free: 85.11 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002123/0.4757, allocations: 40.52 kB / 474.2 MB, free: 85.07 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001479/0.4772, allocations: 2.55 MB / 476.8 MB, free: 83.68 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005029/0.4777, allocations: 0.5138 MB / 477.3 MB, free: 83.41 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001354/0.479, allocations: 1.085 MB / 478.4 MB, free: 82.94 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.834e-05/0.4791, allocations: 341.1 kB / 478.7 MB, free: 82.62 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002411/0.4815, allocations: 1.486 MB / 480.2 MB, free: 82.17 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004508/0.486, allocations: 5.053 MB / 485.2 MB, free: 76.89 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00753/0.4936, allocations: 7.076 MB / 492.3 MB, free: 70.55 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000104/0.4937, allocations: 36.75 kB / 492.3 MB, free: 70.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=705) (initialization): time 0.008434/0.5021, allocations: 6.184 MB / 498.5 MB, free: 68.16 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.312e-05/0.5022, allocations: 66.78 kB / 498.6 MB, free: 68.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001225/0.5023, allocations: 127.2 kB / 498.7 MB, free: 68.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001356/0.5025, allocations: 164.7 kB / 498.9 MB, free: 68.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004193/0.5067, allocations: 1.454 MB / 0.4886 GB, free: 67.85 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001198/0.5068, allocations: 248.5 kB / 0.4888 GB, free: 67.63 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003256/0.51, allocations: 0.7435 MB / 0.4896 GB, free: 66.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003154/0.5103, allocations: 340 kB / 0.4899 GB, free: 66.57 MB / 430.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.001792/0.5121, allocations: 1.572 MB / 0.4914 GB, free: 65.17 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003084/0.5124, allocations: 238.4 kB / 0.4917 GB, free: 64.93 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003809/0.5128, allocations: 294.4 kB / 0.4919 GB, free: 64.67 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.947e-05/0.5128, allocations: 15.38 kB / 0.4919 GB, free: 64.66 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.5129, allocations: 0 / 0.4919 GB, free: 64.66 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.5129, allocations: 7.562 kB / 0.492 GB, free: 64.65 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003699/0.5166, allocations: 2.48 MB / 0.4944 GB, free: 62.56 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.5166, allocations: 0 / 0.4944 GB, free: 62.56 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002098/0.5187, allocations: 409.7 kB / 0.4948 GB, free: 62.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.835e-06/0.5187, allocations: 4 kB / 0.4948 GB, free: 62.25 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.34e-05/0.5187, allocations: 35.78 kB / 0.4948 GB, free: 62.22 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.5188, allocations: 8 kB / 0.4948 GB, free: 62.21 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.5188, allocations: 384 / 0.4948 GB, free: 62.21 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002194/0.521, allocations: 2.494 MB / 0.4973 GB, free: 59.93 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000296/0.5212, allocations: 210.2 kB / 0.4975 GB, free: 59.72 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000192/0.5214, allocations: 27.89 kB / 0.4975 GB, free: 59.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007777/0.5222, allocations: 50.34 kB / 0.4975 GB, free: 59.66 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.627e-05/0.5223, allocations: 58.11 kB / 0.4976 GB, free: 59.63 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-05/0.5224, allocations: 31.44 kB / 0.4976 GB, free: 59.61 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00156/0.5239, allocations: 1.641 MB / 0.4992 GB, free: 58.04 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5239, allocations: 0 / 0.4992 GB, free: 58.04 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003463/0.5274, allocations: 0.8457 MB / 0.5 GB, free: 57.2 MB / 430.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.0002735/0.5277, allocations: 174.5 kB / 0.5002 GB, free: 57.02 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004042/0.5317, allocations: 3.228 MB / 0.5034 GB, free: 53.82 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.5317, allocations: 8 kB / 0.5034 GB, free: 53.81 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005713/0.5323, allocations: 0.5592 MB / 0.5039 GB, free: 53.25 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/0.5335, allocations: 212.7 kB / 0.5041 GB, free: 53.05 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007414/0.5409, allocations: 7.016 MB / 0.511 GB, free: 46.03 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001658/0.5426, allocations: 1.821 MB / 0.5127 GB, free: 44.17 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002724/0.5453, allocations: 1.612 MB / 0.5143 GB, free: 42.55 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003038/0.5456, allocations: 172.5 kB / 0.5145 GB, free: 42.39 MB / 430.1 MB Notification: Performance of SimCode: time 7.81e-07/0.5456, allocations: 0 / 0.5145 GB, free: 42.39 MB / 430.1 MB Notification: Performance of Templates: time 0.02901/0.5746, allocations: 15.21 MB / 0.5293 GB, free: 27.59 MB / 430.1 MB " [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 -s ida -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravityWithPointMasses/PointGravityWithPointMasses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 5.8029340910725296]