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.001422/0.001422, allocations: 117.6 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001621/0.001621, allocations: 204.7 kB / 18.73 MB, free: 4.32 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 / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001082/0.001082, allocations: 59.89 kB / 358.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2478, allocations: 50.55 MB / 409.3 MB, free: 1.453 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.007131/0.2549, allocations: 6.949 MB / 416.2 MB, free: 10.47 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005082/0.26, allocations: 3.107 MB / 419.3 MB, free: 7.352 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005752/0.2606, allocations: 35.88 kB / 419.3 MB, free: 7.316 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001284/0.2619, allocations: 0.6575 MB / 420 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002524/0.2645, allocations: 1.366 MB / 421.4 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008564/0.2653, allocations: 0.4913 MB / 421.9 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003864/0.2692, allocations: 3.202 MB / 425.1 MB, free: 1.586 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007522/0.27, allocations: 467.1 kB / 425.5 MB, free: 1.117 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001101/0.2711, allocations: 0.7822 MB / 426.3 MB, free: 340 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001425/0.2726, allocations: 1.203 MB / 427.5 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002975/0.2729, allocations: 128 kB / 427.6 MB, free: 15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001828/0.2747, allocations: 0.9398 MB / 428.6 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009433/0.2757, allocations: 1.071 MB / 429.6 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001412/0.2771, allocations: 1.207 MB / 430.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006006/0.2831, allocations: 3.991 MB / 434.8 MB, free: 7.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.321e-06/0.2831, allocations: 0 / 434.8 MB, free: 7.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.2832, allocations: 4 kB / 434.8 MB, free: 7.766 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.745e-05/0.2832, allocations: 4 kB / 434.8 MB, free: 7.762 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.006334/0.2896, allocations: 3.17 MB / 438 MB, free: 4.531 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.2896, allocations: 8.031 kB / 438 MB, free: 4.523 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008033/0.2977, allocations: 2.006 MB / 440 MB, free: 2.512 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002819/0.3005, allocations: 1.594 MB / 441.6 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.984e-05/0.3006, allocations: 118.6 kB / 441.7 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008459/0.3015, allocations: 303.4 kB / 442 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0137/0.3152, allocations: 8.227 MB / 450.3 MB, free: 7.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.076e-05/0.3153, allocations: 31.66 kB / 450.3 MB, free: 7.629 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002868/0.3156, allocations: 79.89 kB / 450.4 MB, free: 7.551 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002104/0.3177, allocations: 1.401 MB / 451.8 MB, free: 6.145 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01701/0.3347, allocations: 9.542 MB / 461.3 MB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03699/0.3718, allocations: 30.52 MB / 491.8 MB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01159/0.3834, allocations: 4.383 MB / 496.2 MB, free: 8.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002702/0.3861, allocations: 2.12 MB / 498.3 MB, free: 6.543 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001036/0.3863, allocations: 15.92 kB / 498.4 MB, free: 6.527 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.3863, allocations: 42.56 kB / 498.4 MB, free: 6.477 MB / 414.1 MB Notification: Performance of pre-optimization done (n=122): time 4.078e-06/0.3863, allocations: 4 kB / 498.4 MB, free: 6.473 MB / 414.1 MB Notification: Performance of matching and sorting (n=136): time 0.04664/0.433, allocations: 18.29 MB / 0.5046 GB, free: 3.891 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002893/0.4359, allocations: 3.231 MB / 0.5077 GB, free: 332 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005519/0.4414, allocations: 2.974 MB / 0.5106 GB, free: 13.33 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005209/0.442, allocations: 41.7 kB / 0.5107 GB, free: 13.28 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001628/0.4436, allocations: 2.072 MB / 0.5127 GB, free: 11.18 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001157/0.4448, allocations: 0.5671 MB / 0.5133 GB, free: 10.61 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002512/0.4473, allocations: 1.015 MB / 0.5142 GB, free: 9.578 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.961e-05/0.4474, allocations: 309.1 kB / 0.5145 GB, free: 9.273 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004076/0.4515, allocations: 2.629 MB / 0.5171 GB, free: 6.637 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006015/0.4576, allocations: 5.588 MB / 0.5226 GB, free: 15.57 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01117/0.4688, allocations: 8.627 MB / 0.531 GB, free: 5.484 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.616e-05/0.4689, allocations: 35.94 kB / 0.531 GB, free: 5.449 MB / 462.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.2406/0.7095, allocations: 11.92 MB / 0.5427 GB, free: 120.1 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.313e-05/0.7096, allocations: 47.53 kB / 0.5427 GB, free: 120.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02135/0.7309, allocations: 7.159 MB / 0.5497 GB, free: 118.9 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02085/0.7518, allocations: 4.721 MB / 0.5543 GB, free: 116.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004275/0.7561, allocations: 1.251 MB / 0.5555 GB, free: 115.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01436/0.7705, allocations: 12.58 MB / 0.5678 GB, free: 102.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005173/0.7757, allocations: 0.5727 MB / 0.5684 GB, free: 101.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008571/0.7766, allocations: 315.9 kB / 0.5687 GB, free: 101.4 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.002019/0.7787, allocations: 1.419 MB / 0.5701 GB, free: 100.1 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005164/0.7792, allocations: 256.8 kB / 0.5703 GB, free: 99.96 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006825/0.7799, allocations: 414.9 kB / 0.5707 GB, free: 99.55 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009683/0.7896, allocations: 5.014 MB / 0.5756 GB, free: 94.52 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-05/0.7896, allocations: 4 kB / 0.5756 GB, free: 94.52 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.84e-05/0.7896, allocations: 7.984 kB / 0.5756 GB, free: 94.51 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006646/0.7963, allocations: 5.343 MB / 0.5808 GB, free: 89.17 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.7963, allocations: 7.984 kB / 0.5808 GB, free: 89.16 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001542/0.7979, allocations: 367.4 kB / 0.5812 GB, free: 88.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007316/0.8052, allocations: 2.386 MB / 0.5835 GB, free: 86.39 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003008/0.8055, allocations: 51.94 kB / 0.5836 GB, free: 86.34 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007126/0.8127, allocations: 9.451 MB / 0.5928 GB, free: 76.41 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001313/0.814, allocations: 3.069 MB / 0.5958 GB, free: 73.06 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01372/0.8277, allocations: 8.768 MB / 0.6044 GB, free: 64.38 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008254/0.8286, allocations: 323.6 kB / 0.6047 GB, free: 64.08 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003819/0.829, allocations: 43.98 kB / 0.6047 GB, free: 64.04 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001891/0.8309, allocations: 315 kB / 0.605 GB, free: 63.73 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003876/0.8313, allocations: 115.5 kB / 0.6051 GB, free: 63.62 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001505/0.8314, allocations: 51.95 kB / 0.6052 GB, free: 63.57 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002217/0.8337, allocations: 1.859 MB / 0.607 GB, free: 61.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.8337, allocations: 0 / 0.607 GB, free: 61.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003807/0.8375, allocations: 0.9908 MB / 0.608 GB, free: 60.72 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.0004362/0.838, allocations: 171.3 kB / 0.6081 GB, free: 60.54 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009943/0.8479, allocations: 7.458 MB / 0.6154 GB, free: 52.97 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.952e-06/0.848, allocations: 0 / 0.6154 GB, free: 52.97 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005333/0.8533, allocations: 3.646 MB / 0.619 GB, free: 49.19 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002297/0.8556, allocations: 295.5 kB / 0.6192 GB, free: 48.9 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01118/0.8668, allocations: 8.098 MB / 0.6272 GB, free: 40.78 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001868/0.8688, allocations: 2.293 MB / 0.6294 GB, free: 38.46 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003365/0.8721, allocations: 1.674 MB / 0.631 GB, free: 36.78 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007742/0.8729, allocations: 191.3 kB / 0.6312 GB, free: 36.59 MB / 462.1 MB Notification: Performance of SimCode: time 1.082e-06/0.8729, allocations: 4 kB / 0.6312 GB, free: 36.59 MB / 462.1 MB Notification: Performance of Templates: time 0.05751/0.9305, allocations: 43.28 MB / 0.6735 GB, free: 9.43 MB / 478.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