Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001608/0.001608, allocations: 106.8 kB / 21.19 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002293/0.002293, allocations: 217.3 kB / 24.49 MB, free: 3.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.493/1.493, allocations: 230.6 MB / 258.3 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001569/0.001569, allocations: 51.91 kB / 379 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2071, allocations: 53.37 MB / 432.4 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses): time 0.008858/0.216, allocations: 7.021 MB / 439.4 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004135/0.2201, allocations: 2.435 MB / 441.8 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003635/0.2205, allocations: 39.88 kB / 441.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002679/0.2232, allocations: 1.413 MB / 443.3 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001779/0.225, allocations: 1.027 MB / 444.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005255/0.2255, allocations: 259.5 kB / 444.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002309/0.2278, allocations: 2.16 MB / 446.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001413/0.2292, allocations: 1.351 MB / 448 MB, free: 6.938 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000792/0.23, allocations: 0.8367 MB / 448.9 MB, free: 6.098 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001495/0.2315, allocations: 1.3 MB / 450.2 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002584/0.2317, allocations: 163.9 kB / 450.3 MB, free: 4.633 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009615/0.2327, allocations: 0.585 MB / 450.9 MB, free: 4.047 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001016/0.2337, allocations: 1.176 MB / 452.1 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009203/0.2346, allocations: 0.9738 MB / 453.1 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004106/0.2387, allocations: 4.298 MB / 457.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.2388, allocations: 0 / 457.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2388, allocations: 0 / 457.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.758e-05/0.2388, allocations: 4 kB / 457.4 MB, free: 13.57 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.003952/0.2427, allocations: 2.934 MB / 460.3 MB, free: 10.59 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.2428, allocations: 8.031 kB / 460.3 MB, free: 10.58 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00693/0.2497, allocations: 1.8 MB / 462.1 MB, free: 8.773 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002302/0.252, allocations: 1.113 MB / 463.2 MB, free: 7.629 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001224/0.2521, allocations: 147.8 kB / 463.4 MB, free: 7.484 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003888/0.2525, allocations: 207.8 kB / 463.6 MB, free: 7.281 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01816/0.2707, allocations: 8.637 MB / 472.2 MB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.7e-05/0.2708, allocations: 43.64 kB / 472.3 MB, free: 13.99 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002758/0.271, allocations: 103.9 kB / 472.4 MB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00291/0.2739, allocations: 1.663 MB / 474 MB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01728/0.2912, allocations: 7.179 MB / 481.2 MB, free: 5.047 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03237/0.3236, allocations: 28.51 MB / 0.4978 GB, free: 7.656 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02566/0.3492, allocations: 4.534 MB / 0.5022 GB, free: 3.055 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001655/0.3509, allocations: 1.189 MB / 0.5034 GB, free: 1.844 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005182/0.3561, allocations: 3.076 MB / 0.5064 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.096e-05/0.3561, allocations: 54.88 kB / 0.5064 GB, free: 14.67 MB / 430.1 MB Notification: Performance of pre-optimization done (n=111): time 3.206e-06/0.3561, allocations: 0 / 0.5064 GB, free: 14.67 MB / 430.1 MB Notification: Performance of matching and sorting (n=111): time 0.05283/0.409, allocations: 8.974 MB / 0.5152 GB, free: 5.688 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/0.4091, allocations: 195.9 kB / 0.5154 GB, free: 5.453 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003506/0.4126, allocations: 2.965 MB / 0.5183 GB, free: 2.465 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.03e-05/0.4126, allocations: 37.7 kB / 0.5183 GB, free: 2.422 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001832/0.4145, allocations: 2.551 MB / 0.5208 GB, free: 15.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004573/0.4149, allocations: 0.5119 MB / 0.5213 GB, free: 15.33 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001359/0.4163, allocations: 1.1 MB / 0.5224 GB, free: 14.22 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.4165, allocations: 337.9 kB / 0.5227 GB, free: 13.88 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002443/0.4189, allocations: 1.607 MB / 0.5243 GB, free: 12.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005433/0.4243, allocations: 5.173 MB / 0.5293 GB, free: 5.293 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008509/0.4328, allocations: 7.338 MB / 0.5365 GB, free: 12.16 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.257e-05/0.4329, allocations: 36 kB / 0.5365 GB, free: 12.13 MB / 462.1 MB Notification: Performance of matching and sorting (n=705) (initialization): time 0.009648/0.4425, allocations: 6.439 MB / 0.5428 GB, free: 5.688 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.042e-05/0.4426, allocations: 63.94 kB / 0.5429 GB, free: 5.625 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001274/0.4427, allocations: 128 kB / 0.543 GB, free: 5.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001735/0.4429, allocations: 164 kB / 0.5431 GB, free: 5.34 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005069/0.448, allocations: 1.454 MB / 0.5446 GB, free: 3.883 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002094/0.4482, allocations: 247.5 kB / 0.5448 GB, free: 3.641 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002969/0.4512, allocations: 0.741 MB / 0.5455 GB, free: 2.895 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000433/0.4516, allocations: 347.9 kB / 0.5458 GB, free: 2.559 MB / 462.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.002028/0.4536, allocations: 1.567 MB / 0.5474 GB, free: 0.9766 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003884/0.454, allocations: 246.3 kB / 0.5476 GB, free: 0.7344 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005359/0.4546, allocations: 293.1 kB / 0.5479 GB, free: 452 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.4546, allocations: 3.984 kB / 0.5479 GB, free: 448 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.4546, allocations: 4 kB / 0.5479 GB, free: 444 kB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003414/0.4549, allocations: 222 kB / 0.5481 GB, free: 220 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002427/0.4552, allocations: 31.98 kB / 0.5481 GB, free: 188 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008739/0.456, allocations: 43.95 kB / 0.5482 GB, free: 144 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/0.4562, allocations: 55.88 kB / 0.5482 GB, free: 88 kB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1769/0.633, allocations: 2.182 MB / 0.5504 GB, free: 114.2 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002951/0.636, allocations: 2.883 MB / 0.5532 GB, free: 113 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007712/0.6368, allocations: 0.6203 MB / 0.5538 GB, free: 112.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001798/0.6386, allocations: 1.636 MB / 0.5554 GB, free: 112.2 MB / 462.1 MB Notification: Performance of Backend: time 2.7e-07/0.6386, allocations: 0 / 0.5554 GB, free: 112.2 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004601/0.6432, allocations: 3.08 MB / 0.5584 GB, free: 111.2 MB / 462.1 MB Notification: Performance of SimCode: time 0.006927/0.6501, allocations: 7.426 MB / 0.5656 GB, free: 107 MB / 462.1 MB Notification: Performance of Templates: time 0.04244/0.6925, allocations: 30.97 MB / 0.5959 GB, free: 77.83 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.87656610099657]