Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.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.PointGravity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|body2.frame_a.r_0.1.|body2.frame_a.r_0.2.|body2.frame_a.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body2.w_a.1.|body2.w_a.2.|body2.w_a.3.",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|body2.frame_a.r_0.1.|body2.frame_a.r_0.2.|body2.frame_a.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body2.w_a.1.|body2.w_a.2.|body2.w_a.3.",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001538/0.001538, allocations: 186.3 kB / 16.4 MB, free: 5.75 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/2, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001146/0.001146, allocations: 92.42 kB / 270.9 MB, free: 8.379 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004295/0.0004296, allocations: 8 kB / 327 MB, free: 208 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.3681, allocations: 47.57 MB / 374.5 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1483/0.5165, allocations: 87.24 MB / 461.8 MB, free: 9.5 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00034/0.5169, allocations: 87.95 kB / 461.9 MB, free: 9.414 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5336/1.05, allocations: 60.2 MB / 0.5098 GB, free: 94 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.477e-06/1.051, allocations: 0 / 0.5098 GB, free: 94 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001131/1.051, allocations: 50.59 kB / 0.5099 GB, free: 94 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: 911 * Number of variables: 911 Notification: Performance of Generate backend data structure: time 0.02737/1.078, allocations: 3.619 MB / 0.5134 GB, free: 92.67 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/1.078, allocations: 10.59 kB / 0.5134 GB, free: 92.67 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02043/1.099, allocations: 2.342 MB / 0.5157 GB, free: 92.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01867/1.117, allocations: 4.891 MB / 0.5205 GB, free: 91.2 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002781/1.118, allocations: 168.5 kB / 0.5207 GB, free: 91.19 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001681/1.119, allocations: 237.2 kB / 0.5209 GB, free: 91.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02786/1.147, allocations: 8.588 MB / 0.5293 GB, free: 84.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001595/1.147, allocations: 47.56 kB / 0.5293 GB, free: 84.22 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008238/1.148, allocations: 123.1 kB / 0.5294 GB, free: 84.12 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00163/1.15, allocations: 0.729 MB / 0.5301 GB, free: 83.4 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0307/1.181, allocations: 9.667 MB / 0.5396 GB, free: 73.74 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05194/1.233, allocations: 37.83 MB / 0.5765 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02036/1.253, allocations: 4.056 MB / 0.5805 GB, free: 30.63 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001883/1.253, allocations: 15.67 kB / 0.5805 GB, free: 30.62 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/1.253, allocations: 54.31 kB / 0.5806 GB, free: 30.56 MB / 378.7 MB Notification: Performance of pre-optimization done (n=122): time 4.649e-06/1.253, allocations: 0 / 0.5806 GB, free: 30.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=136): time 0.07994/1.333, allocations: 17.76 MB / 0.5979 GB, free: 12.46 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002462/1.336, allocations: 3.082 MB / 0.6009 GB, free: 9.059 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007029/1.343, allocations: 2.725 MB / 0.6036 GB, free: 6.32 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006809/1.344, allocations: 45.38 kB / 0.6036 GB, free: 6.273 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001816/1.345, allocations: 2.059 MB / 0.6056 GB, free: 4.223 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001228/1.347, allocations: 0.5614 MB / 0.6062 GB, free: 3.664 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008586/1.348, allocations: 95.2 kB / 0.6063 GB, free: 3.574 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000343/1.348, allocations: 0.5133 MB / 0.6068 GB, free: 3.051 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006693/1.355, allocations: 2.391 MB / 0.6091 GB, free: 0.6523 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0108/1.365, allocations: 5.288 MB / 0.6143 GB, free: 9.906 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01023/1.376, allocations: 3.447 MB / 0.6176 GB, free: 6.457 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001087/1.376, allocations: 32 kB / 0.6177 GB, free: 6.426 MB / 394.7 MB Notification: Performance of matching and sorting (n=630) (initialization): time 0.039/1.415, allocations: 9.369 MB / 0.6268 GB, free: 13.03 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001031/1.415, allocations: 48 kB / 0.6269 GB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02296/1.438, allocations: 4.68 MB / 0.6314 GB, free: 8.273 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01753/1.456, allocations: 2.351 MB / 0.6337 GB, free: 5.895 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008369/1.464, allocations: 1.166 MB / 0.6349 GB, free: 4.727 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01562/1.48, allocations: 8.284 MB / 0.6429 GB, free: 11.92 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008715/1.489, allocations: 0.5616 MB / 0.6435 GB, free: 11.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001601/1.49, allocations: 304.2 kB / 0.6438 GB, free: 11.06 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 469 * Number of states: 0 () * Number of discrete variables: 18 (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 (578): * Single equations (assignments): 563 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005139/1.495, allocations: 1.418 MB / 0.6452 GB, free: 9.633 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000962/1.496, allocations: 252.7 kB / 0.6454 GB, free: 9.383 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001839/1.498, allocations: 423.3 kB / 0.6458 GB, free: 8.965 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02265/1.521, allocations: 4.577 MB / 0.6503 GB, free: 4.352 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.561e-05/1.521, allocations: 11.33 kB / 0.6503 GB, free: 4.344 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.587e-05/1.521, allocations: 11.97 kB / 0.6503 GB, free: 4.332 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3045/1.826, allocations: 5.339 MB / 0.6555 GB, free: 124.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.527e-05/1.826, allocations: 3.906 kB / 0.6555 GB, free: 124.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004051/1.83, allocations: 276.7 kB / 0.6558 GB, free: 124.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01609/1.846, allocations: 2.368 MB / 0.6581 GB, free: 124.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007119/1.847, allocations: 55.33 kB / 0.6582 GB, free: 124.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01571/1.862, allocations: 8.991 MB / 0.6669 GB, free: 119.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00243/1.865, allocations: 2.909 MB / 0.6698 GB, free: 117.1 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02833/1.893, allocations: 8.147 MB / 0.6777 GB, free: 116.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001014/1.894, allocations: 338 kB / 0.6781 GB, free: 116.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00133/1.896, allocations: 31.97 kB / 0.6781 GB, free: 116.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004525/1.9, allocations: 267.4 kB / 0.6783 GB, free: 116.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009591/1.901, allocations: 103.7 kB / 0.6784 GB, free: 116.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000261/1.901, allocations: 50.95 kB / 0.6785 GB, free: 116.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005468/1.907, allocations: 1.917 MB / 0.6804 GB, free: 116.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.733e-06/1.907, allocations: 0 / 0.6804 GB, free: 116.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006245/1.913, allocations: 0.945 MB / 0.6813 GB, free: 116.2 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 24 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],body2.frame_a.r_0[1],body2.frame_a.r_0[2],body2.frame_a.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.w_a[1],body2.w_a[2],body2.w_a[3],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[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 (92): * Single equations (assignments): 81 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009767/1.914, allocations: 181.5 kB / 0.6815 GB, free: 116.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01866/1.933, allocations: 6.813 MB / 0.6881 GB, free: 113.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/1.933, allocations: 0 / 0.6881 GB, free: 113.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01027/1.943, allocations: 3.418 MB / 0.6914 GB, free: 112.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002728/1.946, allocations: 286.1 kB / 0.6917 GB, free: 112 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02473/1.971, allocations: 9.838 MB / 0.7013 GB, free: 107.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003495/1.974, allocations: 2.361 MB / 0.7036 GB, free: 106.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001868/1.976, allocations: 232.2 kB / 0.7039 GB, free: 106.4 MB / 426.7 MB Notification: Performance of SimCode: time 1.343e-06/1.976, allocations: 0 / 0.7039 GB, free: 106.4 MB / 426.7 MB Notification: Performance of Templates: time 0.4863/2.463, allocations: 132.8 MB / 0.8335 GB, free: 119.5 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravity/PointGravity.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches