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.001381/0.001381, allocations: 120.2 kB / 21.94 MB, free: 8 kB / 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.001505/0.001505, allocations: 204.7 kB / 25.23 MB, free: 3.551 MB / 14.72 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.466/1.466, allocations: 207.6 MB / 236 MB, free: 9.988 MB / 190.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 51.92 kB / 348.5 MB, free: 9.598 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2758, allocations: 49.17 MB / 397.6 MB, free: 9.465 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses): time 0.008977/0.2848, allocations: 8.008 MB / 405.6 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006268/0.291, allocations: 2.59 MB / 408.2 MB, free: 2.098 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001794/0.2928, allocations: 43.94 kB / 408.3 MB, free: 2.086 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003384/0.2962, allocations: 1.444 MB / 409.7 MB, free: 1.441 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003851/0.3001, allocations: 1.029 MB / 410.7 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001425/0.3015, allocations: 269.5 kB / 411 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005986/0.3075, allocations: 2.188 MB / 413.2 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003501/0.311, allocations: 1.352 MB / 414.5 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002934/0.3139, allocations: 0.8548 MB / 415.4 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003387/0.3173, allocations: 1.302 MB / 416.7 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001214/0.3185, allocations: 159.7 kB / 416.8 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002877/0.3214, allocations: 0.6805 MB / 417.5 MB, free: 13.19 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002487/0.3239, allocations: 1.189 MB / 418.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004237/0.3281, allocations: 1.379 MB / 420.1 MB, free: 11.47 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009494/0.3376, allocations: 4.325 MB / 424.4 MB, free: 8.488 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3376, allocations: 0 / 424.4 MB, free: 8.488 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3376, allocations: 0 / 424.4 MB, free: 8.488 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001995/0.3378, allocations: 0 / 424.4 MB, free: 8.488 MB / 334.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.008026/0.3458, allocations: 2.962 MB / 427.4 MB, free: 5.477 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.687e-05/0.3459, allocations: 11.98 kB / 427.4 MB, free: 5.465 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007079/0.353, allocations: 1.8 MB / 429.2 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003514/0.3565, allocations: 1.101 MB / 430.3 MB, free: 2.531 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002109/0.3567, allocations: 155.8 kB / 430.5 MB, free: 2.379 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009724/0.3577, allocations: 207.8 kB / 430.7 MB, free: 2.176 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0253/0.383, allocations: 8.6 MB / 439.3 MB, free: 8.973 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002268/0.3832, allocations: 39.64 kB / 439.3 MB, free: 8.934 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001063/0.3843, allocations: 99.88 kB / 439.4 MB, free: 8.836 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003572/0.3879, allocations: 1.667 MB / 441.1 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02084/0.4087, allocations: 7.174 MB / 448.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04339/0.4521, allocations: 30.06 MB / 478.3 MB, free: 1.039 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02272/0.4748, allocations: 4.515 MB / 482.8 MB, free: 12.46 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001868/0.4767, allocations: 1.197 MB / 484 MB, free: 11.24 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006395/0.4831, allocations: 3.294 MB / 487.3 MB, free: 7.914 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.249e-05/0.4831, allocations: 42.89 kB / 487.3 MB, free: 7.863 MB / 398.1 MB Notification: Performance of pre-optimization done (n=111): time 3.867e-06/0.4831, allocations: 0 / 487.3 MB, free: 7.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=111): time 0.04483/0.528, allocations: 8.961 MB / 496.3 MB, free: 14.89 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001301/0.5281, allocations: 207.8 kB / 496.5 MB, free: 14.64 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006326/0.5344, allocations: 3.044 MB / 499.5 MB, free: 11.58 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002733/0.5347, allocations: 42.73 kB / 499.6 MB, free: 11.53 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002453/0.5372, allocations: 2.531 MB / 0.4903 GB, free: 8.973 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009559/0.5381, allocations: 0.5158 MB / 0.4908 GB, free: 8.453 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002442/0.5406, allocations: 1.092 MB / 0.4919 GB, free: 7.352 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.5407, allocations: 305.1 kB / 0.4922 GB, free: 7.051 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003161/0.5439, allocations: 1.603 MB / 0.4938 GB, free: 5.441 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007115/0.551, allocations: 5.165 MB / 0.4988 GB, free: 14.47 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01032/0.5613, allocations: 7.338 MB / 0.506 GB, free: 5.348 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001684/0.5615, allocations: 40 kB / 0.506 GB, free: 5.309 MB / 430.1 MB Notification: Performance of matching and sorting (n=705) (initialization): time 0.01433/0.5758, allocations: 6.455 MB / 0.5123 GB, free: 14.85 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001756/0.576, allocations: 60 kB / 0.5124 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002788/0.5763, allocations: 128 kB / 0.5125 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000231/0.5765, allocations: 168 kB / 0.5127 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005542/0.582, allocations: 1.454 MB / 0.5141 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002756/0.5823, allocations: 243.1 kB / 0.5143 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00447/0.5868, allocations: 0.7678 MB / 0.5151 GB, free: 12.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000963/0.5877, allocations: 344 kB / 0.5154 GB, free: 11.7 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.003674/0.5914, allocations: 1.575 MB / 0.5169 GB, free: 10.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007746/0.5922, allocations: 262.2 kB / 0.5172 GB, free: 9.848 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001945/0.5941, allocations: 0.8292 MB / 0.518 GB, free: 9.012 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.02e-05/0.5942, allocations: 19.94 kB / 0.518 GB, free: 8.992 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/0.5942, allocations: 0 / 0.518 GB, free: 8.992 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-05/0.5942, allocations: 3.984 kB / 0.518 GB, free: 8.988 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008256/0.6025, allocations: 3.384 MB / 0.5213 GB, free: 5.551 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/0.6025, allocations: 0 / 0.5213 GB, free: 5.551 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002353/0.6048, allocations: 407.5 kB / 0.5217 GB, free: 5.152 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.028e-05/0.6048, allocations: 8 kB / 0.5217 GB, free: 5.145 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001446/0.605, allocations: 31.97 kB / 0.5217 GB, free: 5.113 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.174e-05/0.605, allocations: 7.938 kB / 0.5218 GB, free: 5.105 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.605, allocations: 4 kB / 0.5218 GB, free: 5.102 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003889/0.6089, allocations: 2.802 MB / 0.5245 GB, free: 2.273 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008877/0.6098, allocations: 234 kB / 0.5247 GB, free: 2.043 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005828/0.6104, allocations: 35.98 kB / 0.5248 GB, free: 2.008 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001234/0.6116, allocations: 39.95 kB / 0.5248 GB, free: 1.969 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001491/0.6118, allocations: 59.89 kB / 0.5248 GB, free: 1.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.639e-05/0.6118, allocations: 35.97 kB / 0.5249 GB, free: 1.875 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004142/0.616, allocations: 1.841 MB / 0.5267 GB, free: 32 kB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.616, allocations: 0 / 0.5267 GB, free: 32 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.005906/0.6219, allocations: 0.8344 MB / 0.5275 GB, free: 15.19 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.0005365/0.6224, allocations: 171 kB / 0.5277 GB, free: 15.02 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006619/0.6291, allocations: 3.483 MB / 0.5311 GB, free: 11.56 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.6291, allocations: 0 / 0.5311 GB, free: 11.56 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001016/0.6301, allocations: 0.6741 MB / 0.5317 GB, free: 10.89 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002105/0.6322, allocations: 266 kB / 0.532 GB, free: 10.62 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01645/0.6486, allocations: 7.5 MB / 0.5393 GB, free: 3.066 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004054/0.6527, allocations: 2.391 MB / 0.5416 GB, free: 0.6484 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009716/0.6537, allocations: 231.4 kB / 0.5418 GB, free: 432 kB / 462.1 MB Notification: Performance of SimCode: time 1.913e-06/0.6537, allocations: 4 kB / 0.5419 GB, free: 428 kB / 462.1 MB Notification: Performance of Templates: time 0.3657/1.019, allocations: 41.3 MB / 0.5822 GB, free: 137.4 MB / 478.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravityWithPointMasses/PointGravityWithPointMasses.csv","/var/lib/jenkins1/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: 11.938261846778914]