Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001539/0.001539, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001852/0.001852, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 227.4 MB / 247.5 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 60.25 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08259/0.08373, allocations: 50.53 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.007488/0.09125, allocations: 6.947 MB / 365.9 MB, free: 6.355 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005447/0.09673, allocations: 3.123 MB / 369 MB, free: 3.223 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000736/0.09749, allocations: 31.94 kB / 369 MB, free: 3.191 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001391/0.09893, allocations: 0.6575 MB / 369.7 MB, free: 2.531 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003261/0.1022, allocations: 1.37 MB / 371 MB, free: 1.156 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001119/0.1033, allocations: 499.1 kB / 371.5 MB, free: 0.668 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.166/0.2694, allocations: 3.198 MB / 374.7 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008379/0.2703, allocations: 449.6 kB / 375.2 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001272/0.2715, allocations: 0.782 MB / 375.9 MB, free: 9.984 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001586/0.2731, allocations: 1.21 MB / 377.1 MB, free: 9.844 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000355/0.2735, allocations: 130.3 kB / 377.3 MB, free: 9.844 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00175/0.2753, allocations: 0.9413 MB / 378.2 MB, free: 9.84 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00115/0.2764, allocations: 1.066 MB / 379.3 MB, free: 9.719 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00108/0.2775, allocations: 1.21 MB / 380.5 MB, free: 9.242 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004602/0.2821, allocations: 3.99 MB / 384.5 MB, free: 8.348 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2822, allocations: 1.125 kB / 384.5 MB, free: 8.348 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.2822, allocations: 0 / 384.5 MB, free: 8.348 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001037/0.2823, allocations: 0 / 384.5 MB, free: 8.348 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.008182/0.2905, allocations: 3.179 MB / 387.7 MB, free: 6.703 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.2905, allocations: 9.375 kB / 387.7 MB, free: 6.703 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008307/0.2988, allocations: 2.007 MB / 389.7 MB, free: 5.844 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003707/0.3026, allocations: 1.603 MB / 391.3 MB, free: 4.914 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/0.3027, allocations: 115.5 kB / 391.4 MB, free: 4.887 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001092/0.3038, allocations: 305.5 kB / 391.7 MB, free: 4.797 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02203/0.3258, allocations: 8.217 MB / 399.9 MB, free: 15.56 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000105/0.326, allocations: 47.39 kB / 400 MB, free: 15.54 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004283/0.3264, allocations: 75.27 kB / 400 MB, free: 15.49 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003361/0.3298, allocations: 1.396 MB / 401.4 MB, free: 14.11 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02844/0.3583, allocations: 9.532 MB / 411 MB, free: 4.734 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0403/0.3986, allocations: 30.52 MB / 441.5 MB, free: 5.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01135/0.41, allocations: 4.386 MB / 445.9 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00278/0.4128, allocations: 2.118 MB / 448 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.66e-05/0.4129, allocations: 19.2 kB / 448 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.413, allocations: 42.56 kB / 448 MB, free: 14.78 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 2.986e-06/0.413, allocations: 0 / 448 MB, free: 14.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=136): time 0.04484/0.4578, allocations: 18.28 MB / 466.3 MB, free: 12.22 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00223/0.4601, allocations: 3.232 MB / 469.6 MB, free: 8.648 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004208/0.4643, allocations: 2.974 MB / 472.5 MB, free: 5.652 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006013/0.4649, allocations: 44.59 kB / 472.6 MB, free: 5.605 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001363/0.4663, allocations: 2.074 MB / 474.7 MB, free: 3.539 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009391/0.4673, allocations: 0.5653 MB / 475.2 MB, free: 2.977 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001612/0.4689, allocations: 1.018 MB / 476.2 MB, free: 1.949 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.612e-05/0.469, allocations: 305.1 kB / 476.5 MB, free: 1.648 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003808/0.4728, allocations: 2.629 MB / 479.2 MB, free: 15.01 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005909/0.4787, allocations: 5.588 MB / 484.7 MB, free: 7.953 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01031/0.489, allocations: 8.62 MB / 493.4 MB, free: 13.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.232e-05/0.4891, allocations: 32 kB / 493.4 MB, free: 13.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.03224/0.5214, allocations: 11.93 MB / 0.4935 GB, free: 1.895 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.787e-05/0.5215, allocations: 48 kB / 0.4935 GB, free: 1.848 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02683/0.5483, allocations: 7.158 MB / 0.5005 GB, free: 10.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0313/0.5796, allocations: 4.725 MB / 0.5051 GB, free: 5.898 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005552/0.5852, allocations: 1.244 MB / 0.5063 GB, free: 4.652 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01792/0.6032, allocations: 12.6 MB / 0.5187 GB, free: 7.488 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005385/0.6086, allocations: 0.5732 MB / 0.5192 GB, free: 6.914 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009866/0.6096, allocations: 315.9 kB / 0.5195 GB, free: 6.605 MB / 446.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.002715/0.6123, allocations: 1.418 MB / 0.5209 GB, free: 5.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005855/0.6129, allocations: 252.7 kB / 0.5211 GB, free: 4.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009252/0.6139, allocations: 410.9 kB / 0.5215 GB, free: 4.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1584/0.7723, allocations: 5.013 MB / 0.5264 GB, free: 144.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.709e-05/0.7724, allocations: 8.75 kB / 0.5264 GB, free: 144.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.374e-05/0.7724, allocations: 7.344 kB / 0.5264 GB, free: 144.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008801/0.7812, allocations: 5.348 MB / 0.5317 GB, free: 143.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.7812, allocations: 5.203 kB / 0.5317 GB, free: 143.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001738/0.783, allocations: 376.7 kB / 0.532 GB, free: 143.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008342/0.7913, allocations: 2.382 MB / 0.5344 GB, free: 143.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004176/0.7918, allocations: 52.8 kB / 0.5344 GB, free: 143.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008033/0.7998, allocations: 9.433 MB / 0.5436 GB, free: 137.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001312/0.8011, allocations: 3.067 MB / 0.5466 GB, free: 134.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01434/0.8155, allocations: 8.772 MB / 0.5552 GB, free: 131.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008014/0.8163, allocations: 331.9 kB / 0.5555 GB, free: 131.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004876/0.8168, allocations: 35.66 kB / 0.5555 GB, free: 131.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002137/0.819, allocations: 316 kB / 0.5558 GB, free: 131.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004209/0.8194, allocations: 112.2 kB / 0.5559 GB, free: 131.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001754/0.8196, allocations: 47.52 kB / 0.556 GB, free: 131.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00255/0.8222, allocations: 1.867 MB / 0.5578 GB, free: 130.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.8222, allocations: 6.859 kB / 0.5578 GB, free: 130.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004066/0.8262, allocations: 0.9923 MB / 0.5588 GB, free: 130.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.0004278/0.8267, allocations: 167.4 kB / 0.5589 GB, free: 130.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01042/0.8371, allocations: 7.46 MB / 0.5662 GB, free: 124.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/0.8372, allocations: 0 / 0.5662 GB, free: 124.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00561/0.8428, allocations: 3.645 MB / 0.5698 GB, free: 120.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002185/0.845, allocations: 305.2 kB / 0.5701 GB, free: 120.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009168/0.8542, allocations: 8.103 MB / 0.578 GB, free: 112.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00161/0.8558, allocations: 2.294 MB / 0.5802 GB, free: 109.9 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003112/0.8589, allocations: 1.667 MB / 0.5819 GB, free: 108.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007204/0.8597, allocations: 191.3 kB / 0.582 GB, free: 108.1 MB / 446.1 MB Notification: Performance of SimCode: time 5.41e-07/0.8597, allocations: 8 kB / 0.5821 GB, free: 108.1 MB / 446.1 MB Notification: Performance of Templates: time 0.05207/0.9117, allocations: 41.67 MB / 0.6227 GB, free: 66.59 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches