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.001506/0.001506, allocations: 180.6 kB / 13.66 MB, free: 1.66 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.191/2.191, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001094/0.001094, allocations: 94.62 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.831e-05/2.849e-05, allocations: 4 kB / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09676/0.09681, allocations: 47.57 MB / 369.1 MB, free: 2.207 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4315/0.5284, allocations: 88.36 MB / 457.5 MB, free: 4.898 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003035/0.5287, allocations: 84.02 kB / 457.5 MB, free: 4.855 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2242/0.7529, allocations: 52.7 MB / 0.4983 GB, free: 1.582 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.753, allocations: 0 / 0.4983 GB, free: 1.582 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001436/0.7531, allocations: 56 kB / 0.4983 GB, free: 1.527 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.008335/0.7615, allocations: 2.459 MB / 0.5007 GB, free: 15.01 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.7616, allocations: 8.031 kB / 0.5007 GB, free: 15 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01545/0.777, allocations: 1.954 MB / 0.5026 GB, free: 13.04 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00537/0.7825, allocations: 1.415 MB / 0.504 GB, free: 11.58 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003252/0.7828, allocations: 233.8 kB / 0.5043 GB, free: 11.35 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001644/0.7845, allocations: 311.8 kB / 0.5045 GB, free: 11.04 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03514/0.8197, allocations: 8.953 MB / 0.5133 GB, free: 1.148 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002055/0.8199, allocations: 59.45 kB / 0.5133 GB, free: 1.09 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001054/0.821, allocations: 151.9 kB / 0.5135 GB, free: 0.9414 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002492/0.8235, allocations: 0.8085 MB / 0.5143 GB, free: 128 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03039/0.8539, allocations: 7.147 MB / 0.5213 GB, free: 8.973 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.335/1.189, allocations: 38.38 MB / 0.5587 GB, free: 77.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03904/1.228, allocations: 5.355 MB / 0.564 GB, free: 76.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00258/1.231, allocations: 0.9302 MB / 0.5649 GB, free: 76.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008036/1.239, allocations: 3.692 MB / 0.5685 GB, free: 74.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/1.239, allocations: 51.34 kB / 0.5685 GB, free: 74.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=111): time 5.35e-06/1.239, allocations: 2.906 kB / 0.5685 GB, free: 74.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=111): time 0.06881/1.308, allocations: 8.21 MB / 0.5766 GB, free: 74.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.45e-05/1.308, allocations: 198.3 kB / 0.5767 GB, free: 74.35 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005045/1.313, allocations: 2.677 MB / 0.5794 GB, free: 74.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002024/1.313, allocations: 42.95 kB / 0.5794 GB, free: 74 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001685/1.315, allocations: 2.437 MB / 0.5818 GB, free: 72.58 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006031/1.316, allocations: 0.4935 MB / 0.5823 GB, free: 72.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003213/1.316, allocations: 106.9 kB / 0.5824 GB, free: 72.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003209/1.316, allocations: 0.5374 MB / 0.5829 GB, free: 72 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003102/1.319, allocations: 1.459 MB / 0.5843 GB, free: 71.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00489/1.324, allocations: 5.005 MB / 0.5892 GB, free: 67.35 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00553/1.33, allocations: 2.721 MB / 0.5919 GB, free: 66.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.483e-05/1.33, allocations: 36.66 kB / 0.5919 GB, free: 66.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=705) (initialization): time 0.01424/1.344, allocations: 6.103 MB / 0.5978 GB, free: 64.72 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.481e-05/1.344, allocations: 60.47 kB / 0.5979 GB, free: 64.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001412/1.345, allocations: 127.4 kB / 0.598 GB, free: 64.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002154/1.345, allocations: 184.8 kB / 0.5982 GB, free: 64.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009581/1.354, allocations: 1.528 MB / 0.5997 GB, free: 64.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002322/1.355, allocations: 250.2 kB / 0.5999 GB, free: 64.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005916/1.361, allocations: 0.7529 MB / 0.6007 GB, free: 64.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008149/1.361, allocations: 341.5 kB / 0.601 GB, free: 63.99 MB / 410.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 () * 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.0009133/1.362, allocations: 0.5256 MB / 0.6015 GB, free: 63.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005229/1.363, allocations: 259 kB / 0.6018 GB, free: 63.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001678/1.365, allocations: 0.7342 MB / 0.6025 GB, free: 63.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.362e-05/1.365, allocations: 22.36 kB / 0.6025 GB, free: 63.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/1.365, allocations: 0 / 0.6025 GB, free: 63.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.499e-05/1.365, allocations: 5.812 kB / 0.6025 GB, free: 63.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00862/1.373, allocations: 3.232 MB / 0.6057 GB, free: 61.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.825e-05/1.373, allocations: 0 / 0.6057 GB, free: 61.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005003/1.378, allocations: 474.1 kB / 0.6061 GB, free: 61.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.117e-05/1.378, allocations: 6.781 kB / 0.6061 GB, free: 61.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002322/1.379, allocations: 40.89 kB / 0.6062 GB, free: 61.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.317e-06/1.379, allocations: 3.75 kB / 0.6062 GB, free: 61.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.379, allocations: 3.688 kB / 0.6062 GB, free: 61.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004431/1.383, allocations: 2.638 MB / 0.6087 GB, free: 60.03 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008395/1.384, allocations: 313.2 kB / 0.609 GB, free: 59.71 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005378/1.385, allocations: 31.38 kB / 0.6091 GB, free: 59.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001853/1.387, allocations: 47.56 kB / 0.6091 GB, free: 59.66 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002265/1.387, allocations: 65.45 kB / 0.6092 GB, free: 59.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001235/1.387, allocations: 31.56 kB / 0.6092 GB, free: 59.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004194/1.391, allocations: 1.805 MB / 0.611 GB, free: 57.98 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.222e-06/1.391, allocations: 4 kB / 0.611 GB, free: 57.98 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005503/1.397, allocations: 0.8404 MB / 0.6118 GB, free: 57.14 MB / 410.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 () * 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.0005105/1.397, allocations: 179 kB / 0.612 GB, free: 56.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007615/1.405, allocations: 3.362 MB / 0.6152 GB, free: 53.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/1.405, allocations: 0 / 0.6152 GB, free: 53.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001382/1.406, allocations: 0.6152 MB / 0.6158 GB, free: 53.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001872/1.408, allocations: 239.2 kB / 0.6161 GB, free: 53.14 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01698/1.425, allocations: 6.54 MB / 0.6225 GB, free: 47.47 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004379/1.43, allocations: 2.457 MB / 0.6249 GB, free: 45.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001249/1.431, allocations: 227.2 kB / 0.6251 GB, free: 45.33 MB / 410.7 MB Notification: Performance of SimCode: time 1.282e-06/1.431, allocations: 4 kB / 0.6251 GB, free: 45.32 MB / 410.7 MB Notification: Performance of Templates: time 0.0763/1.507, allocations: 39.59 MB / 0.6637 GB, free: 6.77 MB / 410.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