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.00116/0.00116, allocations: 110.6 kB / 17.73 MB, free: 5.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.00121/0.00121, allocations: 190.9 kB / 18.66 MB, free: 4.418 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.402/1.402, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001254/0.001254, allocations: 51.92 kB / 328.5 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08605/0.08732, allocations: 46.62 MB / 375.2 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.1983/0.2856, allocations: 6.994 MB / 382.1 MB, free: 9.641 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01027/0.296, allocations: 3.088 MB / 385.2 MB, free: 8.324 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001887/0.298, allocations: 32.5 kB / 385.3 MB, free: 8.32 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00221/0.3002, allocations: 0.6783 MB / 385.9 MB, free: 8.078 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005328/0.3056, allocations: 1.382 MB / 387.3 MB, free: 7.512 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001606/0.3072, allocations: 0.4949 MB / 387.8 MB, free: 7.34 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006771/0.314, allocations: 3.137 MB / 391 MB, free: 6.324 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001316/0.3153, allocations: 454.1 kB / 391.4 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002148/0.3175, allocations: 0.8053 MB / 392.2 MB, free: 5.832 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002536/0.32, allocations: 1.218 MB / 393.4 MB, free: 5.422 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005684/0.3206, allocations: 130 kB / 393.6 MB, free: 5.422 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003351/0.324, allocations: 0.949 MB / 394.5 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001772/0.3258, allocations: 1.086 MB / 395.6 MB, free: 4.848 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001581/0.3274, allocations: 1.226 MB / 396.8 MB, free: 3.98 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006495/0.3339, allocations: 4.048 MB / 400.9 MB, free: 1.559 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3339, allocations: 1.312 kB / 400.9 MB, free: 1.559 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.3339, allocations: 0 / 400.9 MB, free: 1.559 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.062e-05/0.334, allocations: 0 / 400.9 MB, free: 1.559 MB / 318.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.009499/0.3435, allocations: 3.218 MB / 404.1 MB, free: 15.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/0.3436, allocations: 9.875 kB / 404.1 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01283/0.3565, allocations: 1.886 MB / 406 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004607/0.3611, allocations: 1.755 MB / 407.7 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001231/0.3612, allocations: 113 kB / 407.8 MB, free: 13.19 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00132/0.3626, allocations: 297.7 kB / 408.1 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02288/0.3855, allocations: 8.225 MB / 416.4 MB, free: 5.613 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001032/0.3856, allocations: 39.64 kB / 416.4 MB, free: 5.574 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004353/0.386, allocations: 79.89 kB / 416.5 MB, free: 5.496 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003448/0.3895, allocations: 1.397 MB / 417.9 MB, free: 4.094 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02047/0.41, allocations: 9.53 MB / 427.4 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03456/0.4446, allocations: 30.54 MB / 457.9 MB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01206/0.4567, allocations: 4.384 MB / 462.3 MB, free: 6.629 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002953/0.4597, allocations: 2.124 MB / 464.5 MB, free: 4.488 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.554e-05/0.4598, allocations: 12 kB / 464.5 MB, free: 4.477 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.823e-05/0.4598, allocations: 42.5 kB / 464.5 MB, free: 4.426 MB / 382.1 MB Notification: Performance of pre-optimization done (n=122): time 3.296e-06/0.4598, allocations: 0 / 464.5 MB, free: 4.426 MB / 382.1 MB Notification: Performance of matching and sorting (n=136): time 0.05225/0.5121, allocations: 18.34 MB / 482.8 MB, free: 1.793 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003524/0.5156, allocations: 3.224 MB / 486.1 MB, free: 14.23 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007573/0.5233, allocations: 3.01 MB / 489.1 MB, free: 11.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001068/0.5244, allocations: 41.7 kB / 489.1 MB, free: 11.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002417/0.5268, allocations: 2.079 MB / 491.2 MB, free: 9.047 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001568/0.5284, allocations: 0.5671 MB / 491.8 MB, free: 8.473 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002531/0.531, allocations: 1.011 MB / 492.8 MB, free: 7.449 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.5311, allocations: 301.1 kB / 493.1 MB, free: 7.152 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006445/0.5376, allocations: 2.641 MB / 495.7 MB, free: 4.504 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009266/0.5469, allocations: 5.581 MB / 0.4895 GB, free: 13.45 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01657/0.5635, allocations: 8.622 MB / 0.498 GB, free: 3.359 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001373/0.5636, allocations: 28 kB / 0.498 GB, free: 3.332 MB / 430.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.04028/0.6039, allocations: 11.78 MB / 0.5095 GB, free: 7.512 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001692/0.6042, allocations: 59.97 kB / 0.5096 GB, free: 7.453 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02557/0.6297, allocations: 7.013 MB / 0.5164 GB, free: 420 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02407/0.6538, allocations: 4.538 MB / 0.5208 GB, free: 11.84 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005007/0.6589, allocations: 1.244 MB / 0.522 GB, free: 10.59 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01837/0.6773, allocations: 12.54 MB / 0.5343 GB, free: 13.49 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005921/0.6832, allocations: 0.5771 MB / 0.5349 GB, free: 12.91 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001445/0.6847, allocations: 319.9 kB / 0.5352 GB, free: 12.6 MB / 478.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.004084/0.6888, allocations: 1.418 MB / 0.5365 GB, free: 11.17 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001012/0.6898, allocations: 256.7 kB / 0.5368 GB, free: 10.91 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001586/0.6914, allocations: 415.2 kB / 0.5372 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01319/0.7046, allocations: 5.01 MB / 0.5421 GB, free: 5.457 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.351e-05/0.7047, allocations: 8 kB / 0.5421 GB, free: 5.449 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.673e-05/0.7048, allocations: 7.922 kB / 0.5421 GB, free: 5.441 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01213/0.7169, allocations: 5.343 MB / 0.5473 GB, free: 20 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.209e-05/0.717, allocations: 11.86 kB / 0.5473 GB, free: 8 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2381/0.9551, allocations: 363.2 kB / 0.5477 GB, free: 151.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01002/0.9651, allocations: 2.386 MB / 0.55 GB, free: 151.6 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007252/0.9659, allocations: 51.08 kB / 0.5501 GB, free: 151.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01084/0.9768, allocations: 9.435 MB / 0.5593 GB, free: 146.2 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00175/0.9785, allocations: 3.075 MB / 0.5623 GB, free: 143.3 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02137/0.9999, allocations: 8.774 MB / 0.5708 GB, free: 140.8 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001266/1.001, allocations: 331.5 kB / 0.5712 GB, free: 140.7 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001541/1.003, allocations: 33.19 kB / 0.5712 GB, free: 140.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003364/1.006, allocations: 318.5 kB / 0.5715 GB, free: 140.7 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000892/1.007, allocations: 114.1 kB / 0.5716 GB, free: 140.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005398/1.008, allocations: 55.39 kB / 0.5717 GB, free: 140.6 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004525/1.012, allocations: 1.881 MB / 0.5735 GB, free: 140 MB / 478.1 MB Notification: Performance of sort global known variables: time 7.72e-07/1.012, allocations: 1.25 kB / 0.5735 GB, free: 140 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006959/1.019, allocations: 1.008 MB / 0.5745 GB, free: 139.9 MB / 478.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.0009364/1.02, allocations: 168 kB / 0.5746 GB, free: 139.8 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01232/1.033, allocations: 7.458 MB / 0.5819 GB, free: 137 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/1.033, allocations: 2 kB / 0.5819 GB, free: 137 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005826/1.038, allocations: 3.64 MB / 0.5855 GB, free: 135.4 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002466/1.041, allocations: 311.5 kB / 0.5858 GB, free: 135.2 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01082/1.052, allocations: 8.129 MB / 0.5937 GB, free: 128 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001692/1.053, allocations: 2.302 MB / 0.596 GB, free: 125.7 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003398/1.057, allocations: 1.667 MB / 0.5976 GB, free: 124 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007414/1.058, allocations: 199.3 kB / 0.5978 GB, free: 123.8 MB / 478.1 MB Notification: Performance of SimCode: time 8.62e-07/1.058, allocations: 0 / 0.5978 GB, free: 123.8 MB / 478.1 MB Notification: Performance of Templates: time 0.06207/1.12, allocations: 43.4 MB / 0.6402 GB, free: 80.4 MB / 478.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches