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.001105/0.001105, allocations: 84.25 kB / 22.22 MB, free: 2.277 MB / 18.57 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.001549/0.001549, allocations: 169.5 kB / 25.61 MB, free: 8.57 MB / 18.57 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 0.9004/0.9004, allocations: 177 MB / 205.9 MB, free: 4.449 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|body1.v_0.[0-9,]+.|body1.w_a.[0-9,]+.|body2.frame_a.r_0.[0-9,]+.|body2.v_0.[0-9,]+.|body2.w_a.[0-9,]+.",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.[0-9,]+.|body1.v_0.[0-9,]+.|body1.w_a.[0-9,]+.|body2.frame_a.r_0.[0-9,]+.|body2.v_0.[0-9,]+.|body2.w_a.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 6.71e-07/6.71e-07, allocations: 0 / 274.1 MB, free: 4.273 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.047e-05/1.114e-05, allocations: 2.312 kB / 274.1 MB, free: 4.27 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.00496/0.004971, allocations: 6.606 MB / 280.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00396/0.008932, allocations: 3.029 MB / 283.8 MB, free: 10.61 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003262/0.009258, allocations: 39.81 kB / 283.8 MB, free: 10.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00103/0.01029, allocations: 0.7002 MB / 284.5 MB, free: 9.871 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00191/0.0122, allocations: 1.443 MB / 285.9 MB, free: 8.422 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006738/0.01287, allocations: 0.5612 MB / 286.5 MB, free: 7.859 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003226/0.0161, allocations: 3.875 MB / 290.4 MB, free: 3.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002704/0.0188, allocations: 0.67 MB / 291 MB, free: 3.297 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001184/0.01999, allocations: 1.302 MB / 292.3 MB, free: 1.992 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001562/0.02155, allocations: 1.598 MB / 293.9 MB, free: 400 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001902/0.02174, allocations: 140 kB / 294.1 MB, free: 260 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001126/0.02286, allocations: 0.8851 MB / 295 MB, free: 15.37 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008011/0.02367, allocations: 1.165 MB / 296.1 MB, free: 14.2 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007293/0.02439, allocations: 0.6695 MB / 296.8 MB, free: 13.53 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002462/0.02686, allocations: 2.872 MB / 299.7 MB, free: 10.64 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.02686, allocations: 0 / 299.7 MB, free: 10.64 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.02686, allocations: 0 / 299.7 MB, free: 10.64 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.646e-05/0.02688, allocations: 3.938 kB / 299.7 MB, free: 10.64 MB / 282.7 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.004543/0.03142, allocations: 3.193 MB / 302.9 MB, free: 7.395 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.03145, allocations: 19.97 kB / 302.9 MB, free: 7.375 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004957/0.03641, allocations: 1.376 MB / 304.3 MB, free: 5.996 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001555/0.03796, allocations: 1.273 MB / 305.5 MB, free: 4.688 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.835e-05/0.03804, allocations: 111 kB / 305.6 MB, free: 4.578 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006622/0.03871, allocations: 291.3 kB / 305.9 MB, free: 4.293 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00664/0.04535, allocations: 4.398 MB / 310.3 MB, free: 15.12 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.473e-05/0.0454, allocations: 43.61 kB / 310.4 MB, free: 15.08 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002218/0.04562, allocations: 79.89 kB / 310.4 MB, free: 15 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001401/0.04702, allocations: 1.194 MB / 311.6 MB, free: 13.81 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006939/0.05396, allocations: 3.217 MB / 314.9 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01774/0.0717, allocations: 32.71 MB / 347.6 MB, free: 8.82 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004275/0.07597, allocations: 1.833 MB / 349.4 MB, free: 6.926 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006254/0.0766, allocations: 0.6627 MB / 350.1 MB, free: 6.242 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.002e-05/0.07665, allocations: 19.94 kB / 350.1 MB, free: 6.223 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.07668, allocations: 53.33 kB / 350.1 MB, free: 6.16 MB / 330.7 MB Notification: Performance of pre-optimization done (n=122): time 2.685e-06/0.07668, allocations: 0 / 350.1 MB, free: 6.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=136): time 0.1283/0.205, allocations: 7.191 MB / 357.3 MB, free: 80.49 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001619/0.2066, allocations: 3.887 MB / 361.2 MB, free: 76.61 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002995/0.2096, allocations: 2.635 MB / 363.8 MB, free: 76.28 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004944/0.2101, allocations: 41.7 kB / 363.9 MB, free: 76.25 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009237/0.211, allocations: 2.332 MB / 366.2 MB, free: 75.08 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006173/0.2117, allocations: 0.6158 MB / 366.8 MB, free: 74.79 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001149/0.2128, allocations: 1.083 MB / 367.9 MB, free: 74.66 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.001e-05/0.2128, allocations: 481.9 kB / 368.4 MB, free: 74.2 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001228/0.2141, allocations: 0.7333 MB / 369.1 MB, free: 74.18 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002349/0.2164, allocations: 5.132 MB / 374.3 MB, free: 68.53 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004036/0.2205, allocations: 6.435 MB / 380.7 MB, free: 62.71 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.231e-05/0.2205, allocations: 33.19 kB / 380.7 MB, free: 62.71 MB / 330.7 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.0112/0.2317, allocations: 5.199 MB / 385.9 MB, free: 60.89 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.959e-05/0.2317, allocations: 48.78 kB / 386 MB, free: 60.85 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008844/0.2406, allocations: 1.872 MB / 387.8 MB, free: 59.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01076/0.2513, allocations: 0.9935 MB / 388.8 MB, free: 58.55 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003651/0.255, allocations: 1.053 MB / 389.9 MB, free: 57.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007045/0.262, allocations: 8.05 MB / 397.9 MB, free: 49.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004871/0.2669, allocations: 227.7 kB / 398.2 MB, free: 48.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008035/0.2677, allocations: 279.9 kB / 398.4 MB, free: 48.52 MB / 330.7 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 (world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3],world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],body1.sphereColor[1],body1.sphereColor[2],body1.sphereColor[3],body2.sphereColor[1],body2.sphereColor[2],body2.sphereColor[3]) * 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.001128/0.2688, allocations: 0.5468 MB / 399 MB, free: 47.96 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006355/0.2695, allocations: 278.4 kB / 399.2 MB, free: 47.69 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004667/0.2699, allocations: 332.8 kB / 399.6 MB, free: 47.36 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005102/0.275, allocations: 1.444 MB / 401 MB, free: 45.88 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.682e-05/0.2751, allocations: 8 kB / 401 MB, free: 45.87 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.571e-05/0.2751, allocations: 7.969 kB / 401 MB, free: 45.86 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005643/0.2807, allocations: 3.056 MB / 404.1 MB, free: 42.78 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.236e-06/0.2807, allocations: 0 / 404.1 MB, free: 42.78 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001146/0.2819, allocations: 179.8 kB / 404.3 MB, free: 42.6 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004437/0.2863, allocations: 0.7319 MB / 405 MB, free: 41.84 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002557/0.2866, allocations: 59.92 kB / 405.1 MB, free: 41.78 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004409/0.291, allocations: 7.813 MB / 412.9 MB, free: 33.52 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009575/0.2919, allocations: 3.722 MB / 416.6 MB, free: 29.56 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005554/0.2975, allocations: 3.054 MB / 419.6 MB, free: 26.45 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007867/0.2983, allocations: 250.2 kB / 419.9 MB, free: 26.2 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002742/0.2985, allocations: 35.98 kB / 419.9 MB, free: 26.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009206/0.2995, allocations: 20 kB / 419.9 MB, free: 26.14 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000287/0.2998, allocations: 111.7 kB / 420.1 MB, free: 26.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/0.2999, allocations: 47.95 kB / 420.1 MB, free: 25.99 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009619/0.3008, allocations: 1.066 MB / 421.2 MB, free: 24.91 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3008, allocations: 0 / 421.2 MB, free: 24.91 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003099/0.3039, allocations: 1.14 MB / 422.3 MB, free: 23.77 MB / 330.7 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.0003683/0.3043, allocations: 181 kB / 422.5 MB, free: 23.58 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004788/0.3091, allocations: 3.714 MB / 426.2 MB, free: 19.78 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.3091, allocations: 0 / 426.2 MB, free: 19.78 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002051/0.3111, allocations: 1.8 MB / 428 MB, free: 17.89 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001568/0.3127, allocations: 311.1 kB / 428.3 MB, free: 17.59 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005936/0.3186, allocations: 5.941 MB / 434.2 MB, free: 11.55 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005301/0.3192, allocations: 0.7966 MB / 435 MB, free: 10.73 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001177/0.3203, allocations: 376.4 kB / 435.4 MB, free: 10.36 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008292/0.3212, allocations: 469.9 kB / 435.9 MB, free: 9.902 MB / 330.7 MB Notification: Performance of SimCode: time 1.512e-06/0.3212, allocations: 0 / 435.9 MB, free: 9.902 MB / 330.7 MB Notification: Performance of Templates: time 0.05334/0.3745, allocations: 49.08 MB / 484.9 MB, free: 8.961 MB / 378.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.064496603328735]