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.001252/0.001252, allocations: 104.3 kB / 17.59 MB, free: 5.426 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.001203/0.001203, allocations: 191.3 kB / 18.52 MB, free: 4.508 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 / 242.2 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 42.66 kB / 301.3 MB, free: 5.871 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1082, allocations: 49.46 MB / 350.7 MB, free: 4.41 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.009268/0.1175, allocations: 6.97 MB / 357.7 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006445/0.124, allocations: 3.099 MB / 360.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001306/0.1254, allocations: 31.94 kB / 360.8 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00196/0.1274, allocations: 0.6575 MB / 361.5 MB, free: 9.594 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003922/0.1313, allocations: 1.39 MB / 362.9 MB, free: 8.199 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001257/0.1326, allocations: 0.499 MB / 363.4 MB, free: 7.699 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004386/0.137, allocations: 3.124 MB / 366.5 MB, free: 4.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001075/0.1381, allocations: 455.2 kB / 367 MB, free: 4.113 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001603/0.1397, allocations: 0.7938 MB / 367.8 MB, free: 3.316 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002013/0.1418, allocations: 1.207 MB / 369 MB, free: 2.105 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006914/0.1425, allocations: 128 kB / 369.1 MB, free: 1.98 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002519/0.145, allocations: 0.9593 MB / 370 MB, free: 1.02 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2079/0.3529, allocations: 1.075 MB / 371.1 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001792/0.3547, allocations: 1.224 MB / 372.3 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005307/0.36, allocations: 3.869 MB / 376.2 MB, free: 10.73 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.3601, allocations: 0.7969 kB / 376.2 MB, free: 10.73 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3601, allocations: 1.5 kB / 376.2 MB, free: 10.73 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.000119/0.3602, allocations: 0 / 376.2 MB, free: 10.73 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.008397/0.3686, allocations: 3.21 MB / 379.4 MB, free: 9.402 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.3687, allocations: 10.09 kB / 379.4 MB, free: 9.402 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008512/0.3772, allocations: 1.885 MB / 381.3 MB, free: 9.23 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003817/0.3811, allocations: 1.624 MB / 382.9 MB, free: 8.809 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001234/0.3812, allocations: 114.8 kB / 383.1 MB, free: 8.805 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001106/0.3823, allocations: 305.6 kB / 383.4 MB, free: 8.793 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01651/0.3989, allocations: 8.229 MB / 391.6 MB, free: 5.512 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.982e-05/0.399, allocations: 35.42 kB / 391.6 MB, free: 5.508 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003345/0.3993, allocations: 80.61 kB / 391.7 MB, free: 5.484 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002212/0.4016, allocations: 1.398 MB / 393.1 MB, free: 4.953 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01711/0.4187, allocations: 9.533 MB / 402.6 MB, free: 15.03 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0379/0.4566, allocations: 30.61 MB / 433.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01263/0.4693, allocations: 4.378 MB / 437.6 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004355/0.4737, allocations: 2.124 MB / 439.7 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001457/0.4739, allocations: 11.12 kB / 439.7 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.085e-05/0.474, allocations: 57.64 kB / 439.8 MB, free: 9.148 MB / 350.1 MB Notification: Performance of pre-optimization done (n=122): time 5.32e-06/0.474, allocations: 0 / 439.8 MB, free: 9.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=136): time 0.0529/0.5269, allocations: 18.29 MB / 458.1 MB, free: 6.633 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002604/0.5295, allocations: 3.234 MB / 461.3 MB, free: 3.078 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005429/0.535, allocations: 2.983 MB / 464.3 MB, free: 76 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006909/0.5357, allocations: 44.83 kB / 464.4 MB, free: 28 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001705/0.5374, allocations: 2.075 MB / 466.4 MB, free: 13.96 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001218/0.5386, allocations: 0.5683 MB / 467 MB, free: 13.39 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001986/0.5407, allocations: 1.018 MB / 468 MB, free: 12.37 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.209e-05/0.5408, allocations: 301.1 kB / 468.3 MB, free: 12.07 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004022/0.5448, allocations: 2.633 MB / 470.9 MB, free: 9.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006249/0.5511, allocations: 5.583 MB / 476.5 MB, free: 2.422 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01124/0.5623, allocations: 8.628 MB / 485.2 MB, free: 8.672 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001001/0.5625, allocations: 28 kB / 485.2 MB, free: 8.645 MB / 398.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.03676/0.5992, allocations: 11.79 MB / 497 MB, free: 12.83 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001331/0.5994, allocations: 52.25 kB / 497 MB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02616/0.6256, allocations: 7.004 MB / 0.4922 GB, free: 5.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02325/0.6489, allocations: 4.55 MB / 0.4967 GB, free: 1.168 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004844/0.6537, allocations: 1.248 MB / 0.4979 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0179/0.6717, allocations: 12.56 MB / 0.5101 GB, free: 2.801 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005924/0.6776, allocations: 0.577 MB / 0.5107 GB, free: 2.223 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001548/0.6792, allocations: 316 kB / 0.511 GB, free: 1.914 MB / 430.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.004381/0.6836, allocations: 1.414 MB / 0.5124 GB, free: 500 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001089/0.6847, allocations: 252.7 kB / 0.5126 GB, free: 244 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001927/0.6867, allocations: 458.1 kB / 0.5131 GB, free: 0 / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01309/0.6998, allocations: 5.014 MB / 0.518 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.151e-05/0.6999, allocations: 8 kB / 0.518 GB, free: 10.94 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.972e-05/0.6999, allocations: 7.969 kB / 0.518 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01199/0.7119, allocations: 5.349 MB / 0.5232 GB, free: 5.527 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.929e-05/0.712, allocations: 0 / 0.5232 GB, free: 5.527 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002075/0.714, allocations: 371.4 kB / 0.5235 GB, free: 5.164 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009219/0.7233, allocations: 2.394 MB / 0.5259 GB, free: 2.742 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007291/0.724, allocations: 46.61 kB / 0.5259 GB, free: 2.699 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2041/0.9282, allocations: 9.438 MB / 0.5351 GB, free: 147.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00155/0.9298, allocations: 3.073 MB / 0.5381 GB, free: 144.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01754/0.9473, allocations: 8.771 MB / 0.5467 GB, free: 142.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009207/0.9483, allocations: 326.5 kB / 0.547 GB, free: 142.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008795/0.9492, allocations: 35.22 kB / 0.5471 GB, free: 142.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002529/0.9517, allocations: 320.2 kB / 0.5474 GB, free: 142.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000543/0.9523, allocations: 107.2 kB / 0.5475 GB, free: 142.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001907/0.9525, allocations: 52.39 kB / 0.5475 GB, free: 142.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003243/0.9557, allocations: 1.866 MB / 0.5493 GB, free: 141.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.92e-07/0.9558, allocations: 3.906 kB / 0.5493 GB, free: 141.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005709/0.9615, allocations: 0.9998 MB / 0.5503 GB, free: 141.4 MB / 446.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.0007087/0.9622, allocations: 178.9 kB / 0.5505 GB, free: 141.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01232/0.9745, allocations: 7.747 MB / 0.5581 GB, free: 138.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.9746, allocations: 3.828 kB / 0.5581 GB, free: 138.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006083/0.9807, allocations: 3.645 MB / 0.5616 GB, free: 136.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003213/0.9839, allocations: 309.9 kB / 0.5619 GB, free: 136.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01268/0.9967, allocations: 8.462 MB / 0.5702 GB, free: 127.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001829/0.9985, allocations: 2.298 MB / 0.5724 GB, free: 125.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001493/1, allocations: 239.3 kB / 0.5726 GB, free: 125.2 MB / 446.1 MB Notification: Performance of SimCode: time 1.182e-06/1, allocations: 0 / 0.5726 GB, free: 125.2 MB / 446.1 MB Notification: Performance of Templates: time 0.2912/1.291, allocations: 145.1 MB / 0.7144 GB, free: 137.7 MB / 446.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravity/PointGravity.csv","/var/lib/jenkins1/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