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.001673/0.001673, allocations: 102.5 kB / 21.93 MB, free: 5.203 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.001971/0.001971, allocations: 202.2 kB / 25.22 MB, free: 3.141 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.588/1.588, allocations: 207.7 MB / 236.1 MB, free: 9.777 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.0019/0.0019, allocations: 59.92 kB / 348.4 MB, free: 9.375 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3524/0.3543, allocations: 49.16 MB / 397.6 MB, free: 9.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses): time 0.009292/0.3636, allocations: 7.04 MB / 404.6 MB, free: 4.824 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006684/0.3703, allocations: 2.441 MB / 407.1 MB, free: 3.266 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001587/0.3719, allocations: 43.59 kB / 407.1 MB, free: 3.254 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003111/0.375, allocations: 1.394 MB / 408.5 MB, free: 2.664 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003495/0.3785, allocations: 1.023 MB / 409.5 MB, free: 2.168 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009994/0.3795, allocations: 267.2 kB / 409.8 MB, free: 2.031 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004049/0.3835, allocations: 2.184 MB / 412 MB, free: 0.918 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00175/0.3853, allocations: 1.348 MB / 413.3 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00189/0.3872, allocations: 0.8535 MB / 414.2 MB, free: 15.49 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002571/0.3897, allocations: 1.251 MB / 415.4 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006061/0.3903, allocations: 159.7 kB / 415.6 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001872/0.3922, allocations: 0.56 MB / 416.2 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001526/0.3937, allocations: 1.193 MB / 417.4 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001552/0.3953, allocations: 0.9907 MB / 418.3 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007078/0.4024, allocations: 4.34 MB / 422.7 MB, free: 10.07 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.042e-05/0.4024, allocations: 0 / 422.7 MB, free: 10.07 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.597e-06/0.4024, allocations: 4 kB / 422.7 MB, free: 10.06 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002297/0.4026, allocations: 0 / 422.7 MB, free: 10.06 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.008413/0.411, allocations: 2.954 MB / 425.6 MB, free: 7.059 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.741e-05/0.4111, allocations: 11.98 kB / 425.7 MB, free: 7.047 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007225/0.4183, allocations: 1.8 MB / 427.5 MB, free: 5.242 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003608/0.4219, allocations: 1.121 MB / 428.6 MB, free: 4.094 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001423/0.4221, allocations: 155.8 kB / 428.7 MB, free: 3.941 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005786/0.4226, allocations: 207.8 kB / 428.9 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02139/0.444, allocations: 8.621 MB / 437.5 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001203/0.4441, allocations: 35.7 kB / 437.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003427/0.4445, allocations: 111.9 kB / 437.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003325/0.4478, allocations: 1.663 MB / 439.4 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02013/0.4679, allocations: 7.162 MB / 446.5 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04142/0.5094, allocations: 28.52 MB / 475 MB, free: 4.129 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02236/0.5317, allocations: 4.518 MB / 479.6 MB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002029/0.5338, allocations: 1.193 MB / 480.8 MB, free: 14.33 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006307/0.5401, allocations: 3.057 MB / 483.8 MB, free: 11.24 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.603e-05/0.5401, allocations: 54.77 kB / 483.9 MB, free: 11.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=111): time 4.428e-06/0.5401, allocations: 0 / 483.9 MB, free: 11.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=111): time 0.04581/0.5859, allocations: 8.955 MB / 492.8 MB, free: 2.207 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001424/0.5861, allocations: 195.8 kB / 493 MB, free: 1.973 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004843/0.5909, allocations: 2.97 MB / 496 MB, free: 14.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002514/0.5912, allocations: 37.7 kB / 496 MB, free: 14.94 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002163/0.5933, allocations: 2.558 MB / 498.6 MB, free: 12.35 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007112/0.594, allocations: 0.5119 MB / 499.1 MB, free: 11.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001594/0.5956, allocations: 1.092 MB / 0.4885 GB, free: 10.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000181/0.5958, allocations: 341.9 kB / 0.4888 GB, free: 10.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002528/0.5983, allocations: 1.603 MB / 0.4903 GB, free: 8.785 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00593/0.6043, allocations: 5.169 MB / 0.4954 GB, free: 1.812 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01032/0.6146, allocations: 7.33 MB / 0.5026 GB, free: 8.695 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001402/0.6147, allocations: 36 kB / 0.5026 GB, free: 8.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=705) (initialization): time 0.01262/0.6274, allocations: 6.428 MB / 0.5089 GB, free: 2.227 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001034/0.6275, allocations: 60 kB / 0.5089 GB, free: 2.168 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001841/0.6276, allocations: 128.9 kB / 0.509 GB, free: 2.043 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001914/0.6278, allocations: 164 kB / 0.5092 GB, free: 1.883 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005215/0.6331, allocations: 1.462 MB / 0.5106 GB, free: 428 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002221/0.6333, allocations: 251 kB / 0.5109 GB, free: 176 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004317/0.6376, allocations: 0.737 MB / 0.5116 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008226/0.6384, allocations: 344 kB / 0.5119 GB, free: 15.09 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.003125/0.6415, allocations: 1.575 MB / 0.5135 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005018/0.642, allocations: 238.4 kB / 0.5137 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001373/0.6434, allocations: 0.8149 MB / 0.5145 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.793e-05/0.6434, allocations: 12 kB / 0.5145 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/0.6435, allocations: 3.75 kB / 0.5145 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.6435, allocations: 7.984 kB / 0.5145 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005781/0.6492, allocations: 2.733 MB / 0.5172 GB, free: 9.648 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/0.6493, allocations: 0 / 0.5172 GB, free: 9.648 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00229/0.6515, allocations: 411.4 kB / 0.5176 GB, free: 9.246 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.869e-05/0.6516, allocations: 11.94 kB / 0.5176 GB, free: 9.234 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-05/0.6517, allocations: 31.97 kB / 0.5176 GB, free: 9.203 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.366e-06/0.6517, allocations: 8 kB / 0.5176 GB, free: 9.195 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.004e-06/0.6517, allocations: 7.938 kB / 0.5176 GB, free: 9.188 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003626/0.6553, allocations: 2.77 MB / 0.5203 GB, free: 6.398 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005937/0.6559, allocations: 214.2 kB / 0.5205 GB, free: 6.188 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002355/0.6561, allocations: 27.98 kB / 0.5206 GB, free: 6.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008268/0.657, allocations: 43.95 kB / 0.5206 GB, free: 6.117 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/0.6571, allocations: 59.88 kB / 0.5207 GB, free: 6.059 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.241e-05/0.6572, allocations: 35.97 kB / 0.5207 GB, free: 6.023 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002687/0.6599, allocations: 1.643 MB / 0.5223 GB, free: 4.371 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6599, allocations: 0 / 0.5223 GB, free: 4.371 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004874/0.6647, allocations: 0.8653 MB / 0.5231 GB, free: 3.504 MB / 446.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.0004544/0.6652, allocations: 159 kB / 0.5233 GB, free: 3.336 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006278/0.6715, allocations: 3.488 MB / 0.5267 GB, free: 15.87 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.6715, allocations: 0 / 0.5267 GB, free: 15.87 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000966/0.6725, allocations: 0.6761 MB / 0.5274 GB, free: 15.2 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001644/0.6741, allocations: 218.3 kB / 0.5276 GB, free: 14.98 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01443/0.6885, allocations: 7.461 MB / 0.5348 GB, free: 7.461 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002692/0.6912, allocations: 1.829 MB / 0.5366 GB, free: 5.602 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008468/0.6921, allocations: 227.4 kB / 0.5369 GB, free: 5.379 MB / 462.1 MB Notification: Performance of SimCode: time 1.452e-06/0.6921, allocations: 0 / 0.5369 GB, free: 5.379 MB / 462.1 MB Notification: Performance of Templates: time 0.3147/1.007, allocations: 41.17 MB / 0.5771 GB, free: 137.9 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.744839776307344]