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.001879/0.001879, allocations: 105.1 kB / 21.22 MB, free: 0.5117 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.002441/0.002441, allocations: 217.3 kB / 24.54 MB, free: 3.898 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.491/1.491, allocations: 230.3 MB / 258 MB, free: 8.219 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.002055/0.002055, allocations: 63.89 kB / 378.8 MB, free: 2.762 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2822, allocations: 53.37 MB / 432.1 MB, free: 7.074 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.00924/0.2914, allocations: 7.015 MB / 439.1 MB, free: 32 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0064/0.2978, allocations: 3.162 MB / 442.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001228/0.2991, allocations: 35.88 kB / 442.3 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001731/0.3008, allocations: 0.673 MB / 443 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003421/0.3042, allocations: 1.39 MB / 444.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.3053, allocations: 0.499 MB / 444.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004514/0.3098, allocations: 3.206 MB / 448.1 MB, free: 7.043 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006898/0.3105, allocations: 343.4 kB / 448.4 MB, free: 6.695 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001131/0.3116, allocations: 0.8095 MB / 449.3 MB, free: 5.883 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001765/0.3134, allocations: 1.332 MB / 450.6 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002876/0.3137, allocations: 132 kB / 450.7 MB, free: 4.418 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001755/0.3154, allocations: 0.971 MB / 451.7 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001105/0.3165, allocations: 1.094 MB / 452.8 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001289/0.3178, allocations: 1.215 MB / 454 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004643/0.3225, allocations: 4.016 MB / 458 MB, free: 13.1 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.3225, allocations: 0 / 458 MB, free: 13.1 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3225, allocations: 0 / 458 MB, free: 13.1 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.26e-05/0.3225, allocations: 0 / 458 MB, free: 13.1 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.006679/0.3292, allocations: 3.184 MB / 461.2 MB, free: 9.867 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.3292, allocations: 12.03 kB / 461.2 MB, free: 9.855 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009223/0.3385, allocations: 2.019 MB / 463.2 MB, free: 7.832 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00366/0.3421, allocations: 1.544 MB / 464.8 MB, free: 6.254 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/0.3422, allocations: 114.6 kB / 464.9 MB, free: 6.141 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009214/0.3432, allocations: 299.5 kB / 465.2 MB, free: 5.848 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01639/0.3595, allocations: 8.219 MB / 473.4 MB, free: 13.06 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.687e-05/0.3596, allocations: 39.64 kB / 473.4 MB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002873/0.3599, allocations: 83.88 kB / 473.5 MB, free: 12.94 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002434/0.3623, allocations: 1.393 MB / 474.9 MB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01993/0.3823, allocations: 9.585 MB / 484.5 MB, free: 1.953 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04013/0.4224, allocations: 30.51 MB / 0.5029 GB, free: 2.582 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01269/0.4351, allocations: 3.885 MB / 0.5067 GB, free: 14.64 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004974/0.4401, allocations: 2.078 MB / 0.5087 GB, free: 12.55 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001195/0.4402, allocations: 23.84 kB / 0.5088 GB, free: 12.53 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.11e-05/0.4403, allocations: 50.5 kB / 0.5088 GB, free: 12.47 MB / 430.1 MB Notification: Performance of pre-optimization done (n=122): time 4.869e-06/0.4403, allocations: 0 / 0.5088 GB, free: 12.47 MB / 430.1 MB Notification: Performance of matching and sorting (n=136): time 0.0902/0.5305, allocations: 17.83 MB / 0.5262 GB, free: 10.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004277/0.5347, allocations: 3.028 MB / 0.5292 GB, free: 7.199 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005038/0.5398, allocations: 2.983 MB / 0.5321 GB, free: 4.195 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004727/0.5402, allocations: 45.69 kB / 0.5321 GB, free: 4.145 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001708/0.542, allocations: 2.155 MB / 0.5343 GB, free: 1.969 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009028/0.5429, allocations: 0.5932 MB / 0.5348 GB, free: 1.371 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001548/0.5444, allocations: 1.032 MB / 0.5358 GB, free: 336 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.5445, allocations: 305.1 kB / 0.5361 GB, free: 28 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2023/0.7468, allocations: 2.625 MB / 0.5387 GB, free: 101.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004422/0.7513, allocations: 5.584 MB / 0.5441 GB, free: 96.34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007044/0.7583, allocations: 8.628 MB / 0.5526 GB, free: 89.99 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.121e-05/0.7583, allocations: 30.25 kB / 0.5526 GB, free: 89.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.02905/0.7874, allocations: 11.92 MB / 0.5642 GB, free: 83.02 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.76e-05/0.7875, allocations: 52.06 kB / 0.5643 GB, free: 82.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02123/0.8087, allocations: 7.141 MB / 0.5713 GB, free: 75.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02184/0.8305, allocations: 4.72 MB / 0.5759 GB, free: 71.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003859/0.8344, allocations: 1.248 MB / 0.5771 GB, free: 69.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01363/0.848, allocations: 12.18 MB / 0.589 GB, free: 57.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005213/0.8532, allocations: 0.5751 MB / 0.5896 GB, free: 56.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009483/0.8542, allocations: 323.2 kB / 0.5899 GB, free: 56.36 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.002186/0.8564, allocations: 1.414 MB / 0.5912 GB, free: 55 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000502/0.8569, allocations: 264.5 kB / 0.5915 GB, free: 54.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008072/0.8577, allocations: 410.9 kB / 0.5919 GB, free: 54.48 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01008/0.8677, allocations: 5.001 MB / 0.5968 GB, free: 49.45 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.318e-05/0.8678, allocations: 8 kB / 0.5968 GB, free: 49.45 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.404e-05/0.8678, allocations: 7.984 kB / 0.5968 GB, free: 49.44 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00625/0.874, allocations: 5.284 MB / 0.6019 GB, free: 44.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.874, allocations: 4 kB / 0.6019 GB, free: 44.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001595/0.8756, allocations: 367.4 kB / 0.6023 GB, free: 43.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00803/0.8837, allocations: 2.386 MB / 0.6046 GB, free: 41.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002893/0.8839, allocations: 51.94 kB / 0.6047 GB, free: 41.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007141/0.8911, allocations: 9.03 MB / 0.6135 GB, free: 31.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001293/0.8924, allocations: 2.872 MB / 0.6163 GB, free: 28.81 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0142/0.9066, allocations: 8.765 MB / 0.6249 GB, free: 20.01 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006569/0.9072, allocations: 261.1 kB / 0.6251 GB, free: 19.76 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004032/0.9076, allocations: 35.98 kB / 0.6251 GB, free: 19.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002112/0.9097, allocations: 321.7 kB / 0.6255 GB, free: 19.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003722/0.9101, allocations: 111.6 kB / 0.6256 GB, free: 19.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001573/0.9103, allocations: 51.95 kB / 0.6256 GB, free: 19.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002023/0.9123, allocations: 1.859 MB / 0.6274 GB, free: 17.39 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.9123, allocations: 0 / 0.6274 GB, free: 17.39 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003572/0.9159, allocations: 0.9925 MB / 0.6284 GB, free: 16.4 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.0004307/0.9163, allocations: 179.4 kB / 0.6286 GB, free: 16.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01065/0.927, allocations: 6.885 MB / 0.6353 GB, free: 9.297 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.927, allocations: 0 / 0.6353 GB, free: 9.297 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005538/0.9325, allocations: 3.263 MB / 0.6385 GB, free: 5.973 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001992/0.9345, allocations: 305.5 kB / 0.6388 GB, free: 5.676 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009851/0.9443, allocations: 8.254 MB / 0.6468 GB, free: 13.39 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002411/0.9467, allocations: 2.286 MB / 0.6491 GB, free: 11.08 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003696/0.9504, allocations: 1.659 MB / 0.6507 GB, free: 9.414 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000749/0.9512, allocations: 203.3 kB / 0.6509 GB, free: 9.215 MB / 462.1 MB Notification: Performance of SimCode: time 8.92e-07/0.9512, allocations: 0 / 0.6509 GB, free: 9.215 MB / 462.1 MB Notification: Performance of Templates: time 0.08153/1.033, allocations: 47.2 MB / 0.697 GB, free: 10.16 MB / 0.4981 GB " [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.73572344891727]