Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001035/0.001036, allocations: 176.4 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 221.5 MB / 230.3 MB, free: 7.57 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008923/0.0008922, allocations: 91.61 kB / 281.2 MB, free: 5.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.726e-05/1.721e-05, allocations: 8 kB / 337 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1156, allocations: 50.42 MB / 387.5 MB, free: 7.566 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3821/0.4977, allocations: 89.12 MB / 476.6 MB, free: 5.723 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003036/0.4981, allocations: 87.94 kB / 476.7 MB, free: 5.637 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1324/0.6304, allocations: 52.31 MB / 0.5166 GB, free: 0.8516 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.6305, allocations: 0 / 0.5166 GB, free: 0.8516 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001068/0.6306, allocations: 52 kB / 0.5166 GB, free: 0.8008 MB / 394.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.007014/0.6376, allocations: 2.447 MB / 0.519 GB, free: 14.29 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.754e-05/0.6377, allocations: 16.02 kB / 0.519 GB, free: 14.28 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01061/0.6483, allocations: 1.958 MB / 0.5209 GB, free: 12.31 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005402/0.6538, allocations: 1.413 MB / 0.5223 GB, free: 10.86 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002324/0.654, allocations: 100 kB / 0.5224 GB, free: 10.76 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001388/0.6554, allocations: 183.9 kB / 0.5226 GB, free: 10.58 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01087/0.6663, allocations: 4.212 MB / 0.5267 GB, free: 6.359 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01978/0.6861, allocations: 6.935 MB / 0.5335 GB, free: 14.52 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003687/0.6866, allocations: 55.47 kB / 0.5335 GB, free: 14.47 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001693/0.6883, allocations: 24 kB / 0.5336 GB, free: 14.45 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002265/0.6906, allocations: 0.8055 MB / 0.5343 GB, free: 13.63 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3279/1.019, allocations: 35.99 MB / 0.5695 GB, free: 87.25 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00318/1.022, allocations: 1.967 MB / 0.5714 GB, free: 86.52 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001433/1.023, allocations: 0.8957 MB / 0.5723 GB, free: 86.46 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004007/1.024, allocations: 350 kB / 0.5726 GB, free: 86.18 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.391e-05/1.024, allocations: 52.86 kB / 0.5727 GB, free: 86.14 MB / 426.7 MB Notification: Performance of pre-optimization done (n=119): time 5.21e-06/1.024, allocations: 0 / 0.5727 GB, free: 86.14 MB / 426.7 MB Notification: Performance of matching and sorting (n=119): time 0.02358/1.047, allocations: 5.276 MB / 0.5778 GB, free: 85.94 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.003e-05/1.047, allocations: 218.3 kB / 0.578 GB, free: 85.69 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004511/1.052, allocations: 2.394 MB / 0.5804 GB, free: 85.4 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002709/1.052, allocations: 29.7 kB / 0.5804 GB, free: 85.37 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002018/1.054, allocations: 2.457 MB / 0.5828 GB, free: 84.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007883/1.055, allocations: 0.5095 MB / 0.5833 GB, free: 83.79 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001741/1.055, allocations: 1.562 kB / 0.5833 GB, free: 83.79 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004281/1.056, allocations: 0.5766 MB / 0.5839 GB, free: 83.46 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002688/1.058, allocations: 1.414 MB / 0.5852 GB, free: 83.45 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003419/1.062, allocations: 5.06 MB / 0.5902 GB, free: 78.67 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003281/1.065, allocations: 2.689 MB / 0.5928 GB, free: 78.17 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.515e-05/1.065, allocations: 39.12 kB / 0.5928 GB, free: 78.17 MB / 426.7 MB Notification: Performance of matching and sorting (n=732) (initialization): time 0.008548/1.074, allocations: 5.564 MB / 0.5983 GB, free: 76.34 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000107/1.074, allocations: 64.94 kB / 0.5983 GB, free: 76.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001405/1.074, allocations: 135 kB / 0.5985 GB, free: 76.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001676/1.074, allocations: 192.4 kB / 0.5987 GB, free: 76.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005186/1.079, allocations: 1.564 MB / 0.6002 GB, free: 76.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001622/1.08, allocations: 257.7 kB / 0.6004 GB, free: 76.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004471/1.084, allocations: 0.6399 MB / 0.601 GB, free: 75.74 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007526/1.085, allocations: 354.5 kB / 0.6014 GB, free: 75.7 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 601 * 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 (708): * Single equations (assignments): 705 * 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.0007385/1.086, allocations: 438.4 kB / 0.6018 GB, free: 75.33 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004589/1.086, allocations: 237.7 kB / 0.602 GB, free: 75.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001115/1.087, allocations: 0.707 MB / 0.6027 GB, free: 74.91 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.601e-05/1.087, allocations: 18.59 kB / 0.6027 GB, free: 74.91 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.755e-05/1.087, allocations: 9.219 kB / 0.6027 GB, free: 74.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.396e-05/1.087, allocations: 10.28 kB / 0.6028 GB, free: 74.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005592/1.093, allocations: 3.096 MB / 0.6058 GB, free: 73.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/1.093, allocations: 2.062 kB / 0.6058 GB, free: 73.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002093/1.095, allocations: 387.1 kB / 0.6062 GB, free: 73.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005611/1.096, allocations: 138.6 kB / 0.6063 GB, free: 73.58 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001018/1.096, allocations: 33.14 kB / 0.6063 GB, free: 73.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001675/1.097, allocations: 2.662 MB / 0.6089 GB, free: 71.05 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.834e-06/1.097, allocations: 7.578 kB / 0.6089 GB, free: 71.05 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002856/1.1, allocations: 2.689 MB / 0.6115 GB, free: 69.64 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007279/1.101, allocations: 291 kB / 0.6118 GB, free: 69.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002301/1.101, allocations: 14.88 kB / 0.6118 GB, free: 69.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008965/1.102, allocations: 38.47 kB / 0.6119 GB, free: 69.39 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/1.102, allocations: 63.75 kB / 0.6119 GB, free: 69.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.532e-05/1.102, allocations: 35.84 kB / 0.612 GB, free: 69.38 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002467/1.105, allocations: 1.545 MB / 0.6135 GB, free: 68.78 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/1.105, allocations: 0 / 0.6135 GB, free: 68.78 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004999/1.11, allocations: 0.7522 MB / 0.6142 GB, free: 68.66 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 24 (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],body2.r_0[1],body2.r_0[2],body2.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body1.r_0[1],body1.r_0[2],body1.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 87 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004725/1.11, allocations: 165.8 kB / 0.6144 GB, free: 68.55 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005124/1.116, allocations: 3.211 MB / 0.6175 GB, free: 67.49 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.144e-06/1.116, allocations: 3.969 kB / 0.6175 GB, free: 67.49 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001532/1.117, allocations: 0.8966 MB / 0.6184 GB, free: 67.07 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001508/1.119, allocations: 195.3 kB / 0.6186 GB, free: 66.97 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01148/1.13, allocations: 6.244 MB / 0.6247 GB, free: 62.82 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001964/1.132, allocations: 2.457 MB / 0.6271 GB, free: 60.89 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003947/1.136, allocations: 1.714 MB / 0.6287 GB, free: 59.84 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004513/1.137, allocations: 182.6 kB / 0.6289 GB, free: 59.66 MB / 426.7 MB Notification: Performance of SimCode: time 1.533e-06/1.137, allocations: 3.938 kB / 0.6289 GB, free: 59.66 MB / 426.7 MB Notification: Performance of Templates: time 0.0356/1.172, allocations: 19.19 MB / 0.6477 GB, free: 44.64 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravityWithPointMasses/PointGravityWithPointMasses.csv","../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches