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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001935/0.001935, allocations: 111.1 kB / 20.44 MB, free: 1.352 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002371/0.002371, allocations: 216.4 kB / 23.73 MB, free: 4.531 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.519/1.519, allocations: 230.5 MB / 257.4 MB, free: 7.758 MB / 206.1 MB " [Timeout remaining time 178] 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=5002,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=5002,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003238/0.003238, allocations: 55.91 kB / 378.2 MB, free: 2.309 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.2808, allocations: 53.41 MB / 431.6 MB, free: 6.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.008805/0.2896, allocations: 6.184 MB / 437.8 MB, free: 324 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006258/0.2958, allocations: 2.94 MB / 440.8 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006166/0.2965, allocations: 35.88 kB / 440.8 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001475/0.2979, allocations: 0.6613 MB / 441.5 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002988/0.3009, allocations: 1.396 MB / 442.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001072/0.302, allocations: 0.4952 MB / 443.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004179/0.3062, allocations: 3.211 MB / 446.6 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009885/0.3072, allocations: 0.4905 MB / 447 MB, free: 7.051 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001273/0.3084, allocations: 0.7978 MB / 447.8 MB, free: 6.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002032/0.3105, allocations: 1.308 MB / 449.2 MB, free: 4.938 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003625/0.3108, allocations: 128 kB / 449.3 MB, free: 4.812 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001833/0.3127, allocations: 0.854 MB / 450.1 MB, free: 3.957 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001161/0.3138, allocations: 1.094 MB / 451.2 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001126/0.315, allocations: 0.873 MB / 452.1 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004683/0.3196, allocations: 4.02 MB / 456.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3196, allocations: 0 / 456.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3196, allocations: 4 kB / 456.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.919e-05/0.3197, allocations: 0 / 456.1 MB, free: 13.95 MB / 366.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.006907/0.3266, allocations: 3.176 MB / 459.3 MB, free: 10.72 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.3266, allocations: 15.98 kB / 459.3 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008615/0.3352, allocations: 2.019 MB / 461.3 MB, free: 8.684 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003448/0.3387, allocations: 1.556 MB / 462.9 MB, free: 7.094 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001222/0.3388, allocations: 118.6 kB / 463 MB, free: 6.977 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009073/0.3397, allocations: 303.5 kB / 463.3 MB, free: 6.68 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01485/0.3546, allocations: 8.215 MB / 471.5 MB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.145e-05/0.3546, allocations: 39.64 kB / 471.6 MB, free: 13.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002686/0.3549, allocations: 75.89 kB / 471.6 MB, free: 13.78 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00241/0.3573, allocations: 1.397 MB / 473 MB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01921/0.3765, allocations: 9.557 MB / 482.6 MB, free: 2.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04294/0.4195, allocations: 29.14 MB / 0.4997 GB, free: 4.836 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0127/0.4322, allocations: 3.881 MB / 0.5035 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003348/0.4355, allocations: 2.082 MB / 0.5055 GB, free: 14.81 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001103/0.4356, allocations: 8 kB / 0.5056 GB, free: 14.8 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.821e-05/0.4357, allocations: 50.5 kB / 0.5056 GB, free: 14.74 MB / 430.1 MB Notification: Performance of pre-optimization done (n=122): time 5.381e-06/0.4357, allocations: 0 / 0.5056 GB, free: 14.74 MB / 430.1 MB Notification: Performance of matching and sorting (n=136): time 0.04873/0.4844, allocations: 17.86 MB / 0.5231 GB, free: 12.76 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002695/0.4871, allocations: 2.979 MB / 0.526 GB, free: 9.516 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004287/0.4914, allocations: 2.838 MB / 0.5287 GB, free: 6.652 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003213/0.4917, allocations: 45.69 kB / 0.5288 GB, free: 6.602 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001762/0.4935, allocations: 2.182 MB / 0.5309 GB, free: 4.395 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008387/0.4943, allocations: 0.5895 MB / 0.5315 GB, free: 3.801 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001816/0.4962, allocations: 1.028 MB / 0.5325 GB, free: 2.762 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.4963, allocations: 301.1 kB / 0.5328 GB, free: 2.465 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1899/0.6862, allocations: 2.629 MB / 0.5353 GB, free: 100.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005477/0.6917, allocations: 5.586 MB / 0.5408 GB, free: 96.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008177/0.6999, allocations: 8.627 MB / 0.5492 GB, free: 90.29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001161/0.7, allocations: 30.56 kB / 0.5492 GB, free: 90.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.03042/0.7304, allocations: 11.9 MB / 0.5609 GB, free: 84.74 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.417e-05/0.7305, allocations: 49.56 kB / 0.5609 GB, free: 84.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02162/0.7521, allocations: 7.142 MB / 0.5679 GB, free: 77.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0215/0.7736, allocations: 4.725 MB / 0.5725 GB, free: 72.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003815/0.7774, allocations: 1.24 MB / 0.5737 GB, free: 71.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01381/0.7912, allocations: 11.96 MB / 0.5854 GB, free: 59.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00472/0.7959, allocations: 0.5766 MB / 0.586 GB, free: 58.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004514/0.7964, allocations: 327.9 kB / 0.5863 GB, free: 58.35 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.001637/0.798, allocations: 1.409 MB / 0.5876 GB, free: 57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003865/0.7984, allocations: 239.3 kB / 0.5879 GB, free: 56.9 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007166/0.7991, allocations: 396.7 kB / 0.5883 GB, free: 56.51 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01053/0.8096, allocations: 4.997 MB / 0.5931 GB, free: 51.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-05/0.8097, allocations: 4 kB / 0.5931 GB, free: 51.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.8097, allocations: 7.922 kB / 0.5931 GB, free: 51.47 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006137/0.8158, allocations: 4.581 MB / 0.5976 GB, free: 46.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/0.8158, allocations: 0 / 0.5976 GB, free: 46.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001664/0.8175, allocations: 375.3 kB / 0.598 GB, free: 46.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008244/0.8257, allocations: 2.384 MB / 0.6003 GB, free: 44.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003122/0.826, allocations: 51.94 kB / 0.6004 GB, free: 44.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007203/0.8332, allocations: 8.907 MB / 0.6091 GB, free: 34.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001279/0.8345, allocations: 2.817 MB / 0.6118 GB, free: 31.81 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01432/0.8488, allocations: 8.744 MB / 0.6203 GB, free: 23.15 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006145/0.8494, allocations: 239.7 kB / 0.6206 GB, free: 22.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003607/0.8498, allocations: 35.5 kB / 0.6206 GB, free: 22.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002026/0.8518, allocations: 323.4 kB / 0.6209 GB, free: 22.58 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003718/0.8522, allocations: 107.8 kB / 0.621 GB, free: 22.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001565/0.8524, allocations: 51.91 kB / 0.6211 GB, free: 22.42 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001979/0.8543, allocations: 1.637 MB / 0.6227 GB, free: 20.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.8543, allocations: 0 / 0.6227 GB, free: 20.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003923/0.8583, allocations: 0.993 MB / 0.6236 GB, free: 19.79 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.000423/0.8587, allocations: 170.2 kB / 0.6238 GB, free: 19.62 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01/0.8687, allocations: 6.887 MB / 0.6305 GB, free: 12.69 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.8687, allocations: 0 / 0.6305 GB, free: 12.69 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005484/0.8742, allocations: 3.264 MB / 0.6337 GB, free: 9.355 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001808/0.876, allocations: 277.9 kB / 0.634 GB, free: 9.09 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009207/0.8852, allocations: 8.211 MB / 0.642 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001948/0.8871, allocations: 1.717 MB / 0.6437 GB, free: 15.11 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003763/0.8909, allocations: 1.638 MB / 0.6453 GB, free: 13.46 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007239/0.8916, allocations: 183.3 kB / 0.6454 GB, free: 13.28 MB / 462.1 MB Notification: Performance of SimCode: time 7.21e-07/0.8916, allocations: 0 / 0.6454 GB, free: 13.28 MB / 462.1 MB Notification: Performance of Templates: time 0.07707/0.9687, allocations: 44.91 MB / 0.6893 GB, free: 0.5352 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.632079837843776]