Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001442/0.001442, allocations: 186.2 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.955/1.955, allocations: 205.4 MB / 222.5 MB, free: 9.145 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001147/0.001147, allocations: 91.44 kB / 270.9 MB, free: 8.395 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004447/0.0004448, allocations: 8 kB / 327 MB, free: 224 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3553, allocations: 47.56 MB / 374.5 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1484/0.5038, allocations: 88.45 MB / 463 MB, free: 8.312 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003132/0.5041, allocations: 99.94 kB / 463.1 MB, free: 8.215 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5149/1.019, allocations: 52.62 MB / 0.5036 GB, free: 93.33 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.318e-06/1.019, allocations: 2.344 kB / 0.5036 GB, free: 93.33 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.992e-05/1.019, allocations: 53.72 kB / 0.5037 GB, free: 93.33 MB / 378.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.007097/1.026, allocations: 2.531 MB / 0.5061 GB, free: 92.01 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/1.026, allocations: 10.72 kB / 0.5062 GB, free: 92.01 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01464/1.041, allocations: 1.958 MB / 0.5081 GB, free: 91.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004645/1.046, allocations: 1.416 MB / 0.5094 GB, free: 91.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001856/1.046, allocations: 229.9 kB / 0.5097 GB, free: 91.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009437/1.047, allocations: 315.2 kB / 0.51 GB, free: 91.42 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02953/1.077, allocations: 9.02 MB / 0.5188 GB, free: 88.51 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001906/1.077, allocations: 57.5 kB / 0.5188 GB, free: 88.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006783/1.077, allocations: 149.8 kB / 0.519 GB, free: 88.4 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001997/1.079, allocations: 0.8051 MB / 0.5198 GB, free: 88.26 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02839/1.108, allocations: 7.253 MB / 0.5268 GB, free: 85.9 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0481/1.156, allocations: 38.39 MB / 0.5643 GB, free: 46.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03766/1.194, allocations: 5.361 MB / 0.5696 GB, free: 40.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007276/1.201, allocations: 3.708 MB / 0.5732 GB, free: 37.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/1.201, allocations: 50.92 kB / 0.5732 GB, free: 37.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=111): time 5.5e-06/1.201, allocations: 0 / 0.5732 GB, free: 37.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=111): time 0.07875/1.28, allocations: 10.03 MB / 0.583 GB, free: 26.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.934e-05/1.28, allocations: 187.9 kB / 0.5832 GB, free: 26.62 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005549/1.286, allocations: 2.709 MB / 0.5859 GB, free: 23.89 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002453/1.286, allocations: 45.64 kB / 0.5859 GB, free: 23.84 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001842/1.288, allocations: 2.437 MB / 0.5883 GB, free: 21.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007542/1.289, allocations: 0.4922 MB / 0.5888 GB, free: 20.93 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004633/1.289, allocations: 104 kB / 0.5889 GB, free: 20.82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003359/1.289, allocations: 0.5419 MB / 0.5894 GB, free: 20.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003468/1.293, allocations: 1.498 MB / 0.5909 GB, free: 18.77 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005639/1.299, allocations: 5.036 MB / 0.5958 GB, free: 11.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005983/1.305, allocations: 2.705 MB / 0.5984 GB, free: 9.223 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001059/1.305, allocations: 44 kB / 0.5985 GB, free: 9.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=705) (initialization): time 0.01598/1.321, allocations: 6.172 MB / 0.6045 GB, free: 3.004 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.317e-05/1.321, allocations: 60.19 kB / 0.6045 GB, free: 2.945 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001503/1.321, allocations: 124 kB / 0.6047 GB, free: 2.824 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001819/1.321, allocations: 191.9 kB / 0.6048 GB, free: 2.637 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009479/1.331, allocations: 1.517 MB / 0.6063 GB, free: 1.117 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002119/1.331, allocations: 247 kB / 0.6066 GB, free: 0.875 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005264/1.336, allocations: 0.7568 MB / 0.6073 GB, free: 116 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001037/1.337, allocations: 344 kB / 0.6076 GB, free: 15.77 MB / 394.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004366/1.342, allocations: 1.579 MB / 0.6092 GB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006824/1.342, allocations: 248.7 kB / 0.6094 GB, free: 13.94 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002334/1.345, allocations: 0.7542 MB / 0.6101 GB, free: 13.18 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.768e-05/1.345, allocations: 12 kB / 0.6102 GB, free: 13.17 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.35e-05/1.345, allocations: 4 kB / 0.6102 GB, free: 13.16 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.471e-05/1.345, allocations: 3.984 kB / 0.6102 GB, free: 13.16 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009783/1.355, allocations: 3.235 MB / 0.6133 GB, free: 9.887 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.888e-05/1.355, allocations: 7.891 kB / 0.6133 GB, free: 9.883 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005187/1.36, allocations: 475.4 kB / 0.6138 GB, free: 9.418 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.749e-05/1.36, allocations: 4 kB / 0.6138 GB, free: 9.414 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001838/1.36, allocations: 39.91 kB / 0.6138 GB, free: 9.379 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.951e-05/1.36, allocations: 8 kB / 0.6138 GB, free: 9.371 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/1.36, allocations: 0 / 0.6138 GB, free: 9.371 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005487/1.366, allocations: 2.662 MB / 0.6164 GB, free: 6.637 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008395/1.367, allocations: 313.5 kB / 0.6167 GB, free: 6.309 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004353/1.367, allocations: 31.97 kB / 0.6168 GB, free: 6.277 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001582/1.369, allocations: 47.95 kB / 0.6168 GB, free: 6.23 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002054/1.369, allocations: 63.8 kB / 0.6169 GB, free: 6.168 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001245/1.369, allocations: 35.98 kB / 0.6169 GB, free: 6.133 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.004642/1.374, allocations: 1.829 MB / 0.6187 GB, free: 4.301 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.91e-07/1.374, allocations: 0 / 0.6187 GB, free: 4.301 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005732/1.38, allocations: 0.8503 MB / 0.6195 GB, free: 3.449 MB / 394.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006339/1.38, allocations: 166.4 kB / 0.6197 GB, free: 3.281 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.009139/1.389, allocations: 3.41 MB / 0.623 GB, free: 15.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/1.389, allocations: 0 / 0.623 GB, free: 15.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001607/1.391, allocations: 0.6361 MB / 0.6236 GB, free: 15.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001915/1.393, allocations: 233.6 kB / 0.6238 GB, free: 15.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02195/1.415, allocations: 8.777 MB / 0.6324 GB, free: 6.328 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00564/1.421, allocations: 2.453 MB / 0.6348 GB, free: 3.844 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001272/1.422, allocations: 235.4 kB / 0.635 GB, free: 3.613 MB / 410.7 MB Notification: Performance of SimCode: time 1.028e-05/1.422, allocations: 0 / 0.635 GB, free: 3.613 MB / 410.7 MB Notification: Performance of Templates: time 0.3826/1.805, allocations: 39.6 MB / 0.6737 GB, free: 112.8 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches