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.001003/0.001003, allocations: 92.59 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001414/0.001414, allocations: 204.3 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 227.7 MB / 246.8 MB, free: 11.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002331/0.000233, allocations: 8 kB / 307.7 MB, free: 0.8359 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09371/0.09396, allocations: 51.53 MB / 359.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.1776/0.2716, allocations: 13.29 MB / 372.5 MB, free: 8.875 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008549/0.2802, allocations: 4.237 MB / 376.8 MB, free: 8.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001192/0.2814, allocations: 57.09 kB / 376.8 MB, free: 8.719 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006458/0.2821, allocations: 269 kB / 377.1 MB, free: 8.664 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003025/0.2851, allocations: 1.29 MB / 378.4 MB, free: 8.453 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009907/0.2861, allocations: 460.2 kB / 378.8 MB, free: 8.434 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004776/0.2909, allocations: 4.21 MB / 383 MB, free: 7.906 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007257/0.2917, allocations: 0.5456 MB / 383.6 MB, free: 7.609 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009024/0.2926, allocations: 0.673 MB / 384.3 MB, free: 7.402 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001459/0.294, allocations: 1.302 MB / 385.6 MB, free: 7.117 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002268/0.2943, allocations: 86.08 kB / 385.7 MB, free: 7.117 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001522/0.2958, allocations: 0.9439 MB / 386.6 MB, free: 6.773 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008254/0.2967, allocations: 1.061 MB / 387.7 MB, free: 6.207 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008494/0.2975, allocations: 1.202 MB / 388.9 MB, free: 5.297 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003162/0.3007, allocations: 3.73 MB / 392.6 MB, free: 2.953 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3007, allocations: 0 / 392.6 MB, free: 2.953 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.3007, allocations: 1.219 kB / 392.6 MB, free: 2.953 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.285e-05/0.3008, allocations: 0 / 392.6 MB, free: 2.953 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.005404/0.3062, allocations: 2.67 MB / 395.3 MB, free: 1.082 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.3062, allocations: 8.906 kB / 395.3 MB, free: 1.082 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008237/0.3145, allocations: 2.046 MB / 397.3 MB, free: 84 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003425/0.3179, allocations: 1.579 MB / 398.9 MB, free: 15.08 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/0.3181, allocations: 109.5 kB / 399 MB, free: 15.05 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00113/0.3192, allocations: 310.3 kB / 399.3 MB, free: 14.96 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01528/0.3345, allocations: 8.234 MB / 407.5 MB, free: 6.578 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.894e-05/0.3346, allocations: 43.59 kB / 407.6 MB, free: 6.535 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002872/0.3349, allocations: 84.42 kB / 407.7 MB, free: 6.48 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002368/0.3373, allocations: 1.395 MB / 409.1 MB, free: 5.094 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01919/0.3565, allocations: 9.533 MB / 418.6 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03993/0.3965, allocations: 30.58 MB / 449.2 MB, free: 12.25 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01238/0.4089, allocations: 4.435 MB / 453.6 MB, free: 7.656 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003121/0.4121, allocations: 2.105 MB / 455.7 MB, free: 5.535 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.929e-05/0.4122, allocations: 23.52 kB / 455.7 MB, free: 5.516 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.4122, allocations: 46.5 kB / 455.8 MB, free: 5.461 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 3.987e-06/0.4122, allocations: 0 / 455.8 MB, free: 5.461 MB / 366.1 MB Notification: Performance of matching and sorting (n=136): time 0.04899/0.4612, allocations: 18.4 MB / 474.2 MB, free: 2.781 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002482/0.4637, allocations: 3.047 MB / 477.2 MB, free: 15.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005297/0.4691, allocations: 2.978 MB / 480.2 MB, free: 12.41 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007079/0.4698, allocations: 56.44 kB / 480.3 MB, free: 12.36 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00183/0.4717, allocations: 2.071 MB / 482.3 MB, free: 10.29 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001426/0.4731, allocations: 0.5653 MB / 482.9 MB, free: 9.73 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001583/0.4747, allocations: 416.7 kB / 483.3 MB, free: 9.316 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.4749, allocations: 301.1 kB / 483.6 MB, free: 9.02 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004993/0.4799, allocations: 2.637 MB / 486.2 MB, free: 6.375 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007601/0.4875, allocations: 5.588 MB / 491.8 MB, free: 15.31 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01178/0.4993, allocations: 8.618 MB / 0.4887 GB, free: 5.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.166e-05/0.4994, allocations: 39.88 kB / 0.4887 GB, free: 5.191 MB / 414.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.03492/0.5344, allocations: 11.91 MB / 0.5004 GB, free: 9.254 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001081/0.5345, allocations: 52 kB / 0.5004 GB, free: 9.203 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02568/0.5602, allocations: 7.159 MB / 0.5074 GB, free: 2.012 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0245/0.5847, allocations: 4.717 MB / 0.512 GB, free: 13.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004569/0.5893, allocations: 1.248 MB / 0.5132 GB, free: 12.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2057/0.7951, allocations: 11.52 MB / 0.5245 GB, free: 139.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00591/0.801, allocations: 0.573 MB / 0.5251 GB, free: 139.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005876/0.8016, allocations: 317.6 kB / 0.5254 GB, free: 139.6 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.002583/0.8042, allocations: 1.422 MB / 0.5268 GB, free: 139.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000561/0.8048, allocations: 252.5 kB / 0.527 GB, free: 139.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001082/0.8059, allocations: 415.8 kB / 0.5274 GB, free: 139.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01184/0.8177, allocations: 5.019 MB / 0.5323 GB, free: 139.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.919e-05/0.8178, allocations: 5.938 kB / 0.5323 GB, free: 139.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.061e-05/0.8178, allocations: 6.391 kB / 0.5323 GB, free: 139.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008696/0.8265, allocations: 5.359 MB / 0.5375 GB, free: 137.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.408e-06/0.8265, allocations: 1.219 kB / 0.5375 GB, free: 137.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001759/0.8283, allocations: 366.1 kB / 0.5379 GB, free: 137.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008769/0.8371, allocations: 2.383 MB / 0.5402 GB, free: 137 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003989/0.8375, allocations: 47.94 kB / 0.5403 GB, free: 136.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007463/0.845, allocations: 8.846 MB / 0.5489 GB, free: 131 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001496/0.8465, allocations: 2.898 MB / 0.5517 GB, free: 128.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01507/0.8616, allocations: 8.774 MB / 0.5603 GB, free: 125.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000703/0.8623, allocations: 329.3 kB / 0.5606 GB, free: 125.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003636/0.8627, allocations: 31.12 kB / 0.5606 GB, free: 125.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002011/0.8647, allocations: 325.4 kB / 0.5609 GB, free: 125.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003987/0.8651, allocations: 104.1 kB / 0.561 GB, free: 125.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001558/0.8653, allocations: 55.11 kB / 0.5611 GB, free: 125.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002265/0.8675, allocations: 1.861 MB / 0.5629 GB, free: 124.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.8675, allocations: 0 / 0.5629 GB, free: 124.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003776/0.8713, allocations: 0.9925 MB / 0.5639 GB, free: 124.3 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.0004288/0.8718, allocations: 174.9 kB / 0.5641 GB, free: 124.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009945/0.8817, allocations: 7.399 MB / 0.5713 GB, free: 116.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.8818, allocations: 0 / 0.5713 GB, free: 116.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005508/0.8873, allocations: 3.623 MB / 0.5748 GB, free: 112.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002728/0.89, allocations: 303.7 kB / 0.5751 GB, free: 112.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01006/0.9001, allocations: 9.569 MB / 0.5845 GB, free: 103.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001619/0.9018, allocations: 2.294 MB / 0.5867 GB, free: 100.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003531/0.9053, allocations: 1.663 MB / 0.5883 GB, free: 99.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007056/0.906, allocations: 199.3 kB / 0.5885 GB, free: 98.88 MB / 446.1 MB Notification: Performance of SimCode: time 6.31e-07/0.906, allocations: 0 / 0.5885 GB, free: 98.88 MB / 446.1 MB Notification: Performance of Templates: time 0.05509/0.9611, allocations: 43.68 MB / 0.6312 GB, free: 55.29 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravity/PointGravity.csv","/var/lib/jenkins/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