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.00109/0.00109, allocations: 112.2 kB / 16.62 MB, free: 6.812 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.001184/0.001184, allocations: 185.8 kB / 17.55 MB, free: 5.934 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.292/1.292, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009294/0.0009294, allocations: 43.06 kB / 300.1 MB, free: 6.23 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09598/0.09692, allocations: 49.46 MB / 349.6 MB, free: 4.758 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.01367/0.1106, allocations: 13.96 MB / 363.5 MB, free: 6.734 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008305/0.119, allocations: 4.208 MB / 367.7 MB, free: 2.516 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002219/0.1213, allocations: 55.81 kB / 367.8 MB, free: 2.461 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001616/0.123, allocations: 0.6152 MB / 368.4 MB, free: 1.844 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003147/0.1261, allocations: 1.312 MB / 369.7 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000936/0.1271, allocations: 479.3 kB / 370.2 MB, free: 60 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1961/0.3232, allocations: 3.117 MB / 373.3 MB, free: 9.395 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001054/0.3243, allocations: 473.5 kB / 373.8 MB, free: 9.344 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001484/0.3258, allocations: 0.8017 MB / 374.6 MB, free: 9.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0018/0.3276, allocations: 1.372 MB / 375.9 MB, free: 9.18 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003227/0.3279, allocations: 131.1 kB / 376.1 MB, free: 9.18 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001757/0.3297, allocations: 0.9636 MB / 377 MB, free: 9.18 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00112/0.3308, allocations: 1.108 MB / 378.1 MB, free: 9.059 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001126/0.3319, allocations: 1.243 MB / 379.4 MB, free: 8.582 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0042/0.3361, allocations: 3.91 MB / 383.3 MB, free: 8 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3362, allocations: 5.094 kB / 383.3 MB, free: 7.996 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3362, allocations: 0 / 383.3 MB, free: 7.996 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.939e-05/0.3363, allocations: 3.094 kB / 383.3 MB, free: 7.996 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.006591/0.3429, allocations: 3.204 MB / 386.5 MB, free: 6.328 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.3429, allocations: 8.844 kB / 386.5 MB, free: 6.328 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007858/0.3508, allocations: 1.89 MB / 388.4 MB, free: 5.367 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00289/0.3537, allocations: 1.629 MB / 390 MB, free: 4.422 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.76e-05/0.3538, allocations: 109.4 kB / 390.1 MB, free: 4.398 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008695/0.3547, allocations: 311.2 kB / 390.5 MB, free: 4.305 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01416/0.3688, allocations: 8.221 MB / 398.7 MB, free: 14.8 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.959e-05/0.3689, allocations: 35.12 kB / 398.7 MB, free: 14.79 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000297/0.3692, allocations: 76.91 kB / 398.8 MB, free: 14.74 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002348/0.3716, allocations: 1.399 MB / 400.2 MB, free: 13.36 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01901/0.3906, allocations: 9.54 MB / 409.7 MB, free: 3.98 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03575/0.4264, allocations: 30.6 MB / 440.3 MB, free: 4.812 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01218/0.4386, allocations: 4.388 MB / 444.7 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003189/0.4418, allocations: 2.116 MB / 446.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.929e-05/0.4419, allocations: 20 kB / 446.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.118e-05/0.442, allocations: 50.48 kB / 446.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 3.427e-06/0.442, allocations: 0 / 446.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=136): time 0.04852/0.4905, allocations: 18.3 MB / 465.2 MB, free: 11.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002477/0.493, allocations: 3.223 MB / 468.4 MB, free: 7.941 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00466/0.4977, allocations: 2.986 MB / 471.4 MB, free: 4.934 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007357/0.4985, allocations: 45.22 kB / 471.4 MB, free: 4.887 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001478/0.5, allocations: 2.077 MB / 473.5 MB, free: 2.816 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008192/0.5008, allocations: 0.5641 MB / 474.1 MB, free: 2.258 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0016/0.5024, allocations: 1.01 MB / 475.1 MB, free: 1.238 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.5025, allocations: 309.2 kB / 475.4 MB, free: 0.9336 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003798/0.5063, allocations: 2.633 MB / 478 MB, free: 14.29 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00592/0.5123, allocations: 5.584 MB / 483.6 MB, free: 7.238 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01091/0.5232, allocations: 8.623 MB / 492.2 MB, free: 13.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.283e-05/0.5233, allocations: 32 kB / 492.3 MB, free: 13.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.0343/0.5576, allocations: 11.79 MB / 0.4922 GB, free: 1.312 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001481/0.5578, allocations: 48 kB / 0.4923 GB, free: 1.266 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02447/0.5823, allocations: 7.012 MB / 0.4991 GB, free: 10.22 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0228/0.6051, allocations: 4.546 MB / 0.5036 GB, free: 5.645 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004722/0.6099, allocations: 1.248 MB / 0.5048 GB, free: 4.395 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01785/0.6278, allocations: 12.55 MB / 0.5171 GB, free: 7.289 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00627/0.6341, allocations: 0.5773 MB / 0.5176 GB, free: 6.711 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001342/0.6355, allocations: 319.1 kB / 0.5179 GB, free: 6.402 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.003164/0.6387, allocations: 1.411 MB / 0.5193 GB, free: 4.977 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006288/0.6393, allocations: 260.9 kB / 0.5195 GB, free: 4.719 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009017/0.6402, allocations: 419 kB / 0.5199 GB, free: 4.301 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1803/0.8205, allocations: 5.006 MB / 0.5248 GB, free: 150 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.114e-05/0.8206, allocations: 4.219 kB / 0.5248 GB, free: 150 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.123e-05/0.8207, allocations: 8.625 kB / 0.5248 GB, free: 150 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008628/0.8293, allocations: 5.364 MB / 0.5301 GB, free: 149.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/0.8293, allocations: 3.75 kB / 0.5301 GB, free: 149.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00178/0.8311, allocations: 364.8 kB / 0.5304 GB, free: 149.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008885/0.84, allocations: 2.395 MB / 0.5328 GB, free: 149.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008003/0.8408, allocations: 51.22 kB / 0.5328 GB, free: 149.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009331/0.8502, allocations: 9.438 MB / 0.542 GB, free: 142.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001631/0.8518, allocations: 3.073 MB / 0.545 GB, free: 139.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01481/0.8667, allocations: 8.764 MB / 0.5536 GB, free: 136.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009141/0.8676, allocations: 324.4 kB / 0.5539 GB, free: 136.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004405/0.8681, allocations: 34.92 kB / 0.5539 GB, free: 136.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001947/0.87, allocations: 321.4 kB / 0.5543 GB, free: 136.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004226/0.8705, allocations: 107.7 kB / 0.5544 GB, free: 136.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001686/0.8706, allocations: 58.03 kB / 0.5544 GB, free: 136.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002597/0.8733, allocations: 1.865 MB / 0.5562 GB, free: 136.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.8733, allocations: 0 / 0.5562 GB, free: 136.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003683/0.877, allocations: 1.005 MB / 0.5572 GB, free: 136 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.0004079/0.8774, allocations: 170 kB / 0.5574 GB, free: 135.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0101/0.8875, allocations: 7.732 MB / 0.5649 GB, free: 129.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.8875, allocations: 0 / 0.5649 GB, free: 129.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00523/0.8928, allocations: 3.651 MB / 0.5685 GB, free: 125.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002375/0.8951, allocations: 309.2 kB / 0.5688 GB, free: 125.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01017/0.9053, allocations: 9.306 MB / 0.5779 GB, free: 116.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001556/0.9069, allocations: 2.29 MB / 0.5801 GB, free: 113.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003442/0.9104, allocations: 1.66 MB / 0.5817 GB, free: 112.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007131/0.9111, allocations: 203.3 kB / 0.5819 GB, free: 111.9 MB / 446.1 MB Notification: Performance of SimCode: time 8.12e-07/0.9111, allocations: 0 / 0.5819 GB, free: 111.9 MB / 446.1 MB Notification: Performance of Templates: time 0.05851/0.9696, allocations: 46.23 MB / 0.6271 GB, free: 65.76 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/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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches