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.002602/0.002607, allocations: 183.1 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.397/3.397, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001715/0.001715, allocations: 89.3 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006076/0.0006079, allocations: 8 kB / 327 MB, free: 204 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5753/0.576, allocations: 47.58 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.02465/0.6007, allocations: 11.87 MB / 386.4 MB, free: 36.39 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01596/0.6168, allocations: 4.061 MB / 390.5 MB, free: 32.88 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003992/0.6208, allocations: 55.81 kB / 390.5 MB, free: 32.83 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003141/0.624, allocations: 0.5366 MB / 391.1 MB, free: 32.29 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01156/0.6357, allocations: 1.991 MB / 393.1 MB, free: 30.29 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002466/0.6382, allocations: 431.3 kB / 393.5 MB, free: 29.87 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.005864/0.6441, allocations: 1.738 MB / 395.2 MB, free: 28.13 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00163/0.6458, allocations: 0.5204 MB / 395.7 MB, free: 27.57 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002006/0.6479, allocations: 0.6541 MB / 396.4 MB, free: 26.91 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002731/0.6507, allocations: 0.9659 MB / 397.4 MB, free: 25.95 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001007/0.6518, allocations: 84 kB / 397.4 MB, free: 25.86 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003595/0.6554, allocations: 0.7957 MB / 398.2 MB, free: 25.07 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00247/0.658, allocations: 0.9819 MB / 399.2 MB, free: 24.08 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001405/0.6595, allocations: 0.4923 MB / 399.7 MB, free: 23.58 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006796/0.6663, allocations: 3.021 MB / 402.7 MB, free: 20.55 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.6664, allocations: 0 / 402.7 MB, free: 20.55 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.078e-06/0.6664, allocations: 0 / 402.7 MB, free: 20.55 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001803/0.6666, allocations: 0 / 402.7 MB, free: 20.55 MB / 298.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.01395/0.6806, allocations: 2.788 MB / 405.5 MB, free: 17.71 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.282e-05/0.6807, allocations: 8.031 kB / 405.5 MB, free: 17.7 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02437/0.705, allocations: 2.262 MB / 407.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008218/0.7133, allocations: 2.101 MB / 409.9 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003073/0.7137, allocations: 110.6 kB / 410 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003084/0.7168, allocations: 303.5 kB / 410.3 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03921/0.7561, allocations: 8.609 MB / 418.9 MB, free: 3.703 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001797/0.7563, allocations: 39.59 kB / 418.9 MB, free: 3.664 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001134/0.7575, allocations: 75.89 kB / 419 MB, free: 3.59 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00559/0.7631, allocations: 1.405 MB / 420.4 MB, free: 2.188 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05148/0.8147, allocations: 9.897 MB / 430.3 MB, free: 8.285 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08882/0.9036, allocations: 30.72 MB / 461 MB, free: 8.699 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03404/0.9377, allocations: 4.508 MB / 465.5 MB, free: 4.031 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002461/0.938, allocations: 17.05 kB / 465.6 MB, free: 4.016 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.745e-05/0.9381, allocations: 46.5 kB / 465.6 MB, free: 3.961 MB / 346.7 MB Notification: Performance of pre-optimization done (n=122): time 7.604e-06/0.9381, allocations: 0 / 465.6 MB, free: 3.961 MB / 346.7 MB Notification: Performance of matching and sorting (n=136): time 0.1356/1.074, allocations: 18.96 MB / 484.6 MB, free: 0.6523 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0051/1.079, allocations: 3.077 MB / 487.7 MB, free: 13.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01224/1.091, allocations: 3.234 MB / 490.9 MB, free: 10 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009528/1.092, allocations: 41.7 kB / 490.9 MB, free: 9.953 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00351/1.096, allocations: 2.066 MB / 493 MB, free: 7.859 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001934/1.098, allocations: 0.5632 MB / 493.6 MB, free: 7.289 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001366/1.099, allocations: 100.2 kB / 493.7 MB, free: 7.191 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0007361/1.1, allocations: 0.5134 MB / 494.2 MB, free: 6.668 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01159/1.112, allocations: 2.644 MB / 496.8 MB, free: 4.016 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01589/1.128, allocations: 5.579 MB / 0.4906 GB, free: 12.96 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01483/1.142, allocations: 3.697 MB / 0.4942 GB, free: 9.262 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001443/1.143, allocations: 32 kB / 0.4943 GB, free: 9.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.5071/1.65, allocations: 11.71 MB / 0.5057 GB, free: 115.2 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001512/1.65, allocations: 55.75 kB / 0.5057 GB, free: 115.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0615/1.712, allocations: 7.045 MB / 0.5126 GB, free: 115 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.06121/1.773, allocations: 4.558 MB / 0.5171 GB, free: 113.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01237/1.785, allocations: 1.235 MB / 0.5183 GB, free: 113.6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04394/1.829, allocations: 12.09 MB / 0.5301 GB, free: 104.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0134/1.843, allocations: 0.5755 MB / 0.5306 GB, free: 104.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002312/1.845, allocations: 309.1 kB / 0.5309 GB, free: 103.9 MB / 394.7 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 (584): * Single equations (assignments): 569 * 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.006866/1.852, allocations: 1.417 MB / 0.5323 GB, free: 102.7 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001347/1.853, allocations: 262.2 kB / 0.5326 GB, free: 102.5 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002212/1.856, allocations: 415.4 kB / 0.533 GB, free: 102.1 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03347/1.889, allocations: 5.012 MB / 0.5379 GB, free: 97.11 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.128e-05/1.889, allocations: 4 kB / 0.5379 GB, free: 97.1 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.144e-05/1.889, allocations: 7.984 kB / 0.5379 GB, free: 97.09 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02203/1.912, allocations: 5.382 MB / 0.5431 GB, free: 91.72 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.441e-05/1.912, allocations: 0 / 0.5431 GB, free: 91.72 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005682/1.917, allocations: 370.4 kB / 0.5435 GB, free: 91.36 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02506/1.942, allocations: 2.382 MB / 0.5458 GB, free: 88.97 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001013/1.944, allocations: 47.94 kB / 0.5459 GB, free: 88.92 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02258/1.966, allocations: 9.001 MB / 0.5546 GB, free: 79.45 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003678/1.97, allocations: 2.915 MB / 0.5575 GB, free: 76.27 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04605/2.016, allocations: 8.849 MB / 0.5661 GB, free: 67.48 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001653/2.018, allocations: 341.1 kB / 0.5665 GB, free: 67.13 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002077/2.02, allocations: 31.98 kB / 0.5665 GB, free: 67.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007479/2.028, allocations: 327.4 kB / 0.5668 GB, free: 66.78 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001636/2.029, allocations: 107.8 kB / 0.5669 GB, free: 66.67 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00105/2.03, allocations: 53.3 kB / 0.567 GB, free: 66.62 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.007992/2.038, allocations: 2.055 MB / 0.569 GB, free: 64.57 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.556e-06/2.039, allocations: 0 / 0.569 GB, free: 64.57 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.01102/2.05, allocations: 1.027 MB / 0.57 GB, free: 63.55 MB / 394.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.00173/2.051, allocations: 186.1 kB / 0.5701 GB, free: 63.36 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.03228/2.084, allocations: 7.355 MB / 0.5773 GB, free: 55.89 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.315e-05/2.084, allocations: 0 / 0.5773 GB, free: 55.89 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01771/2.102, allocations: 3.631 MB / 0.5809 GB, free: 52.12 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004858/2.106, allocations: 287.3 kB / 0.5811 GB, free: 51.84 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03328/2.14, allocations: 9.607 MB / 0.5905 GB, free: 42.18 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006749/2.147, allocations: 2.359 MB / 0.5928 GB, free: 39.79 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003591/2.15, allocations: 239.3 kB / 0.5931 GB, free: 39.55 MB / 394.7 MB Notification: Performance of SimCode: time 4.118e-06/2.15, allocations: 0 / 0.5931 GB, free: 39.55 MB / 394.7 MB Notification: Performance of Templates: time 0.7958/2.946, allocations: 138.3 MB / 0.7281 GB, free: 87.98 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