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.001841/0.001841, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002199/0.002199, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.545/1.545, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.001613/0.001613, allocations: 47.92 kB / 373.5 MB, free: 9.695 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1051, allocations: 53.34 MB / 426.8 MB, free: 4.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses): time 0.2165/0.3216, allocations: 7.977 MB / 434.8 MB, free: 7.238 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004711/0.3263, allocations: 2.579 MB / 437.4 MB, free: 6.125 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008644/0.3272, allocations: 39.22 kB / 437.4 MB, free: 6.117 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00275/0.3299, allocations: 1.454 MB / 438.9 MB, free: 5.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002289/0.3322, allocations: 1.015 MB / 439.9 MB, free: 5.242 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000712/0.3329, allocations: 264.6 kB / 440.1 MB, free: 5.105 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002929/0.3358, allocations: 2.155 MB / 442.3 MB, free: 4.246 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001675/0.3375, allocations: 1.334 MB / 443.6 MB, free: 3.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001232/0.3388, allocations: 0.8452 MB / 444.5 MB, free: 3.324 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001535/0.3403, allocations: 1.302 MB / 445.8 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004021/0.3407, allocations: 159 kB / 445.9 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001508/0.3422, allocations: 0.6884 MB / 446.6 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001138/0.3433, allocations: 1.173 MB / 447.8 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001039/0.3444, allocations: 1.363 MB / 449.1 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0048/0.3492, allocations: 4.293 MB / 453.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3492, allocations: 1.156 kB / 453.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3492, allocations: 0 / 453.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.291e-05/0.3493, allocations: 0 / 453.4 MB, free: 15.12 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.00537/0.3546, allocations: 3.007 MB / 456.5 MB, free: 12.89 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.3547, allocations: 8.938 kB / 456.5 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007571/0.3622, allocations: 1.793 MB / 458.3 MB, free: 11.93 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002706/0.3649, allocations: 1.169 MB / 459.4 MB, free: 11.11 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001602/0.3651, allocations: 154.6 kB / 459.6 MB, free: 11.03 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005203/0.3656, allocations: 207.1 kB / 459.8 MB, free: 10.96 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0205/0.3861, allocations: 8.613 MB / 468.4 MB, free: 5.777 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.975e-05/0.3862, allocations: 36.52 kB / 468.4 MB, free: 5.758 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000312/0.3865, allocations: 104.7 kB / 468.5 MB, free: 5.688 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003208/0.3897, allocations: 1.676 MB / 470.2 MB, free: 4.352 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01997/0.4097, allocations: 7.175 MB / 477.4 MB, free: 13.17 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04026/0.45, allocations: 30.14 MB / 0.4956 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0239/0.4739, allocations: 4.991 MB / 0.5005 GB, free: 8.996 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001903/0.4758, allocations: 1.194 MB / 0.5017 GB, free: 7.781 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006239/0.482, allocations: 3.843 MB / 0.5054 GB, free: 3.773 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.53e-05/0.4821, allocations: 56.64 kB / 0.5055 GB, free: 3.711 MB / 414.1 MB Notification: Performance of pre-optimization done (n=111): time 3.196e-06/0.4821, allocations: 0 / 0.5055 GB, free: 3.711 MB / 414.1 MB Notification: Performance of matching and sorting (n=111): time 0.04912/0.5312, allocations: 9.289 MB / 0.5145 GB, free: 10.34 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001438/0.5313, allocations: 199.9 kB / 0.5147 GB, free: 10.1 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005282/0.5366, allocations: 3.043 MB / 0.5177 GB, free: 7.035 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002382/0.5369, allocations: 37.7 kB / 0.5177 GB, free: 6.992 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00227/0.5391, allocations: 2.527 MB / 0.5202 GB, free: 4.438 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007097/0.5398, allocations: 0.5119 MB / 0.5207 GB, free: 3.922 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001617/0.5415, allocations: 1.092 MB / 0.5218 GB, free: 2.82 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.5416, allocations: 313.1 kB / 0.5221 GB, free: 2.512 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002662/0.5443, allocations: 1.603 MB / 0.5236 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006085/0.5504, allocations: 5.173 MB / 0.5287 GB, free: 9.922 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009341/0.5597, allocations: 7.337 MB / 0.5359 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.936e-05/0.5598, allocations: 36 kB / 0.5359 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of matching and sorting (n=705) (initialization): time 0.0117/0.5715, allocations: 6.462 MB / 0.5422 GB, free: 10.3 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.26e-05/0.5716, allocations: 60 kB / 0.5423 GB, free: 10.24 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001327/0.5717, allocations: 128 kB / 0.5424 GB, free: 10.12 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001779/0.5719, allocations: 164 kB / 0.5425 GB, free: 9.957 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005082/0.577, allocations: 1.454 MB / 0.544 GB, free: 8.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002294/0.5772, allocations: 255 kB / 0.5442 GB, free: 8.25 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003538/0.5807, allocations: 0.772 MB / 0.545 GB, free: 7.48 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004739/0.5812, allocations: 344 kB / 0.5453 GB, free: 7.145 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.002355/0.5836, allocations: 1.569 MB / 0.5468 GB, free: 5.566 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000479/0.584, allocations: 266.2 kB / 0.5471 GB, free: 5.305 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006401/0.5847, allocations: 315.3 kB / 0.5474 GB, free: 4.996 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.401e-05/0.5847, allocations: 16.88 kB / 0.5474 GB, free: 4.98 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/0.5847, allocations: 7.938 kB / 0.5474 GB, free: 4.973 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.5847, allocations: 3.984 kB / 0.5474 GB, free: 4.969 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005962/0.5907, allocations: 3.392 MB / 0.5507 GB, free: 1.516 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.5907, allocations: 2.391 kB / 0.5507 GB, free: 1.516 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002506/0.5932, allocations: 423.3 kB / 0.5511 GB, free: 1.102 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-05/0.5932, allocations: 8.812 kB / 0.5511 GB, free: 1.094 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001021/0.5933, allocations: 35.97 kB / 0.5512 GB, free: 1.059 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.055e-06/0.5933, allocations: 4 kB / 0.5512 GB, free: 1.055 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.5933, allocations: 0 / 0.5512 GB, free: 1.055 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00379/0.5971, allocations: 2.818 MB / 0.5539 GB, free: 14.22 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005578/0.5977, allocations: 319 kB / 0.5542 GB, free: 13.89 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003887/0.5981, allocations: 30.3 kB / 0.5542 GB, free: 13.86 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/0.5991, allocations: 44.33 kB / 0.5543 GB, free: 13.82 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/0.5993, allocations: 51.92 kB / 0.5543 GB, free: 13.77 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.83e-05/0.5993, allocations: 35.98 kB / 0.5544 GB, free: 13.73 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00295/0.6023, allocations: 1.836 MB / 0.5562 GB, free: 11.89 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6023, allocations: 7.938 kB / 0.5562 GB, free: 11.88 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004106/0.6064, allocations: 0.8266 MB / 0.557 GB, free: 11.05 MB / 478.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.0004093/0.6068, allocations: 163.3 kB / 0.5571 GB, free: 10.89 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006524/0.6133, allocations: 3.483 MB / 0.5605 GB, free: 7.43 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.261e-06/0.6133, allocations: 0 / 0.5605 GB, free: 7.43 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00109/0.6144, allocations: 0.6868 MB / 0.5612 GB, free: 6.742 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002191/0.6166, allocations: 264.3 kB / 0.5615 GB, free: 6.496 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0145/0.6311, allocations: 7.166 MB / 0.5685 GB, free: 15.29 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003789/0.6349, allocations: 2.387 MB / 0.5708 GB, free: 12.88 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004454/0.6394, allocations: 1.629 MB / 0.5724 GB, free: 11.24 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007143/0.6401, allocations: 191.4 kB / 0.5726 GB, free: 11.05 MB / 494.1 MB Notification: Performance of SimCode: time 1.363e-06/0.6401, allocations: 0 / 0.5726 GB, free: 11.05 MB / 494.1 MB Notification: Performance of Templates: time 0.04645/0.6865, allocations: 19.06 MB / 0.5912 GB, free: 8.082 MB / 0.4981 GB " [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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravityWithPointMasses/PointGravityWithPointMasses.csv","/var/lib/jenkins/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: 6.114601898938417]