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.001106/0.001105, allocations: 111.8 kB / 17.06 MB, free: 6 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.001143/0.001143, allocations: 190.9 kB / 18 MB, free: 5.082 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.318/1.318, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009171/0.0009171, allocations: 47.94 kB / 351.3 MB, free: 3.223 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2567/0.2577, allocations: 49.44 MB / 400.7 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.007812/0.2655, allocations: 6.976 MB / 407.7 MB, free: 1.844 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005627/0.2712, allocations: 3.096 MB / 410.8 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000857/0.2721, allocations: 31.94 kB / 410.8 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001537/0.2737, allocations: 0.6613 MB / 411.5 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003125/0.2768, allocations: 1.421 MB / 412.9 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009407/0.2778, allocations: 495.1 kB / 413.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003679/0.2815, allocations: 3.127 MB / 416.5 MB, free: 8.996 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007903/0.2823, allocations: 447.2 kB / 417 MB, free: 8.547 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001022/0.2833, allocations: 0.8016 MB / 417.8 MB, free: 7.742 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001415/0.2847, allocations: 1.207 MB / 419 MB, free: 6.531 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002955/0.285, allocations: 128 kB / 419.1 MB, free: 6.406 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001869/0.2869, allocations: 0.9671 MB / 420.1 MB, free: 5.438 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001068/0.288, allocations: 1.071 MB / 421.1 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001268/0.2893, allocations: 1.23 MB / 422.4 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004308/0.2936, allocations: 4.041 MB / 426.4 MB, free: 15.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2936, allocations: 3.938 kB / 426.4 MB, free: 15.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2936, allocations: 4 kB / 426.4 MB, free: 15.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.212e-05/0.2937, allocations: 0 / 426.4 MB, free: 15.07 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.007036/0.3007, allocations: 3.205 MB / 429.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.252e-05/0.3008, allocations: 8.031 kB / 429.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008442/0.3093, allocations: 1.889 MB / 431.5 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003065/0.3124, allocations: 1.652 MB / 433.2 MB, free: 8.199 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000104/0.3125, allocations: 110.6 kB / 433.3 MB, free: 8.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008989/0.3134, allocations: 303.5 kB / 433.6 MB, free: 7.793 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01461/0.328, allocations: 8.226 MB / 441.8 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.116e-05/0.3281, allocations: 35.75 kB / 441.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002709/0.3284, allocations: 79.88 kB / 441.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00225/0.3307, allocations: 1.397 MB / 443.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01842/0.3491, allocations: 9.542 MB / 452.9 MB, free: 3.93 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03618/0.3853, allocations: 30.54 MB / 483.4 MB, free: 4.535 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01269/0.3981, allocations: 4.371 MB / 487.8 MB, free: 4 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002881/0.401, allocations: 2.117 MB / 489.9 MB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.438e-05/0.4011, allocations: 17.05 kB / 489.9 MB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.4011, allocations: 42.56 kB / 489.9 MB, free: 13.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=122): time 3.307e-06/0.4011, allocations: 0 / 489.9 MB, free: 13.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=136): time 0.04803/0.4492, allocations: 18.31 MB / 0.4963 GB, free: 11.2 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002273/0.4515, allocations: 3.228 MB / 0.4995 GB, free: 7.637 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00422/0.4557, allocations: 2.986 MB / 0.5024 GB, free: 4.629 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000409/0.4562, allocations: 45.7 kB / 0.5025 GB, free: 4.578 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001343/0.4575, allocations: 2.075 MB / 0.5045 GB, free: 2.473 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000803/0.4583, allocations: 0.5671 MB / 0.505 GB, free: 1.898 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001494/0.4598, allocations: 1.023 MB / 0.506 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.379e-05/0.4599, allocations: 301.1 kB / 0.5063 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003899/0.4638, allocations: 2.629 MB / 0.5089 GB, free: 13.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005754/0.4696, allocations: 5.588 MB / 0.5143 GB, free: 6.859 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01157/0.4812, allocations: 8.618 MB / 0.5228 GB, free: 12.79 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.127e-05/0.4813, allocations: 32 kB / 0.5228 GB, free: 12.75 MB / 462.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.03474/0.5161, allocations: 11.78 MB / 0.5343 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.234e-05/0.5162, allocations: 48 kB / 0.5343 GB, free: 0.8945 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2415/0.7577, allocations: 7.007 MB / 0.5412 GB, free: 127.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0233/0.781, allocations: 4.543 MB / 0.5456 GB, free: 127.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004471/0.7855, allocations: 1.244 MB / 0.5468 GB, free: 127.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01482/0.8004, allocations: 12.54 MB / 0.5591 GB, free: 116.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005223/0.8057, allocations: 0.5788 MB / 0.5596 GB, free: 116.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007894/0.8065, allocations: 316.5 kB / 0.5599 GB, free: 115.9 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.001751/0.8082, allocations: 1.42 MB / 0.5613 GB, free: 114.5 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004857/0.8087, allocations: 257.8 kB / 0.5616 GB, free: 114.4 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008073/0.8095, allocations: 411 kB / 0.562 GB, free: 114 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01077/0.8203, allocations: 5.009 MB / 0.5669 GB, free: 108.9 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.593e-05/0.8204, allocations: 4 kB / 0.5669 GB, free: 108.9 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-05/0.8204, allocations: 15.91 kB / 0.5669 GB, free: 108.9 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006777/0.8272, allocations: 5.354 MB / 0.5721 GB, free: 103.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.8272, allocations: 4 kB / 0.5721 GB, free: 103.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001677/0.8289, allocations: 373.2 kB / 0.5725 GB, free: 103.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008327/0.8372, allocations: 2.378 MB / 0.5748 GB, free: 100.8 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002248/0.8375, allocations: 47.94 kB / 0.5748 GB, free: 100.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007407/0.8449, allocations: 9.442 MB / 0.5841 GB, free: 90.88 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001408/0.8463, allocations: 3.066 MB / 0.5871 GB, free: 87.54 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01485/0.8612, allocations: 8.762 MB / 0.5956 GB, free: 78.88 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008972/0.8621, allocations: 327.7 kB / 0.5959 GB, free: 78.58 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004052/0.8625, allocations: 35.3 kB / 0.596 GB, free: 78.55 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002074/0.8646, allocations: 326.7 kB / 0.5963 GB, free: 78.23 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004262/0.8651, allocations: 111.7 kB / 0.5964 GB, free: 78.12 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001563/0.8652, allocations: 47.97 kB / 0.5964 GB, free: 78.07 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002271/0.8675, allocations: 1.866 MB / 0.5982 GB, free: 76.21 MB / 462.1 MB Notification: Performance of sort global known variables: time 3e-07/0.8675, allocations: 0 / 0.5982 GB, free: 76.21 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003648/0.8712, allocations: 1.01 MB / 0.5992 GB, free: 75.2 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.0004131/0.8716, allocations: 177.6 kB / 0.5994 GB, free: 75.03 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009968/0.8816, allocations: 7.459 MB / 0.6067 GB, free: 67.46 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.8816, allocations: 0 / 0.6067 GB, free: 67.46 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005611/0.8872, allocations: 3.647 MB / 0.6102 GB, free: 63.68 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002115/0.8893, allocations: 306.5 kB / 0.6105 GB, free: 63.38 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00981/0.8992, allocations: 8.097 MB / 0.6184 GB, free: 55.25 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001644/0.9008, allocations: 2.297 MB / 0.6207 GB, free: 52.92 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003275/0.9041, allocations: 1.66 MB / 0.6223 GB, free: 51.25 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007254/0.9049, allocations: 199.3 kB / 0.6225 GB, free: 51.06 MB / 462.1 MB Notification: Performance of SimCode: time 1.092e-06/0.9049, allocations: 0 / 0.6225 GB, free: 51.06 MB / 462.1 MB Notification: Performance of Templates: time 0.05391/0.9588, allocations: 43.35 MB / 0.6648 GB, free: 7.84 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