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.001339/0.001339, allocations: 109.1 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001458/0.001458, allocations: 206.8 kB / 19.4 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 63.88 kB / 359.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.262, allocations: 50.54 MB / 409.9 MB, free: 1.633 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.00818/0.2702, allocations: 6.956 MB / 416.9 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005548/0.2758, allocations: 3.1 MB / 420 MB, free: 7.535 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006881/0.2765, allocations: 35.88 kB / 420 MB, free: 7.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001409/0.278, allocations: 0.6692 MB / 420.7 MB, free: 6.828 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002986/0.281, allocations: 1.358 MB / 422.1 MB, free: 5.465 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009375/0.2819, allocations: 0.4952 MB / 422.6 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003778/0.2857, allocations: 3.195 MB / 425.7 MB, free: 1.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007549/0.2865, allocations: 463.1 kB / 426.2 MB, free: 1.305 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00108/0.2876, allocations: 0.7861 MB / 427 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001444/0.289, allocations: 1.207 MB / 428.2 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003054/0.2893, allocations: 128 kB / 428.3 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001746/0.2911, allocations: 0.936 MB / 429.3 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009123/0.292, allocations: 1.071 MB / 430.3 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001144/0.2932, allocations: 1.207 MB / 431.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004218/0.2974, allocations: 3.991 MB / 435.5 MB, free: 7.953 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2974, allocations: 8 kB / 435.5 MB, free: 7.945 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2974, allocations: 0 / 435.5 MB, free: 7.945 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.843e-05/0.2975, allocations: 0 / 435.5 MB, free: 7.945 MB / 350.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.006604/0.3041, allocations: 3.17 MB / 438.7 MB, free: 4.715 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.3042, allocations: 16.02 kB / 438.7 MB, free: 4.699 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008669/0.3129, allocations: 2.002 MB / 440.7 MB, free: 2.691 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002991/0.3159, allocations: 1.598 MB / 442.3 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/0.316, allocations: 118.6 kB / 442.4 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008779/0.3169, allocations: 307.4 kB / 442.7 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01417/0.3311, allocations: 8.219 MB / 450.9 MB, free: 7.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.225e-05/0.3312, allocations: 43.64 kB / 451 MB, free: 7.797 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002656/0.3314, allocations: 75.89 kB / 451.1 MB, free: 7.723 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002194/0.3336, allocations: 1.393 MB / 452.5 MB, free: 6.324 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0173/0.351, allocations: 9.538 MB / 462 MB, free: 12.78 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03497/0.3859, allocations: 30.53 MB / 492.5 MB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01225/0.3982, allocations: 4.379 MB / 496.9 MB, free: 8.859 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002766/0.4011, allocations: 2.12 MB / 499 MB, free: 6.723 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.546e-05/0.4011, allocations: 11.94 kB / 499 MB, free: 6.711 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.4012, allocations: 46.56 kB / 499.1 MB, free: 6.656 MB / 414.1 MB Notification: Performance of pre-optimization done (n=122): time 3.347e-06/0.4012, allocations: 4 kB / 499.1 MB, free: 6.652 MB / 414.1 MB Notification: Performance of matching and sorting (n=136): time 0.04666/0.4479, allocations: 18.29 MB / 0.5052 GB, free: 4.074 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002574/0.4505, allocations: 3.236 MB / 0.5084 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004304/0.4548, allocations: 2.974 MB / 0.5113 GB, free: 13.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005597/0.4554, allocations: 41.7 kB / 0.5113 GB, free: 13.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001388/0.4568, allocations: 2.071 MB / 0.5134 GB, free: 11.36 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007264/0.4575, allocations: 0.571 MB / 0.5139 GB, free: 10.78 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001387/0.4589, allocations: 1.011 MB / 0.5149 GB, free: 9.758 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.794e-05/0.459, allocations: 313.1 kB / 0.5152 GB, free: 9.449 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003671/0.4627, allocations: 2.629 MB / 0.5178 GB, free: 6.812 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005736/0.4685, allocations: 5.585 MB / 0.5232 GB, free: 15.75 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01073/0.4792, allocations: 8.626 MB / 0.5317 GB, free: 5.664 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.354e-05/0.4793, allocations: 35.94 kB / 0.5317 GB, free: 5.629 MB / 462.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.2555/0.7349, allocations: 11.91 MB / 0.5433 GB, free: 120.1 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.396e-05/0.735, allocations: 58.64 kB / 0.5434 GB, free: 120.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02228/0.7573, allocations: 7.162 MB / 0.5504 GB, free: 119 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02243/0.7797, allocations: 4.722 MB / 0.555 GB, free: 116.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003947/0.7837, allocations: 1.239 MB / 0.5562 GB, free: 115.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01428/0.798, allocations: 12.59 MB / 0.5685 GB, free: 102.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004856/0.8029, allocations: 0.5801 MB / 0.5691 GB, free: 101.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007269/0.8036, allocations: 323.4 kB / 0.5694 GB, free: 101.6 MB / 462.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.001784/0.8054, allocations: 1.409 MB / 0.5707 GB, free: 100.3 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004788/0.8059, allocations: 255.4 kB / 0.571 GB, free: 100.2 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008509/0.8068, allocations: 414.9 kB / 0.5714 GB, free: 99.78 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01052/0.8173, allocations: 5.01 MB / 0.5763 GB, free: 94.75 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.116e-05/0.8173, allocations: 12 kB / 0.5763 GB, free: 94.73 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.039e-05/0.8174, allocations: 4.219 kB / 0.5763 GB, free: 94.73 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006464/0.8238, allocations: 5.353 MB / 0.5815 GB, free: 89.39 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.8239, allocations: 0 / 0.5815 GB, free: 89.39 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001678/0.8256, allocations: 367.4 kB / 0.5819 GB, free: 89.03 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008266/0.8338, allocations: 2.386 MB / 0.5842 GB, free: 86.61 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004014/0.8343, allocations: 43.95 kB / 0.5842 GB, free: 86.57 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007285/0.8416, allocations: 9.456 MB / 0.5935 GB, free: 76.63 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001342/0.8429, allocations: 3.068 MB / 0.5965 GB, free: 73.28 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01463/0.8576, allocations: 8.78 MB / 0.605 GB, free: 64.59 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006149/0.8582, allocations: 322.2 kB / 0.6053 GB, free: 64.29 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004465/0.8587, allocations: 35.45 kB / 0.6054 GB, free: 64.26 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002085/0.8608, allocations: 319.4 kB / 0.6057 GB, free: 63.95 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004079/0.8612, allocations: 111.5 kB / 0.6058 GB, free: 63.84 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001546/0.8613, allocations: 51.95 kB / 0.6058 GB, free: 63.79 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00212/0.8635, allocations: 1.859 MB / 0.6077 GB, free: 61.93 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.8635, allocations: 2.734 kB / 0.6077 GB, free: 61.93 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003625/0.8671, allocations: 0.9947 MB / 0.6086 GB, free: 60.94 MB / 462.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.0004352/0.8676, allocations: 174.7 kB / 0.6088 GB, free: 60.76 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01022/0.8778, allocations: 7.464 MB / 0.6161 GB, free: 53.18 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.371e-06/0.8778, allocations: 0 / 0.6161 GB, free: 53.18 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00585/0.8837, allocations: 3.649 MB / 0.6196 GB, free: 49.39 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002229/0.886, allocations: 301.1 kB / 0.6199 GB, free: 49.11 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009369/0.8953, allocations: 8.387 MB / 0.6281 GB, free: 40.68 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001568/0.8969, allocations: 2.285 MB / 0.6304 GB, free: 38.37 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001301/0.8983, allocations: 243.3 kB / 0.6306 GB, free: 38.13 MB / 462.1 MB Notification: Performance of SimCode: time 6.51e-07/0.8983, allocations: 0 / 0.6306 GB, free: 38.13 MB / 462.1 MB Notification: Performance of Templates: time 0.3094/1.208, allocations: 145.3 MB / 0.7725 GB, free: 147.7 MB / 0.5138 GB 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/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