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.0008166/0.0008168, allocations: 101.3 kB / 17.31 MB, free: 6.344 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.001001/0.001002, allocations: 177.5 kB / 18.2 MB, free: 5.531 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.454/1.454, allocations: 205.4 MB / 224.4 MB, free: 13.06 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.0006914/0.0006913, allocations: 12 kB / 281.4 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1262, allocations: 47.59 MB / 329 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.01342/0.1397, allocations: 13.39 MB / 342.4 MB, free: 6.301 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008648/0.1484, allocations: 4.239 MB / 346.6 MB, free: 2.051 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002439/0.1508, allocations: 55.81 kB / 346.7 MB, free: 1.996 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001127/0.152, allocations: 262.8 kB / 346.9 MB, free: 1.738 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003603/0.1556, allocations: 1.324 MB / 348.2 MB, free: 420 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001046/0.1567, allocations: 459.3 kB / 348.7 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004844/0.1615, allocations: 4.154 MB / 352.8 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009805/0.1625, allocations: 0.5465 MB / 353.4 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001586/0.1641, allocations: 0.6885 MB / 354.1 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002283/0.1665, allocations: 1.312 MB / 355.4 MB, free: 9.199 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005811/0.1671, allocations: 80 kB / 355.5 MB, free: 9.121 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002425/0.1695, allocations: 0.9593 MB / 356.4 MB, free: 8.16 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001886/0.1714, allocations: 1.079 MB / 357.5 MB, free: 7.078 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002699/0.1741, allocations: 1.224 MB / 358.7 MB, free: 5.84 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005969/0.1801, allocations: 3.78 MB / 362.5 MB, free: 2.047 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1801, allocations: 0 / 362.5 MB, free: 2.047 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1801, allocations: 0 / 362.5 MB, free: 2.047 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001369/0.1803, allocations: 0 / 362.5 MB, free: 2.047 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.007712/0.188, allocations: 2.714 MB / 365.2 MB, free: 15.27 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/0.1881, allocations: 8.031 kB / 365.2 MB, free: 15.27 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008732/0.1968, allocations: 1.939 MB / 367.2 MB, free: 13.32 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00374/0.2006, allocations: 1.719 MB / 368.9 MB, free: 11.56 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001145/0.2008, allocations: 118.6 kB / 369 MB, free: 11.44 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00104/0.2018, allocations: 307.5 kB / 369.3 MB, free: 11.14 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01583/0.2176, allocations: 8.238 MB / 377.5 MB, free: 2.336 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.302e-05/0.2178, allocations: 39.59 kB / 377.6 MB, free: 2.297 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003128/0.2181, allocations: 75.89 kB / 377.7 MB, free: 2.223 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002329/0.2204, allocations: 1.397 MB / 379.1 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2192/0.4396, allocations: 9.532 MB / 388.6 MB, free: 47.73 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03282/0.4725, allocations: 30.59 MB / 419.2 MB, free: 22.19 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01093/0.4835, allocations: 4.437 MB / 423.6 MB, free: 17.59 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002519/0.486, allocations: 2.101 MB / 425.7 MB, free: 15.48 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.27e-05/0.4861, allocations: 14.62 kB / 425.7 MB, free: 15.46 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/0.4862, allocations: 54.48 kB / 425.8 MB, free: 15.4 MB / 318.1 MB Notification: Performance of pre-optimization done (n=122): time 3.566e-06/0.4862, allocations: 0 / 425.8 MB, free: 15.4 MB / 318.1 MB Notification: Performance of matching and sorting (n=136): time 0.04517/0.5314, allocations: 18.44 MB / 444.2 MB, free: 12.67 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002752/0.5342, allocations: 3.052 MB / 447.3 MB, free: 9.301 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004635/0.5388, allocations: 3.002 MB / 450.3 MB, free: 6.277 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006912/0.5396, allocations: 43.42 kB / 450.3 MB, free: 6.23 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001542/0.5411, allocations: 2.082 MB / 452.4 MB, free: 4.156 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001188/0.5423, allocations: 0.5696 MB / 453 MB, free: 3.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006247/0.543, allocations: 429 kB / 453.4 MB, free: 3.168 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.5431, allocations: 301.1 kB / 453.7 MB, free: 2.871 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00411/0.5472, allocations: 2.629 MB / 456.3 MB, free: 240 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006318/0.5535, allocations: 5.584 MB / 461.9 MB, free: 9.172 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01149/0.5651, allocations: 8.626 MB / 470.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.787e-05/0.5652, allocations: 28 kB / 470.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.03684/0.6021, allocations: 11.78 MB / 482.3 MB, free: 3.246 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.871e-05/0.6022, allocations: 48 kB / 482.4 MB, free: 3.199 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02529/0.6275, allocations: 7.009 MB / 489.4 MB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02405/0.6516, allocations: 4.55 MB / 493.9 MB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005332/0.657, allocations: 1.244 MB / 495.2 MB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01732/0.6743, allocations: 11.48 MB / 0.4948 GB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006126/0.6805, allocations: 0.5745 MB / 0.4953 GB, free: 9.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001703/0.6822, allocations: 321 kB / 0.4957 GB, free: 9.438 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.005006/0.6873, allocations: 1.412 MB / 0.497 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001417/0.6887, allocations: 256.7 kB / 0.4973 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001563/0.6903, allocations: 415.2 kB / 0.4977 GB, free: 7.352 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01367/0.704, allocations: 5.017 MB / 0.5026 GB, free: 2.297 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.103e-05/0.704, allocations: 7.938 kB / 0.5026 GB, free: 2.293 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.305e-05/0.7041, allocations: 3.984 kB / 0.5026 GB, free: 2.289 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01218/0.7163, allocations: 5.363 MB / 0.5078 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.759e-05/0.7164, allocations: 4 kB / 0.5078 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002176/0.7185, allocations: 367.4 kB / 0.5082 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009668/0.7282, allocations: 2.394 MB / 0.5105 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008204/0.7291, allocations: 43.95 kB / 0.5106 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01086/0.74, allocations: 8.848 MB / 0.5192 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002219/0.7422, allocations: 2.893 MB / 0.522 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02056/0.7628, allocations: 8.766 MB / 0.5306 GB, free: 4.676 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001511/0.7644, allocations: 337.5 kB / 0.5309 GB, free: 4.324 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001471/0.7659, allocations: 37.55 kB / 0.5309 GB, free: 4.289 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003468/0.7694, allocations: 323.4 kB / 0.5312 GB, free: 3.973 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008107/0.7702, allocations: 111.6 kB / 0.5314 GB, free: 3.863 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003864/0.7706, allocations: 48.67 kB / 0.5314 GB, free: 3.816 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004209/0.7748, allocations: 1.879 MB / 0.5332 GB, free: 1.934 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.7749, allocations: 0 / 0.5332 GB, free: 1.934 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.006117/0.781, allocations: 1.009 MB / 0.5342 GB, free: 0.9297 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.0008976/0.7819, allocations: 169.3 kB / 0.5344 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.222/1.004, allocations: 7.379 MB / 0.5416 GB, free: 146.3 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.207e-06/1.004, allocations: 1 kB / 0.5416 GB, free: 146.3 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008717/1.013, allocations: 3.629 MB / 0.5451 GB, free: 145.1 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004357/1.017, allocations: 292.2 kB / 0.5454 GB, free: 145 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01584/1.033, allocations: 9.622 MB / 0.5548 GB, free: 140 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002859/1.036, allocations: 2.306 MB / 0.5571 GB, free: 139 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00427/1.04, allocations: 1.664 MB / 0.5587 GB, free: 138.8 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008279/1.041, allocations: 199 kB / 0.5589 GB, free: 138.8 MB / 430.1 MB Notification: Performance of SimCode: time 2.425e-06/1.041, allocations: 0 / 0.5589 GB, free: 138.8 MB / 430.1 MB Notification: Performance of Templates: time 0.06503/1.106, allocations: 43.81 MB / 0.6017 GB, free: 99.36 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