Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) 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) 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_4.0.0_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_4.0.0_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.001393/0.001393, allocations: 116.3 kB / 17.07 MB, free: 5.973 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.001674/0.001674, allocations: 198.8 kB / 18.01 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009244/0.0009244, allocations: 43.94 kB / 351.3 MB, free: 3.223 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/0.287, allocations: 49.43 MB / 400.7 MB, free: 8.949 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.008028/0.2951, allocations: 6.985 MB / 407.7 MB, free: 1.977 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005531/0.3006, allocations: 3.092 MB / 410.8 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009057/0.3016, allocations: 35.88 kB / 410.8 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001629/0.3032, allocations: 0.6575 MB / 411.5 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003028/0.3063, allocations: 1.417 MB / 412.9 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009182/0.3072, allocations: 499.1 kB / 413.4 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003864/0.3111, allocations: 3.129 MB / 416.5 MB, free: 9.133 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007623/0.3119, allocations: 447.1 kB / 417 MB, free: 8.684 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001048/0.3129, allocations: 0.8017 MB / 417.8 MB, free: 7.879 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001405/0.3143, allocations: 1.207 MB / 419 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00026/0.3146, allocations: 128 kB / 419.1 MB, free: 6.543 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001747/0.3164, allocations: 0.9632 MB / 420.1 MB, free: 5.578 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009551/0.3173, allocations: 1.075 MB / 421.1 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001056/0.3184, allocations: 1.23 MB / 422.4 MB, free: 3.262 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003875/0.3223, allocations: 4.037 MB / 426.4 MB, free: 15.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.3223, allocations: 0 / 426.4 MB, free: 15.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.562e-06/0.3223, allocations: 0 / 426.4 MB, free: 15.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.034e-05/0.3224, allocations: 0 / 426.4 MB, free: 15.21 MB / 350.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.005906/0.3283, allocations: 3.209 MB / 429.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.3283, allocations: 8.031 kB / 429.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007557/0.3359, allocations: 1.885 MB / 431.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002886/0.3388, allocations: 1.652 MB / 433.2 MB, free: 8.344 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.603e-05/0.3389, allocations: 118.6 kB / 433.3 MB, free: 8.227 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008275/0.3398, allocations: 295.5 kB / 433.6 MB, free: 7.938 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01439/0.3542, allocations: 8.234 MB / 441.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.115e-05/0.3543, allocations: 35.75 kB / 441.8 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002829/0.3546, allocations: 79.89 kB / 441.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002058/0.3566, allocations: 1.401 MB / 443.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01847/0.3751, allocations: 9.53 MB / 452.8 MB, free: 4.074 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03706/0.4122, allocations: 30.54 MB / 483.4 MB, free: 4.676 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01158/0.4239, allocations: 4.382 MB / 487.8 MB, free: 140 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002849/0.4267, allocations: 2.109 MB / 489.9 MB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.907e-05/0.4268, allocations: 17.05 kB / 489.9 MB, free: 14 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.695e-05/0.4269, allocations: 50.5 kB / 489.9 MB, free: 13.94 MB / 414.1 MB Notification: Performance of pre-optimization done (n=122): time 3.086e-06/0.4269, allocations: 0 / 489.9 MB, free: 13.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=136): time 0.04361/0.4705, allocations: 18.3 MB / 0.4963 GB, free: 11.34 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002334/0.4729, allocations: 3.231 MB / 0.4995 GB, free: 7.777 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003973/0.4769, allocations: 2.979 MB / 0.5024 GB, free: 4.777 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004444/0.4773, allocations: 49.69 kB / 0.5024 GB, free: 4.723 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00143/0.4788, allocations: 2.072 MB / 0.5045 GB, free: 2.621 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007675/0.4795, allocations: 0.5749 MB / 0.505 GB, free: 2.039 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001429/0.481, allocations: 1.019 MB / 0.506 GB, free: 1.008 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.152e-05/0.4811, allocations: 305.1 kB / 0.5063 GB, free: 0.707 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003922/0.485, allocations: 2.625 MB / 0.5089 GB, free: 14.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006218/0.4912, allocations: 5.588 MB / 0.5143 GB, free: 7.004 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01149/0.5027, allocations: 8.62 MB / 0.5228 GB, free: 12.93 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.83e-05/0.5029, allocations: 32 kB / 0.5228 GB, free: 12.9 MB / 462.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.03107/0.5339, allocations: 11.78 MB / 0.5343 GB, free: 1.082 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.508e-05/0.534, allocations: 48.09 kB / 0.5343 GB, free: 1.035 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2344/0.7685, allocations: 7.013 MB / 0.5412 GB, free: 127.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02002/0.7885, allocations: 4.543 MB / 0.5456 GB, free: 127.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003917/0.7925, allocations: 1.242 MB / 0.5468 GB, free: 127.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0136/0.8061, allocations: 12.54 MB / 0.5591 GB, free: 117 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005072/0.8112, allocations: 0.5749 MB / 0.5596 GB, free: 116.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009762/0.8122, allocations: 315.8 kB / 0.5599 GB, free: 116.1 MB / 462.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.002106/0.8143, allocations: 1.418 MB / 0.5613 GB, free: 114.7 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006183/0.815, allocations: 256.5 kB / 0.5616 GB, free: 114.6 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007198/0.8157, allocations: 411 kB / 0.562 GB, free: 114.2 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009346/0.825, allocations: 5.021 MB / 0.5669 GB, free: 109.2 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.674e-05/0.8251, allocations: 8 kB / 0.5669 GB, free: 109.2 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.198e-05/0.8251, allocations: 7.969 kB / 0.5669 GB, free: 109.2 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006954/0.8321, allocations: 5.349 MB / 0.5721 GB, free: 103.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.196e-06/0.8321, allocations: 4 kB / 0.5721 GB, free: 103.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001547/0.8337, allocations: 367.4 kB / 0.5725 GB, free: 103.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007303/0.841, allocations: 2.39 MB / 0.5748 GB, free: 101.1 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004079/0.8414, allocations: 51.94 kB / 0.5748 GB, free: 101 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006978/0.8484, allocations: 9.433 MB / 0.5841 GB, free: 91.12 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001291/0.8498, allocations: 3.07 MB / 0.5871 GB, free: 87.79 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01376/0.8635, allocations: 8.771 MB / 0.5956 GB, free: 79.12 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006784/0.8643, allocations: 329.1 kB / 0.5959 GB, free: 78.82 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003804/0.8646, allocations: 31.98 kB / 0.596 GB, free: 78.79 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00187/0.8665, allocations: 319.4 kB / 0.5963 GB, free: 78.47 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000394/0.8669, allocations: 113 kB / 0.5964 GB, free: 78.37 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001653/0.8671, allocations: 51.95 kB / 0.5964 GB, free: 78.32 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002102/0.8692, allocations: 1.867 MB / 0.5982 GB, free: 76.45 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.8692, allocations: 2 kB / 0.5982 GB, free: 76.45 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00352/0.8727, allocations: 1.01 MB / 0.5992 GB, free: 75.44 MB / 462.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.0003997/0.8732, allocations: 167.4 kB / 0.5994 GB, free: 75.28 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01003/0.8832, allocations: 7.46 MB / 0.6067 GB, free: 67.71 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.8832, allocations: 0 / 0.6067 GB, free: 67.71 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005094/0.8883, allocations: 3.649 MB / 0.6102 GB, free: 63.92 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002082/0.8904, allocations: 300.4 kB / 0.6105 GB, free: 63.63 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009228/0.8997, allocations: 8.101 MB / 0.6184 GB, free: 55.49 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001643/0.9014, allocations: 2.299 MB / 0.6207 GB, free: 53.17 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002991/0.9044, allocations: 1.663 MB / 0.6223 GB, free: 51.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006411/0.905, allocations: 195.3 kB / 0.6225 GB, free: 51.3 MB / 462.1 MB Notification: Performance of SimCode: time 1.021e-06/0.905, allocations: 4 kB / 0.6225 GB, free: 51.3 MB / 462.1 MB Notification: Performance of Templates: time 0.05324/0.9583, allocations: 43.34 MB / 0.6648 GB, free: 8.098 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravity/PointGravity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches