Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001902/0.001902, allocations: 99.53 kB / 21.73 MB, free: 2.688 MB / 18.57 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.001942/0.001942, allocations: 162.9 kB / 25.03 MB, free: 8.926 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.342/1.342, allocations: 158.6 MB / 186.8 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 250.4 MB, free: 7.828 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.767e-05/2.915e-05, allocations: 6.312 kB / 250.4 MB, free: 7.82 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses): time 0.01168/0.01171, allocations: 7.719 MB / 258.1 MB, free: 60 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.005861/0.01757, allocations: 2.501 MB / 260.6 MB, free: 13.55 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007983/0.01837, allocations: 43.81 kB / 260.6 MB, free: 13.51 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003451/0.02182, allocations: 1.51 MB / 262.2 MB, free: 11.99 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002651/0.02447, allocations: 1.053 MB / 263.2 MB, free: 10.93 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007383/0.02521, allocations: 279.2 kB / 263.5 MB, free: 10.66 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003612/0.02882, allocations: 2.245 MB / 265.7 MB, free: 8.41 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002055/0.03088, allocations: 1.399 MB / 267.1 MB, free: 6.98 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001911/0.03279, allocations: 1.251 MB / 268.4 MB, free: 5.727 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002077/0.03487, allocations: 1.227 MB / 269.6 MB, free: 4.496 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000371/0.03524, allocations: 164 kB / 269.8 MB, free: 4.336 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001339/0.03658, allocations: 0.6083 MB / 270.4 MB, free: 3.727 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001636/0.03821, allocations: 1.25 MB / 271.6 MB, free: 2.473 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001081/0.03929, allocations: 0.7395 MB / 272.4 MB, free: 1.73 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005697/0.04499, allocations: 4.239 MB / 276.6 MB, free: 13.47 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.045, allocations: 0 / 276.6 MB, free: 13.47 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.045, allocations: 0 / 276.6 MB, free: 13.47 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.533e-05/0.04509, allocations: 0 / 276.6 MB, free: 13.47 MB / 266.7 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.007134/0.05223, allocations: 3.531 MB / 280.1 MB, free: 9.883 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.05227, allocations: 11.98 kB / 280.1 MB, free: 9.871 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008344/0.06062, allocations: 2.238 MB / 282.4 MB, free: 7.629 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00324/0.06386, allocations: 1.065 MB / 283.4 MB, free: 6.535 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001664/0.06402, allocations: 159.9 kB / 283.6 MB, free: 6.379 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004481/0.06447, allocations: 203.8 kB / 283.8 MB, free: 6.18 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01705/0.08152, allocations: 5.856 MB / 289.7 MB, free: 15.51 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.575e-05/0.08162, allocations: 31.7 kB / 289.7 MB, free: 15.48 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00029/0.08191, allocations: 107.9 kB / 289.8 MB, free: 15.37 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002929/0.08483, allocations: 1.561 MB / 291.4 MB, free: 13.81 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01427/0.0991, allocations: 3.497 MB / 294.8 MB, free: 10.32 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04814/0.1472, allocations: 36.26 MB / 331.1 MB, free: 4.926 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02031/0.1675, allocations: 4.01 MB / 335.1 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001246/0.1688, allocations: 417.6 kB / 335.5 MB, free: 400 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005968/0.1748, allocations: 2.698 MB / 338.2 MB, free: 13.66 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.031e-05/0.1748, allocations: 57.59 kB / 338.3 MB, free: 13.59 MB / 330.7 MB Notification: Performance of pre-optimization done (n=111): time 4.459e-06/0.1748, allocations: 0 / 338.3 MB, free: 13.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=111): time 0.04296/0.2178, allocations: 7.615 MB / 345.9 MB, free: 5.969 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001551/0.2179, allocations: 195.9 kB / 346.1 MB, free: 5.734 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005823/0.2238, allocations: 3.502 MB / 349.6 MB, free: 2.207 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002548/0.224, allocations: 41.7 kB / 349.6 MB, free: 2.16 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1399/0.3639, allocations: 2.825 MB / 352.5 MB, free: 99.8 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008845/0.3648, allocations: 0.5597 MB / 353 MB, free: 99.65 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002009/0.3668, allocations: 1.369 MB / 354.4 MB, free: 99.51 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.3669, allocations: 0.5231 MB / 354.9 MB, free: 99.03 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001114/0.3681, allocations: 0.5497 MB / 355.5 MB, free: 99.02 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003272/0.3713, allocations: 6 MB / 361.5 MB, free: 92.11 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005123/0.3765, allocations: 7.201 MB / 368.7 MB, free: 84.69 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001446/0.3766, allocations: 36.34 kB / 368.7 MB, free: 84.69 MB / 330.7 MB Notification: Performance of matching and sorting (n=705) (initialization): time 0.007379/0.384, allocations: 4.624 MB / 373.3 MB, free: 83.17 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.865e-05/0.3841, allocations: 70.42 kB / 373.4 MB, free: 83.11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001191/0.3842, allocations: 128 kB / 373.5 MB, free: 82.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001367/0.3843, allocations: 168 kB / 373.7 MB, free: 82.82 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004456/0.3888, allocations: 1.447 MB / 375.1 MB, free: 81.58 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001416/0.3889, allocations: 251.8 kB / 375.4 MB, free: 81.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003193/0.3921, allocations: 0.7444 MB / 376.1 MB, free: 80.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003614/0.3925, allocations: 340 kB / 376.4 MB, free: 80.47 MB / 330.7 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.001164/0.3936, allocations: 0.6831 MB / 377.1 MB, free: 79.87 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003483/0.394, allocations: 266.2 kB / 377.4 MB, free: 79.61 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000856/0.3948, allocations: 497.6 kB / 377.9 MB, free: 79.18 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.938e-05/0.3948, allocations: 15.94 kB / 377.9 MB, free: 79.16 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.3949, allocations: 4 kB / 377.9 MB, free: 79.16 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/0.3949, allocations: 3.844 kB / 377.9 MB, free: 79.16 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004979/0.3998, allocations: 3.094 MB / 381 MB, free: 76.39 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/0.3999, allocations: 11.19 kB / 381 MB, free: 76.39 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002256/0.4021, allocations: 403.6 kB / 381.4 MB, free: 76.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.837e-06/0.4021, allocations: 4 kB / 381.4 MB, free: 76.08 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.39e-05/0.4022, allocations: 32.17 kB / 381.4 MB, free: 76.06 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.593e-06/0.4022, allocations: 4 kB / 381.4 MB, free: 76.05 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.4022, allocations: 4 kB / 381.4 MB, free: 76.05 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001867/0.4041, allocations: 1.856 MB / 383.3 MB, free: 74.23 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004605/0.4045, allocations: 218 kB / 383.5 MB, free: 74.04 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002346/0.4048, allocations: 28.45 kB / 383.5 MB, free: 74.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008025/0.4056, allocations: 39.3 kB / 383.6 MB, free: 73.99 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/0.4057, allocations: 60.61 kB / 383.6 MB, free: 73.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-05/0.4058, allocations: 30.02 kB / 383.7 MB, free: 73.93 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001702/0.4075, allocations: 1.342 MB / 385 MB, free: 72.73 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4075, allocations: 0 / 385 MB, free: 72.73 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003725/0.4112, allocations: 0.8605 MB / 385.9 MB, free: 71.92 MB / 330.7 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.0002763/0.4115, allocations: 165.6 kB / 386 MB, free: 71.75 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003825/0.4153, allocations: 2.511 MB / 388.5 MB, free: 69.26 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.4153, allocations: 4.125 kB / 388.5 MB, free: 69.26 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004926/0.4158, allocations: 343.6 kB / 388.9 MB, free: 68.92 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/0.4173, allocations: 237.6 kB / 389.1 MB, free: 68.7 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008302/0.4256, allocations: 5.576 MB / 394.7 MB, free: 63.08 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001598/0.4272, allocations: 1.645 MB / 396.3 MB, free: 61.41 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.00293/0.4301, allocations: 1.409 MB / 397.7 MB, free: 59.99 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003472/0.4305, allocations: 172.5 kB / 397.9 MB, free: 59.82 MB / 330.7 MB Notification: Performance of SimCode: time 1.853e-06/0.4305, allocations: 4 kB / 397.9 MB, free: 59.82 MB / 330.7 MB Notification: Performance of Templates: time 0.03239/0.4629, allocations: 15.16 MB / 413.1 MB, free: 44.75 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravityWithPointMasses/PointGravityWithPointMasses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.954968812991865]