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.001417/0.001424, allocations: 174.6 kB / 16.72 MB, free: 5.082 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.507/1.507, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0008145/0.0008144, allocations: 90.39 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003359/0.0003361, allocations: 8 kB / 327.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.3072, allocations: 47.57 MB / 375.1 MB, free: 45.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.0133/0.3206, allocations: 12.53 MB / 387.6 MB, free: 35.78 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01017/0.3308, allocations: 3.963 MB / 391.6 MB, free: 32.19 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002267/0.3331, allocations: 51.88 kB / 391.6 MB, free: 32.14 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00158/0.3347, allocations: 0.6065 MB / 392.2 MB, free: 31.53 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006399/0.3411, allocations: 2.227 MB / 394.5 MB, free: 29.29 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001361/0.3425, allocations: 459.3 kB / 394.9 MB, free: 28.84 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004171/0.3467, allocations: 3.306 MB / 398.2 MB, free: 25.53 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009008/0.3476, allocations: 0.5359 MB / 398.8 MB, free: 24.95 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001677/0.3493, allocations: 0.7745 MB / 399.5 MB, free: 24.17 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001932/0.3513, allocations: 1.309 MB / 400.8 MB, free: 22.86 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000329/0.3516, allocations: 84 kB / 400.9 MB, free: 22.78 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002294/0.3539, allocations: 0.9437 MB / 401.9 MB, free: 21.83 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000954/0.3549, allocations: 1.052 MB / 402.9 MB, free: 20.78 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009668/0.3559, allocations: 1.159 MB / 404.1 MB, free: 19.61 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002962/0.3588, allocations: 2.994 MB / 407.1 MB, free: 16.61 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3588, allocations: 0 / 407.1 MB, free: 16.61 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3589, allocations: 0 / 407.1 MB, free: 16.61 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.717e-05/0.3589, allocations: 0 / 407.1 MB, free: 16.61 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.005808/0.3648, allocations: 2.714 MB / 409.8 MB, free: 13.83 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.3648, allocations: 8.031 kB / 409.8 MB, free: 13.82 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007124/0.3719, allocations: 1.935 MB / 411.7 MB, free: 11.88 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003869/0.3759, allocations: 1.73 MB / 413.5 MB, free: 10.11 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/0.376, allocations: 114.6 kB / 413.6 MB, free: 9.996 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008456/0.3768, allocations: 303.4 kB / 413.9 MB, free: 9.699 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01331/0.3902, allocations: 8.231 MB / 422.1 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.446e-05/0.3903, allocations: 39.66 kB / 422.1 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002691/0.3906, allocations: 79.88 kB / 422.2 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002157/0.3927, allocations: 1.397 MB / 423.6 MB, free: 15.39 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02065/0.4134, allocations: 9.514 MB / 433.1 MB, free: 5.867 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04141/0.4549, allocations: 30.6 MB / 463.7 MB, free: 6.402 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01209/0.4671, allocations: 4.427 MB / 468.2 MB, free: 1.816 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003192/0.4703, allocations: 2.105 MB / 470.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.087e-05/0.4704, allocations: 15.94 kB / 470.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/0.4704, allocations: 46.56 kB / 470.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of pre-optimization done (n=122): time 3.347e-06/0.4705, allocations: 0 / 470.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=136): time 0.04619/0.5167, allocations: 18.46 MB / 488.8 MB, free: 12.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002355/0.519, allocations: 3.054 MB / 491.8 MB, free: 9.508 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006364/0.5254, allocations: 2.979 MB / 494.8 MB, free: 6.508 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006385/0.5261, allocations: 41.7 kB / 494.9 MB, free: 6.461 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001781/0.5279, allocations: 2.083 MB / 496.9 MB, free: 4.348 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001126/0.5291, allocations: 0.5633 MB / 497.5 MB, free: 3.777 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007566/0.5299, allocations: 96.17 kB / 497.6 MB, free: 3.684 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0005164/0.5304, allocations: 0.5167 MB / 498.1 MB, free: 3.16 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004828/0.5352, allocations: 2.617 MB / 0.489 GB, free: 0.5352 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1816/0.7168, allocations: 5.569 MB / 0.4944 GB, free: 105 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009422/0.7263, allocations: 8.596 MB / 0.5028 GB, free: 98.64 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.533e-05/0.7264, allocations: 30.38 kB / 0.5029 GB, free: 98.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.02855/0.755, allocations: 11.74 MB / 0.5143 GB, free: 93.49 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.07e-05/0.7551, allocations: 56.06 kB / 0.5144 GB, free: 93.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01954/0.7746, allocations: 7.004 MB / 0.5212 GB, free: 86.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01981/0.7945, allocations: 4.544 MB / 0.5256 GB, free: 81.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004504/0.799, allocations: 1.244 MB / 0.5269 GB, free: 80.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01301/0.8121, allocations: 11.45 MB / 0.538 GB, free: 68.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004875/0.817, allocations: 0.5798 MB / 0.5386 GB, free: 68.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009241/0.8179, allocations: 313.8 kB / 0.5389 GB, free: 67.79 MB / 378.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 (592): * Single equations (assignments): 577 * 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 {(4,100.0%),(3,100.0%),(4,100.0%),(3,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.002189/0.8201, allocations: 1.421 MB / 0.5403 GB, free: 66.42 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004749/0.8206, allocations: 254.4 kB / 0.5405 GB, free: 66.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007436/0.8214, allocations: 415.2 kB / 0.5409 GB, free: 65.9 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009659/0.831, allocations: 5.015 MB / 0.5458 GB, free: 60.86 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-05/0.8311, allocations: 11.94 kB / 0.5458 GB, free: 60.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.047e-05/0.8312, allocations: 3.984 kB / 0.5458 GB, free: 60.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007373/0.8385, allocations: 5.356 MB / 0.5511 GB, free: 55.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/0.8386, allocations: 0 / 0.5511 GB, free: 55.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001672/0.8403, allocations: 367.4 kB / 0.5514 GB, free: 55.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007487/0.8478, allocations: 2.39 MB / 0.5538 GB, free: 52.7 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004189/0.8482, allocations: 47.94 kB / 0.5538 GB, free: 52.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007131/0.8554, allocations: 8.84 MB / 0.5624 GB, free: 43.33 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001297/0.8567, allocations: 2.896 MB / 0.5653 GB, free: 40.17 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01404/0.8708, allocations: 8.768 MB / 0.5738 GB, free: 31.38 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008365/0.8716, allocations: 333.6 kB / 0.5742 GB, free: 31.03 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004502/0.8721, allocations: 31.98 kB / 0.5742 GB, free: 31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001882/0.874, allocations: 320.8 kB / 0.5745 GB, free: 30.69 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003876/0.8744, allocations: 107.8 kB / 0.5746 GB, free: 30.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001625/0.8746, allocations: 51.95 kB / 0.5746 GB, free: 30.53 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002322/0.8769, allocations: 1.863 MB / 0.5765 GB, free: 28.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.8769, allocations: 0 / 0.5765 GB, free: 28.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003873/0.8808, allocations: 1.004 MB / 0.5774 GB, free: 27.66 MB / 378.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.0004364/0.8812, allocations: 173.3 kB / 0.5776 GB, free: 27.49 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01029/0.8915, allocations: 7.385 MB / 0.5848 GB, free: 19.99 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.281e-06/0.8916, allocations: 5.875 kB / 0.5848 GB, free: 19.99 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005429/0.897, allocations: 3.626 MB / 0.5884 GB, free: 16.22 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002605/0.8997, allocations: 295.8 kB / 0.5886 GB, free: 15.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01089/0.9106, allocations: 9.604 MB / 0.598 GB, free: 6.27 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001722/0.9123, allocations: 2.295 MB / 0.6003 GB, free: 3.941 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001343/0.9137, allocations: 243.3 kB / 0.6005 GB, free: 3.703 MB / 378.7 MB Notification: Performance of SimCode: time 5.91e-07/0.9137, allocations: 0 / 0.6005 GB, free: 3.703 MB / 378.7 MB Notification: Performance of Templates: time 0.2912/1.205, allocations: 145 MB / 0.7421 GB, free: 62.67 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/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_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches