Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001804/0.001804, allocations: 114 kB / 21.18 MB, free: 0.7422 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.002296/0.002296, allocations: 214.1 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.427/1.427, allocations: 230.4 MB / 258.1 MB, free: 8.145 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 63.83 kB / 378.8 MB, free: 2.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.2176, allocations: 53.31 MB / 432.1 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses): time 0.009459/0.2271, allocations: 8.003 MB / 440.1 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004128/0.2312, allocations: 2.594 MB / 442.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003402/0.2316, allocations: 43.88 kB / 442.7 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002658/0.2342, allocations: 1.456 MB / 444.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001738/0.236, allocations: 1.019 MB / 445.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005274/0.2365, allocations: 259.4 kB / 445.4 MB, free: 9.953 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002485/0.239, allocations: 2.157 MB / 447.6 MB, free: 7.793 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001405/0.2404, allocations: 1.198 MB / 448.8 MB, free: 6.566 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008546/0.2412, allocations: 0.8367 MB / 449.6 MB, free: 5.727 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001675/0.2429, allocations: 1.292 MB / 450.9 MB, free: 4.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002629/0.2432, allocations: 160 kB / 451.1 MB, free: 4.273 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001142/0.2443, allocations: 0.6865 MB / 451.8 MB, free: 3.586 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0011/0.2454, allocations: 1.18 MB / 452.9 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00121/0.2466, allocations: 1.362 MB / 454.3 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004339/0.251, allocations: 4.286 MB / 458.6 MB, free: 12.73 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.251, allocations: 4 kB / 458.6 MB, free: 12.72 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.251, allocations: 0 / 458.6 MB, free: 12.72 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.551e-05/0.251, allocations: 4 kB / 458.6 MB, free: 12.72 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.004154/0.2552, allocations: 2.998 MB / 461.6 MB, free: 9.652 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.2552, allocations: 15.97 kB / 461.6 MB, free: 9.637 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007056/0.2623, allocations: 1.793 MB / 463.4 MB, free: 7.84 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002337/0.2646, allocations: 1.17 MB / 464.6 MB, free: 6.625 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001238/0.2647, allocations: 151.8 kB / 464.7 MB, free: 6.477 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003881/0.2651, allocations: 207.8 kB / 464.9 MB, free: 6.273 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01779/0.2829, allocations: 8.608 MB / 473.5 MB, free: 13.06 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.112e-05/0.283, allocations: 35.7 kB / 473.6 MB, free: 13.03 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002755/0.2832, allocations: 107.9 kB / 473.7 MB, free: 12.92 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00305/0.2863, allocations: 1.663 MB / 475.3 MB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01741/0.3037, allocations: 7.194 MB / 482.5 MB, free: 4.066 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0356/0.3393, allocations: 30.13 MB / 0.5006 GB, free: 5.047 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02344/0.3628, allocations: 4.989 MB / 0.5055 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001731/0.3645, allocations: 1.193 MB / 0.5067 GB, free: 14.67 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006024/0.3705, allocations: 3.838 MB / 0.5104 GB, free: 10.66 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.087e-05/0.3705, allocations: 54.83 kB / 0.5105 GB, free: 10.6 MB / 430.1 MB Notification: Performance of pre-optimization done (n=111): time 3.136e-06/0.3705, allocations: 0 / 0.5105 GB, free: 10.6 MB / 430.1 MB Notification: Performance of matching and sorting (n=111): time 0.04837/0.4189, allocations: 9.298 MB / 0.5196 GB, free: 1.219 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/0.419, allocations: 203.8 kB / 0.5198 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004538/0.4236, allocations: 3.039 MB / 0.5227 GB, free: 13.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.103e-05/0.4237, allocations: 41.7 kB / 0.5228 GB, free: 13.87 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002115/0.4258, allocations: 2.523 MB / 0.5252 GB, free: 11.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005656/0.4263, allocations: 0.5119 MB / 0.5257 GB, free: 10.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001479/0.4278, allocations: 1.103 MB / 0.5268 GB, free: 9.691 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.428, allocations: 305.2 kB / 0.5271 GB, free: 9.391 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002526/0.4305, allocations: 1.611 MB / 0.5287 GB, free: 7.773 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005528/0.436, allocations: 5.169 MB / 0.5337 GB, free: 0.8008 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1782/0.6142, allocations: 7.326 MB / 0.5409 GB, free: 92.59 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.878e-05/0.6142, allocations: 35.38 kB / 0.5409 GB, free: 92.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=705) (initialization): time 0.007964/0.6222, allocations: 6.456 MB / 0.5472 GB, free: 90.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.472e-05/0.6222, allocations: 63.59 kB / 0.5473 GB, free: 90.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.093e-05/0.6223, allocations: 125.4 kB / 0.5474 GB, free: 90.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001135/0.6224, allocations: 167.8 kB / 0.5475 GB, free: 90.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004062/0.6265, allocations: 1.461 MB / 0.549 GB, free: 90.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001189/0.6266, allocations: 250.3 kB / 0.5492 GB, free: 90.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002623/0.6292, allocations: 0.7708 MB / 0.55 GB, free: 90 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002727/0.6295, allocations: 346.3 kB / 0.5503 GB, free: 89.96 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.001361/0.6309, allocations: 1.572 MB / 0.5518 GB, free: 89.26 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002975/0.6312, allocations: 261.2 kB / 0.5521 GB, free: 89.13 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003659/0.6315, allocations: 315.7 kB / 0.5524 GB, free: 88.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.6316, allocations: 7.109 kB / 0.5524 GB, free: 88.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.6316, allocations: 1.938 kB / 0.5524 GB, free: 88.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002941/0.6318, allocations: 318.3 kB / 0.5527 GB, free: 88.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002426/0.6321, allocations: 35.28 kB / 0.5527 GB, free: 88.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000842/0.6329, allocations: 41.73 kB / 0.5528 GB, free: 88.65 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.633, allocations: 54.64 kB / 0.5528 GB, free: 88.62 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003566/0.6366, allocations: 2.192 MB / 0.555 GB, free: 86.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002361/0.639, allocations: 2.914 MB / 0.5578 GB, free: 84.17 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006028/0.6396, allocations: 0.6099 MB / 0.5584 GB, free: 83.67 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001665/0.6412, allocations: 1.835 MB / 0.5602 GB, free: 82.14 MB / 446.1 MB Notification: Performance of Backend: time 2.7e-07/0.6412, allocations: 4 kB / 0.5602 GB, free: 82.14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004221/0.6455, allocations: 3.075 MB / 0.5632 GB, free: 79.47 MB / 446.1 MB Notification: Performance of SimCode: time 0.007073/0.6525, allocations: 7.522 MB / 0.5705 GB, free: 72.23 MB / 446.1 MB Notification: Performance of Templates: time 0.04201/0.6945, allocations: 30.03 MB / 0.5999 GB, free: 42.39 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_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.74481485504657]