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.001314/0.001314, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001414/0.001414, allocations: 213.3 kB / 24.48 MB, free: 3.941 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.431/1.431, allocations: 230.6 MB / 258.2 MB, free: 7.746 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.001566/0.001566, allocations: 47.92 kB / 379 MB, free: 2.434 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2177/0.2193, allocations: 53.37 MB / 432.3 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses): time 0.009056/0.2284, allocations: 7.021 MB / 439.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004451/0.2328, allocations: 2.435 MB / 441.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003876/0.2332, allocations: 43.88 kB / 441.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002717/0.2359, allocations: 1.401 MB / 443.2 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001857/0.2378, allocations: 1.027 MB / 444.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005433/0.2383, allocations: 255.5 kB / 444.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002335/0.2406, allocations: 2.164 MB / 446.7 MB, free: 8.309 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001491/0.2421, allocations: 1.347 MB / 448 MB, free: 6.938 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008837/0.243, allocations: 0.8484 MB / 448.9 MB, free: 6.086 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001563/0.2446, allocations: 1.3 MB / 450.2 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002781/0.2449, allocations: 160 kB / 450.3 MB, free: 4.625 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001031/0.2459, allocations: 0.5811 MB / 450.9 MB, free: 4.043 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001045/0.2469, allocations: 1.18 MB / 452.1 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009615/0.2479, allocations: 0.9739 MB / 453.1 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004356/0.2523, allocations: 4.298 MB / 457.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2523, allocations: 4 kB / 457.4 MB, free: 13.56 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2523, allocations: 0 / 457.4 MB, free: 13.56 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.475e-05/0.2523, allocations: 0 / 457.4 MB, free: 13.56 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.0041/0.2564, allocations: 2.934 MB / 460.3 MB, free: 10.58 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.2564, allocations: 8.031 kB / 460.3 MB, free: 10.57 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006874/0.2633, allocations: 1.797 MB / 462.1 MB, free: 8.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002557/0.2659, allocations: 1.121 MB / 463.2 MB, free: 7.617 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/0.266, allocations: 155.8 kB / 463.4 MB, free: 7.465 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000399/0.2664, allocations: 203.8 kB / 463.6 MB, free: 7.266 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01963/0.286, allocations: 8.629 MB / 472.2 MB, free: 14.03 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.903e-05/0.2861, allocations: 47.62 kB / 472.3 MB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000269/0.2864, allocations: 103.9 kB / 472.4 MB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003048/0.2894, allocations: 1.667 MB / 474 MB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01867/0.3081, allocations: 7.171 MB / 481.2 MB, free: 5.039 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03488/0.343, allocations: 28.49 MB / 0.4977 GB, free: 7.664 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02642/0.3694, allocations: 4.556 MB / 0.5022 GB, free: 3.043 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00172/0.3711, allocations: 1.189 MB / 0.5034 GB, free: 1.832 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005514/0.3766, allocations: 3.083 MB / 0.5064 GB, free: 14.71 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.3767, allocations: 38.89 kB / 0.5064 GB, free: 14.67 MB / 430.1 MB Notification: Performance of pre-optimization done (n=111): time 3.256e-06/0.3767, allocations: 0 / 0.5064 GB, free: 14.67 MB / 430.1 MB Notification: Performance of matching and sorting (n=111): time 0.05266/0.4293, allocations: 8.977 MB / 0.5152 GB, free: 5.68 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/0.4294, allocations: 199.9 kB / 0.5154 GB, free: 5.441 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003748/0.4332, allocations: 2.965 MB / 0.5183 GB, free: 2.453 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001172/0.4333, allocations: 45.69 kB / 0.5183 GB, free: 2.402 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001838/0.4352, allocations: 2.547 MB / 0.5208 GB, free: 15.82 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000494/0.4356, allocations: 0.5158 MB / 0.5213 GB, free: 15.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001334/0.437, allocations: 1.088 MB / 0.5224 GB, free: 14.21 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.4371, allocations: 343 kB / 0.5227 GB, free: 13.87 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002372/0.4395, allocations: 1.603 MB / 0.5242 GB, free: 12.26 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00529/0.4448, allocations: 5.173 MB / 0.5293 GB, free: 5.281 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00842/0.4532, allocations: 7.334 MB / 0.5365 GB, free: 12.16 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.085e-05/0.4533, allocations: 36 kB / 0.5365 GB, free: 12.12 MB / 462.1 MB Notification: Performance of matching and sorting (n=705) (initialization): time 0.01019/0.4635, allocations: 6.443 MB / 0.5428 GB, free: 5.68 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.409e-05/0.4636, allocations: 59.98 kB / 0.5428 GB, free: 5.621 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001236/0.4637, allocations: 128 kB / 0.543 GB, free: 5.496 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001736/0.4639, allocations: 168 kB / 0.5431 GB, free: 5.332 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005311/0.4692, allocations: 1.454 MB / 0.5445 GB, free: 3.875 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000207/0.4694, allocations: 251.3 kB / 0.5448 GB, free: 3.633 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003284/0.4727, allocations: 0.7485 MB / 0.5455 GB, free: 2.879 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004249/0.4731, allocations: 340 kB / 0.5458 GB, free: 2.547 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.002082/0.4752, allocations: 1.567 MB / 0.5474 GB, free: 0.9648 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004092/0.4756, allocations: 238.4 kB / 0.5476 GB, free: 0.7305 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005143/0.4761, allocations: 297.1 kB / 0.5479 GB, free: 444 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.478e-05/0.4761, allocations: 12 kB / 0.5479 GB, free: 432 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/0.4761, allocations: 7.938 kB / 0.5479 GB, free: 424 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/0.4761, allocations: 7.984 kB / 0.5479 GB, free: 416 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.179/0.6551, allocations: 2.716 MB / 0.5506 GB, free: 114.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.6551, allocations: 1.469 kB / 0.5506 GB, free: 114.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002624/0.6578, allocations: 414.7 kB / 0.551 GB, free: 114.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.047e-06/0.6578, allocations: 7.812 kB / 0.551 GB, free: 114.2 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.912e-05/0.6579, allocations: 41.12 kB / 0.551 GB, free: 114.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.582e-06/0.6579, allocations: 4.75 kB / 0.551 GB, free: 114.1 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.6579, allocations: 6.438 kB / 0.551 GB, free: 114.1 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002897/0.6608, allocations: 2.786 MB / 0.5537 GB, free: 113 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003803/0.6611, allocations: 215.6 kB / 0.5539 GB, free: 112.9 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002388/0.6614, allocations: 28.08 kB / 0.554 GB, free: 112.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009149/0.6623, allocations: 50.25 kB / 0.554 GB, free: 112.9 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/0.6624, allocations: 56.53 kB / 0.5541 GB, free: 112.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.521e-05/0.6625, allocations: 41.8 kB / 0.5541 GB, free: 112.9 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001781/0.6643, allocations: 1.637 MB / 0.5557 GB, free: 112.3 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6643, allocations: 0 / 0.5557 GB, free: 112.3 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00334/0.6676, allocations: 0.8479 MB / 0.5565 GB, free: 112.1 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.0002685/0.6679, allocations: 171.5 kB / 0.5567 GB, free: 112 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003866/0.6718, allocations: 3.487 MB / 0.5601 GB, free: 110.9 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.6718, allocations: 0 / 0.5601 GB, free: 110.9 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007083/0.6725, allocations: 0.6894 MB / 0.5608 GB, free: 110.7 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001344/0.6738, allocations: 218.7 kB / 0.561 GB, free: 110.6 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007895/0.6817, allocations: 7.125 MB / 0.5679 GB, free: 104.9 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001606/0.6833, allocations: 1.823 MB / 0.5697 GB, free: 103.6 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002801/0.6861, allocations: 1.604 MB / 0.5713 GB, free: 102.6 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003526/0.6865, allocations: 175.4 kB / 0.5715 GB, free: 102.4 MB / 462.1 MB Notification: Performance of SimCode: time 9.81e-07/0.6865, allocations: 4 kB / 0.5715 GB, free: 102.4 MB / 462.1 MB Notification: Performance of Templates: time 0.0326/0.7191, allocations: 20.6 MB / 0.5916 GB, free: 82.25 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 -s gbode -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.879514366999501]