Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 104.3 kB / 17.16 MB, free: 6.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 190 kB / 18.07 MB, free: 5.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.491/1.491, allocations: 205.1 MB / 223.9 MB, free: 12.39 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 47.92 kB / 280 MB, free: 3.562 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1131, allocations: 46.62 MB / 326.6 MB, free: 4.867 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.01519/0.1284, allocations: 13.96 MB / 340.6 MB, free: 6.836 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009593/0.138, allocations: 4.297 MB / 344.9 MB, free: 2.527 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0026/0.1407, allocations: 55.88 kB / 344.9 MB, free: 2.473 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001707/0.1425, allocations: 0.6385 MB / 345.6 MB, free: 1.832 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003349/0.1458, allocations: 1.301 MB / 346.9 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009966/0.1468, allocations: 467.3 kB / 347.3 MB, free: 72 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004696/0.1516, allocations: 4.154 MB / 351.5 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009295/0.1525, allocations: 431.1 kB / 351.9 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001186/0.1537, allocations: 0.6885 MB / 352.6 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001693/0.1554, allocations: 1.316 MB / 353.9 MB, free: 9.461 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002405/0.1557, allocations: 84 kB / 354 MB, free: 9.379 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001683/0.1574, allocations: 0.9554 MB / 354.9 MB, free: 8.422 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009785/0.1583, allocations: 1.071 MB / 356 MB, free: 7.348 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001134/0.1595, allocations: 1.195 MB / 357.2 MB, free: 6.145 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004016/0.1635, allocations: 3.843 MB / 361 MB, free: 2.289 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1635, allocations: 0 / 361 MB, free: 2.289 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1636, allocations: 0 / 361 MB, free: 2.289 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.136e-05/0.1636, allocations: 0 / 361 MB, free: 2.289 MB / 302.1 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.006152/0.1698, allocations: 3.213 MB / 364.3 MB, free: 15.02 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/0.1698, allocations: 8.031 kB / 364.3 MB, free: 15.01 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007614/0.1775, allocations: 1.889 MB / 366.2 MB, free: 13.11 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003295/0.1808, allocations: 1.73 MB / 367.9 MB, free: 11.34 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/0.1809, allocations: 114.6 kB / 368 MB, free: 11.23 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008481/0.1818, allocations: 303.5 kB / 368.3 MB, free: 10.93 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01636/0.1981, allocations: 8.219 MB / 376.5 MB, free: 2.145 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.388e-05/0.1982, allocations: 39.69 kB / 376.6 MB, free: 2.105 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003024/0.1986, allocations: 79.89 kB / 376.6 MB, free: 2.027 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002048/0.2006, allocations: 1.397 MB / 378 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2317/0.4324, allocations: 9.534 MB / 387.6 MB, free: 48.44 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03361/0.466, allocations: 30.61 MB / 418.2 MB, free: 22.8 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01009/0.4761, allocations: 4.387 MB / 422.6 MB, free: 18.25 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002196/0.4784, allocations: 2.109 MB / 424.7 MB, free: 16.13 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.315e-05/0.4785, allocations: 28.64 kB / 424.7 MB, free: 16.11 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.4785, allocations: 42.56 kB / 424.7 MB, free: 16.05 MB / 318.1 MB Notification: Performance of pre-optimization done (n=122): time 3.015e-06/0.4785, allocations: 3.938 kB / 424.7 MB, free: 16.05 MB / 318.1 MB Notification: Performance of matching and sorting (n=136): time 0.04084/0.5194, allocations: 18.33 MB / 443.1 MB, free: 13.44 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002872/0.5223, allocations: 3.054 MB / 446.1 MB, free: 10.07 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005635/0.528, allocations: 2.999 MB / 449.1 MB, free: 7.047 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004648/0.5285, allocations: 49.16 kB / 449.2 MB, free: 6.996 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00193/0.5304, allocations: 2.079 MB / 451.3 MB, free: 4.922 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001172/0.5316, allocations: 0.5628 MB / 451.8 MB, free: 4.363 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002873/0.5345, allocations: 1.019 MB / 452.8 MB, free: 3.336 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.5346, allocations: 313.2 kB / 453.1 MB, free: 3.027 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004365/0.539, allocations: 2.629 MB / 455.8 MB, free: 400 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006642/0.5456, allocations: 5.581 MB / 461.3 MB, free: 9.332 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0113/0.557, allocations: 8.63 MB / 470 MB, free: 15.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001004/0.5571, allocations: 28 kB / 470 MB, free: 15.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.03549/0.5926, allocations: 11.77 MB / 481.8 MB, free: 3.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001743/0.5928, allocations: 52 kB / 481.8 MB, free: 3.359 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02347/0.6163, allocations: 7.013 MB / 488.8 MB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02153/0.6379, allocations: 4.542 MB / 493.4 MB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00465/0.6426, allocations: 1.248 MB / 494.6 MB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01628/0.6589, allocations: 11.47 MB / 0.4942 GB, free: 10.49 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00532/0.6643, allocations: 0.5732 MB / 0.4948 GB, free: 9.918 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00146/0.6658, allocations: 321.7 kB / 0.4951 GB, free: 9.605 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 475 * 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 (592): * Single equations (assignments): 577 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(4,100.0%), (3,100.0%), (4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 2 systems {4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003969/0.6698, allocations: 1.416 MB / 0.4965 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008768/0.6706, allocations: 252.7 kB / 0.4967 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001152/0.6718, allocations: 415.2 kB / 0.4971 GB, free: 7.52 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01214/0.684, allocations: 5.024 MB / 0.502 GB, free: 2.461 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.908e-05/0.684, allocations: 4 kB / 0.502 GB, free: 2.457 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-05/0.6841, allocations: 11.97 kB / 0.5021 GB, free: 2.445 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01103/0.6951, allocations: 5.354 MB / 0.5073 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.236e-05/0.6952, allocations: 0 / 0.5073 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001942/0.6972, allocations: 372.2 kB / 0.5076 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008522/0.7057, allocations: 2.39 MB / 0.51 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006784/0.7064, allocations: 47.95 kB / 0.51 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01036/0.7168, allocations: 8.813 MB / 0.5186 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002494/0.7193, allocations: 2.903 MB / 0.5215 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01896/0.7383, allocations: 8.759 MB / 0.53 GB, free: 4.84 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001223/0.7396, allocations: 329.7 kB / 0.5303 GB, free: 4.496 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001335/0.741, allocations: 35.97 kB / 0.5304 GB, free: 4.461 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002879/0.7439, allocations: 327.4 kB / 0.5307 GB, free: 4.141 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007604/0.7446, allocations: 103.8 kB / 0.5308 GB, free: 4.039 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003724/0.745, allocations: 47.97 kB / 0.5308 GB, free: 3.992 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004314/0.7494, allocations: 1.886 MB / 0.5327 GB, free: 2.102 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.7494, allocations: 0 / 0.5327 GB, free: 2.102 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.006968/0.7564, allocations: 1.003 MB / 0.5336 GB, free: 1.102 MB / 430.1 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 (not torn): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(3,100.0%), (4,100.0%), (3,100.0%), (4,100.0%)} * Non-linear Jacobian (size): 2 systems {4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008931/0.7573, allocations: 179.5 kB / 0.5338 GB, free: 0.918 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.2036/0.9609, allocations: 7.416 MB / 0.541 GB, free: 147.2 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/0.961, allocations: 0 / 0.541 GB, free: 147.2 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007959/0.9689, allocations: 3.634 MB / 0.5446 GB, free: 145.7 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003458/0.9724, allocations: 291.8 kB / 0.5449 GB, free: 145.6 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01379/0.9863, allocations: 9.334 MB / 0.554 GB, free: 140.8 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002088/0.9884, allocations: 2.296 MB / 0.5562 GB, free: 139.7 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00394/0.9923, allocations: 1.667 MB / 0.5579 GB, free: 139.6 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007726/0.9931, allocations: 196.3 kB / 0.558 GB, free: 139.6 MB / 430.1 MB Notification: Performance of SimCode: time 8.91e-07/0.9931, allocations: 0 / 0.558 GB, free: 139.6 MB / 430.1 MB Notification: Performance of Templates: time 0.06356/1.057, allocations: 44.4 MB / 0.6014 GB, free: 99.99 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity_res.mat","/var/lib/jenkins/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_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches