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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 222.9 MB / 240.9 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 97.59 kB / 291.2 MB, free: 10.96 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007378/0.0007378, allocations: 43.94 kB / 350 MB, free: 88 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/0.2188, allocations: 49.43 MB / 399.5 MB, free: 33.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.009498/0.2283, allocations: 13.96 MB / 413.4 MB, free: 19.39 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007004/0.2354, allocations: 4.293 MB / 417.7 MB, free: 15.08 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002002/0.2374, allocations: 59.81 kB / 417.8 MB, free: 15.02 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001305/0.2388, allocations: 0.6269 MB / 418.4 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002131/0.2409, allocations: 1.305 MB / 419.7 MB, free: 13.09 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000645/0.2416, allocations: 471.3 kB / 420.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002757/0.2443, allocations: 4.132 MB / 424.3 MB, free: 8.484 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004824/0.2448, allocations: 423.1 kB / 424.7 MB, free: 8.055 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005956/0.2454, allocations: 0.6924 MB / 425.4 MB, free: 7.359 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001027/0.2465, allocations: 1.304 MB / 426.7 MB, free: 6.051 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000203/0.2467, allocations: 91.94 kB / 426.8 MB, free: 5.961 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001343/0.2481, allocations: 0.9631 MB / 427.8 MB, free: 4.996 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006982/0.2488, allocations: 1.059 MB / 428.8 MB, free: 3.934 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008419/0.2496, allocations: 1.191 MB / 430 MB, free: 2.734 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003303/0.2529, allocations: 3.844 MB / 433.9 MB, free: 14.88 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.2529, allocations: 3.984 kB / 433.9 MB, free: 14.88 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.253, allocations: 0 / 433.9 MB, free: 14.88 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.087e-05/0.253, allocations: 0 / 433.9 MB, free: 14.88 MB / 314.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.006706/0.2598, allocations: 3.205 MB / 437.1 MB, free: 11.61 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.852e-05/0.2598, allocations: 8.031 kB / 437.1 MB, free: 11.6 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00803/0.2679, allocations: 1.885 MB / 439 MB, free: 9.711 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003451/0.2714, allocations: 1.633 MB / 440.6 MB, free: 8.035 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/0.2715, allocations: 126.5 kB / 440.7 MB, free: 7.91 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008073/0.2723, allocations: 295.5 kB / 441 MB, free: 7.621 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.014/0.2863, allocations: 8.223 MB / 449.2 MB, free: 14.83 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.686e-05/0.2864, allocations: 31.66 kB / 449.3 MB, free: 14.8 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002452/0.2867, allocations: 75.89 kB / 449.3 MB, free: 14.73 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002127/0.2888, allocations: 1.397 MB / 450.7 MB, free: 13.33 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01744/0.3063, allocations: 9.538 MB / 460.3 MB, free: 3.781 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03706/0.3434, allocations: 30.62 MB / 490.9 MB, free: 4.301 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01208/0.3555, allocations: 4.379 MB / 495.3 MB, free: 15.76 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002929/0.3585, allocations: 2.122 MB / 497.4 MB, free: 13.62 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000118/0.3586, allocations: 11.98 kB / 497.4 MB, free: 13.61 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.3586, allocations: 50.5 kB / 497.5 MB, free: 13.55 MB / 378.7 MB Notification: Performance of pre-optimization done (n=122): time 3.817e-06/0.3587, allocations: 4 kB / 497.5 MB, free: 13.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=136): time 0.2341/0.5928, allocations: 18.28 MB / 0.5037 GB, free: 97.57 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001849/0.5947, allocations: 3.058 MB / 0.5066 GB, free: 94.52 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005472/0.6002, allocations: 2.979 MB / 0.5095 GB, free: 93.47 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006277/0.6009, allocations: 45.48 kB / 0.5096 GB, free: 93.43 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001286/0.6022, allocations: 2.075 MB / 0.5116 GB, free: 91.81 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00109/0.6033, allocations: 0.57 MB / 0.5122 GB, free: 91.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002076/0.6054, allocations: 1.019 MB / 0.5132 GB, free: 90.94 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.478e-05/0.6054, allocations: 301.1 kB / 0.5135 GB, free: 90.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002984/0.6084, allocations: 2.63 MB / 0.516 GB, free: 89.81 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003789/0.6122, allocations: 5.584 MB / 0.5215 GB, free: 84.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009257/0.6215, allocations: 8.639 MB / 0.5299 GB, free: 74.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.147e-05/0.6216, allocations: 28 kB / 0.5299 GB, free: 74.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.03016/0.6518, allocations: 11.78 MB / 0.5414 GB, free: 62.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.576e-05/0.6519, allocations: 48 kB / 0.5415 GB, free: 62.37 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02223/0.6741, allocations: 7.009 MB / 0.5483 GB, free: 55.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02317/0.6974, allocations: 4.546 MB / 0.5528 GB, free: 50.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0042/0.7016, allocations: 1.244 MB / 0.554 GB, free: 49.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01389/0.7155, allocations: 11.47 MB / 0.5652 GB, free: 37.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005625/0.7212, allocations: 0.5809 MB / 0.5658 GB, free: 36.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00148/0.7227, allocations: 319.8 kB / 0.5661 GB, free: 36.61 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 (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.003516/0.7262, allocations: 1.411 MB / 0.5674 GB, free: 35.19 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001112/0.7274, allocations: 256.7 kB / 0.5677 GB, free: 34.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001194/0.7286, allocations: 419 kB / 0.5681 GB, free: 34.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0114/0.74, allocations: 5.011 MB / 0.573 GB, free: 29.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.394e-05/0.7401, allocations: 15.94 kB / 0.573 GB, free: 29.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.701e-05/0.7401, allocations: 3.984 kB / 0.573 GB, free: 29.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008833/0.7489, allocations: 5.357 MB / 0.5782 GB, free: 24.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.536e-05/0.749, allocations: 0 / 0.5782 GB, free: 24.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001744/0.7507, allocations: 371.4 kB / 0.5786 GB, free: 23.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008663/0.7594, allocations: 2.382 MB / 0.5809 GB, free: 21.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000441/0.7599, allocations: 43.95 kB / 0.581 GB, free: 21.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00724/0.7671, allocations: 8.821 MB / 0.5896 GB, free: 11.91 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001368/0.7686, allocations: 2.899 MB / 0.5924 GB, free: 8.723 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4077/1.176, allocations: 77.77 MB / 0.6684 GB, free: 141.4 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000901/1.177, allocations: 327.8 kB / 0.6687 GB, free: 141.3 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005617/1.178, allocations: 33.17 kB / 0.6687 GB, free: 141.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002312/1.18, allocations: 316.2 kB / 0.669 GB, free: 141.3 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004364/1.181, allocations: 112.2 kB / 0.6691 GB, free: 141.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001841/1.181, allocations: 59.72 kB / 0.6692 GB, free: 141.3 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002429/1.183, allocations: 1.865 MB / 0.671 GB, free: 141.1 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.8e-07/1.183, allocations: 1.969 kB / 0.671 GB, free: 141.1 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005311/1.189, allocations: 1.592 MB / 0.6725 GB, free: 141.1 MB / 442.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 (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.000444/1.189, allocations: 168.7 kB / 0.6727 GB, free: 141 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01046/1.2, allocations: 7.431 MB / 0.68 GB, free: 139 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/1.2, allocations: 7.719 kB / 0.68 GB, free: 139 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005746/1.205, allocations: 3.63 MB / 0.6835 GB, free: 137.4 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002576/1.208, allocations: 288.8 kB / 0.6838 GB, free: 137.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02085/1.229, allocations: 12.63 MB / 0.6961 GB, free: 127.4 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003068/1.232, allocations: 2.338 MB / 0.6984 GB, free: 125.5 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004531/1.236, allocations: 1.888 MB / 0.7003 GB, free: 124.2 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001538/1.238, allocations: 222 kB / 0.7005 GB, free: 124 MB / 442.7 MB Notification: Performance of SimCode: time 1.012e-06/1.238, allocations: 1.859 kB / 0.7005 GB, free: 124 MB / 442.7 MB Notification: Performance of Templates: time 0.09954/1.338, allocations: 89.28 MB / 0.7877 GB, free: 35.56 MB / 442.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravity/PointGravity.csv","../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches