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/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_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_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.001471/0.001471, allocations: 183.4 kB / 18.04 MB, free: 3.535 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.459/1.459, allocations: 205.4 MB / 224.2 MB, free: 9.016 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.0007881/0.0007881, allocations: 96.92 kB / 272.5 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003585/0.0003586, allocations: 12 kB / 329.5 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2318/0.2322, allocations: 47.57 MB / 377 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1089/0.3411, allocations: 88.56 MB / 465.6 MB, free: 7.965 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002784/0.3414, allocations: 87.95 kB / 465.7 MB, free: 7.879 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2888/0.6302, allocations: 52.2 MB / 0.5057 GB, free: 93.64 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.996e-06/0.6303, allocations: 2.5 kB / 0.5057 GB, free: 93.64 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001217/0.6304, allocations: 49.84 kB / 0.5058 GB, free: 93.64 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.006183/0.6366, allocations: 2.498 MB / 0.5082 GB, free: 92.31 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.6366, allocations: 7.344 kB / 0.5082 GB, free: 92.31 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007632/0.6443, allocations: 1.962 MB / 0.5101 GB, free: 92.12 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002943/0.6472, allocations: 1.435 MB / 0.5115 GB, free: 91.71 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001736/0.6474, allocations: 229.7 kB / 0.5118 GB, free: 91.71 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009249/0.6484, allocations: 312.2 kB / 0.5121 GB, free: 91.7 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01618/0.6646, allocations: 8.978 MB / 0.5208 GB, free: 88.83 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001199/0.6647, allocations: 54.22 kB / 0.5209 GB, free: 88.8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003831/0.6651, allocations: 155.1 kB / 0.521 GB, free: 88.72 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001016/0.6661, allocations: 0.8082 MB / 0.5218 GB, free: 88.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01459/0.6807, allocations: 7.175 MB / 0.5288 GB, free: 85.96 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02912/0.7099, allocations: 38.37 MB / 0.5663 GB, free: 46.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01683/0.7268, allocations: 5.352 MB / 0.5715 GB, free: 40.99 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001233/0.7281, allocations: 0.9474 MB / 0.5724 GB, free: 40.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004482/0.7325, allocations: 3.691 MB / 0.5761 GB, free: 36.2 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.698e-05/0.7326, allocations: 51.02 kB / 0.5761 GB, free: 36.14 MB / 378.7 MB Notification: Performance of pre-optimization done (n=111): time 4.648e-06/0.7326, allocations: 0 / 0.5761 GB, free: 36.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=111): time 0.03392/0.7666, allocations: 9.756 MB / 0.5856 GB, free: 26.29 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.413e-05/0.7667, allocations: 203.8 kB / 0.5858 GB, free: 26.05 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003805/0.7705, allocations: 3.02 MB / 0.5888 GB, free: 23.01 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001584/0.7706, allocations: 41.61 kB / 0.5888 GB, free: 22.97 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001053/0.7717, allocations: 2.432 MB / 0.5912 GB, free: 20.54 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000422/0.7721, allocations: 0.4889 MB / 0.5917 GB, free: 20.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001626/0.7723, allocations: 108 kB / 0.5918 GB, free: 19.95 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002192/0.7725, allocations: 0.5294 MB / 0.5923 GB, free: 19.41 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001802/0.7743, allocations: 1.502 MB / 0.5937 GB, free: 17.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002754/0.7771, allocations: 5.052 MB / 0.5987 GB, free: 11.05 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00605/0.7832, allocations: 7.129 MB / 0.6056 GB, free: 2.137 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.978e-05/0.7833, allocations: 36 kB / 0.6057 GB, free: 2.102 MB / 378.7 MB Notification: Performance of matching and sorting (n=705) (initialization): time 0.01009/0.7934, allocations: 6.22 MB / 0.6118 GB, free: 11.88 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.213e-05/0.7935, allocations: 64 kB / 0.6118 GB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001299/0.7936, allocations: 124 kB / 0.6119 GB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001546/0.7938, allocations: 168.1 kB / 0.6121 GB, free: 11.53 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005034/0.7988, allocations: 1.525 MB / 0.6136 GB, free: 10 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000189/0.799, allocations: 251 kB / 0.6138 GB, free: 9.758 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003431/0.8025, allocations: 0.7538 MB / 0.6146 GB, free: 8.996 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004707/0.803, allocations: 350.8 kB / 0.6149 GB, free: 8.66 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.002256/0.8052, allocations: 1.579 MB / 0.6164 GB, free: 7.066 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000412/0.8056, allocations: 248.7 kB / 0.6167 GB, free: 6.82 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001169/0.8068, allocations: 0.7464 MB / 0.6174 GB, free: 6.07 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-05/0.8069, allocations: 16 kB / 0.6174 GB, free: 6.055 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.8069, allocations: 3.984 kB / 0.6174 GB, free: 6.051 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.8069, allocations: 11.98 kB / 0.6174 GB, free: 6.039 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00542/0.8123, allocations: 3.23 MB / 0.6206 GB, free: 2.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.8123, allocations: 0 / 0.6206 GB, free: 2.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002412/0.8148, allocations: 475.4 kB / 0.621 GB, free: 2.305 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.157e-06/0.8148, allocations: 4 kB / 0.621 GB, free: 2.301 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-05/0.8149, allocations: 43.91 kB / 0.6211 GB, free: 2.262 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.464e-06/0.8149, allocations: 4 kB / 0.6211 GB, free: 2.258 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.8149, allocations: 3.938 kB / 0.6211 GB, free: 2.254 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002927/0.8178, allocations: 2.564 MB / 0.6236 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005458/0.8184, allocations: 309.5 kB / 0.6239 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002316/0.8186, allocations: 31.98 kB / 0.6239 GB, free: 15.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008961/0.8195, allocations: 47.94 kB / 0.624 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/0.8197, allocations: 59.8 kB / 0.624 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.459e-05/0.8198, allocations: 35.98 kB / 0.6241 GB, free: 15.17 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002644/0.8224, allocations: 1.829 MB / 0.6258 GB, free: 13.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.8224, allocations: 0 / 0.6258 GB, free: 13.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003935/0.8264, allocations: 0.8446 MB / 0.6267 GB, free: 12.5 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 () * 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.0003956/0.8268, allocations: 174.1 kB / 0.6268 GB, free: 12.32 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005664/0.8324, allocations: 3.42 MB / 0.6302 GB, free: 8.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.8325, allocations: 0 / 0.6302 GB, free: 8.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008197/0.8333, allocations: 0.6205 MB / 0.6308 GB, free: 8.309 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00196/0.8353, allocations: 253.8 kB / 0.631 GB, free: 8.066 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01204/0.8473, allocations: 8.495 MB / 0.6393 GB, free: 15.62 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002364/0.8497, allocations: 2.387 MB / 0.6416 GB, free: 13.21 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003988/0.8537, allocations: 1.645 MB / 0.6433 GB, free: 11.55 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004225/0.8542, allocations: 183.4 kB / 0.6434 GB, free: 11.38 MB / 426.7 MB Notification: Performance of SimCode: time 6.41e-07/0.8542, allocations: 0 / 0.6434 GB, free: 11.38 MB / 426.7 MB Notification: Performance of Templates: time 0.248/1.102, allocations: 20.43 MB / 0.6634 GB, free: 124.2 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.makefile (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) 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","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches