Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007763/0.0007763, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001022/0.001798, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007638/0.0007638, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001084/0.001848, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8297/0.8297, allocations: 158.6 MB / 171.1 MB, free: 2.586 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1528/0.9825, allocations: 49.49 MB / 220.6 MB, free: 1.445 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.385e-06/2.385e-06, allocations: 0 / 221.8 MB, free: 164 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.493e-05/4.732e-05, allocations: 6.109 kB / 221.8 MB, free: 160 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.006157/0.006204, allocations: 6.734 MB / 228.6 MB, free: 9.387 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004893/0.0111, allocations: 3.123 MB / 231.7 MB, free: 6.254 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000781/0.01188, allocations: 39.81 kB / 231.7 MB, free: 6.215 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001083/0.01296, allocations: 0.6962 MB / 232.4 MB, free: 5.516 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002502/0.01546, allocations: 1.451 MB / 233.9 MB, free: 4.059 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007398/0.0162, allocations: 0.4912 MB / 234.4 MB, free: 3.566 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.002993/0.0192, allocations: 3.536 MB / 237.9 MB, free: 24 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001033/0.02023, allocations: 0.5105 MB / 238.4 MB, free: 15.49 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001762/0.02199, allocations: 1.556 MB / 240 MB, free: 13.94 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0016/0.02359, allocations: 1.512 MB / 241.5 MB, free: 12.42 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003061/0.0239, allocations: 136 kB / 241.6 MB, free: 12.29 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001454/0.02535, allocations: 0.9281 MB / 242.6 MB, free: 11.36 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007568/0.02611, allocations: 1.075 MB / 243.6 MB, free: 10.28 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006204/0.02673, allocations: 0.5489 MB / 244.2 MB, free: 9.73 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002381/0.02911, allocations: 2.677 MB / 246.9 MB, free: 7.043 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.473e-05/0.02912, allocations: 0 / 246.9 MB, free: 7.043 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.02913, allocations: 0 / 246.9 MB, free: 7.043 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.079e-05/0.02918, allocations: 0 / 246.9 MB, free: 7.043 MB / 250.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.003666/0.03284, allocations: 3.358 MB / 250.2 MB, free: 3.625 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.03288, allocations: 12.03 kB / 250.2 MB, free: 3.613 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002834/0.03571, allocations: 0.9332 MB / 251.2 MB, free: 2.68 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00175/0.03746, allocations: 1.236 MB / 252.4 MB, free: 1.414 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.897e-05/0.03753, allocations: 107 kB / 252.5 MB, free: 1.309 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005379/0.03807, allocations: 295.3 kB / 252.8 MB, free: 1.02 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005246/0.04331, allocations: 3.919 MB / 256.7 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.767e-05/0.04336, allocations: 31.69 kB / 256.7 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001619/0.04352, allocations: 79.89 kB / 256.8 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001003/0.04453, allocations: 1.202 MB / 258 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00491/0.04944, allocations: 3.098 MB / 261.1 MB, free: 8.094 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01596/0.06539, allocations: 22.84 MB / 284 MB, free: 416 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1209/0.1863, allocations: 1.793 MB / 285.8 MB, free: 47.9 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00136/0.1876, allocations: 0.5325 MB / 286.3 MB, free: 47.86 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.355e-05/0.1877, allocations: 16.92 kB / 286.3 MB, free: 47.86 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.461e-05/0.1877, allocations: 54.11 kB / 286.4 MB, free: 47.82 MB / 282.7 MB Notification: Performance of pre-optimization done (n=122): time 6.553e-06/0.1878, allocations: 0 / 286.4 MB, free: 47.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=136): time 0.01835/0.2061, allocations: 6.209 MB / 292.6 MB, free: 47.31 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001106/0.2072, allocations: 2.833 MB / 295.4 MB, free: 44.5 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002441/0.2097, allocations: 2.366 MB / 297.8 MB, free: 44.03 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003715/0.21, allocations: 40.83 kB / 297.8 MB, free: 44 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007422/0.2108, allocations: 2.055 MB / 299.9 MB, free: 42.61 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006136/0.2114, allocations: 0.5894 MB / 300.4 MB, free: 42.27 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001096/0.2125, allocations: 0.9138 MB / 301.4 MB, free: 42.16 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 2.252e-05/0.2125, allocations: 304.2 kB / 301.7 MB, free: 41.87 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001544/0.214, allocations: 0.8552 MB / 302.5 MB, free: 41.84 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002429/0.2165, allocations: 3.687 MB / 306.2 MB, free: 38.05 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00434/0.2208, allocations: 5.052 MB / 311.3 MB, free: 33.81 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.886e-05/0.2209, allocations: 28 kB / 311.3 MB, free: 33.78 MB / 282.7 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01282/0.2337, allocations: 4.562 MB / 315.8 MB, free: 30.01 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.933e-05/0.2338, allocations: 52.16 kB / 315.9 MB, free: 29.96 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008347/0.2421, allocations: 1.705 MB / 317.6 MB, free: 28.32 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00858/0.2507, allocations: 0.9718 MB / 318.6 MB, free: 27.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00345/0.2541, allocations: 1.181 MB / 319.7 MB, free: 26.2 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005896/0.26, allocations: 5.843 MB / 325.6 MB, free: 20.25 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004002/0.264, allocations: 226.7 kB / 325.8 MB, free: 20.1 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008286/0.2649, allocations: 278.8 kB / 326.1 MB, free: 19.86 MB / 282.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.001057/0.2659, allocations: 0.5042 MB / 326.6 MB, free: 19.36 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004075/0.2663, allocations: 155.8 kB / 326.7 MB, free: 19.21 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002927/0.2666, allocations: 340.7 kB / 327.1 MB, free: 18.88 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002856/0.2695, allocations: 1.258 MB / 328.3 MB, free: 17.58 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.791e-05/0.2695, allocations: 4 kB / 328.3 MB, free: 17.58 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.2695, allocations: 11.97 kB / 328.3 MB, free: 17.57 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003566/0.2731, allocations: 2.506 MB / 330.9 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.2731, allocations: 1.094 kB / 330.9 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008214/0.2739, allocations: 207.7 kB / 331.1 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004233/0.2743, allocations: 250.2 kB / 331.3 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002628/0.277, allocations: 0.8547 MB / 332.2 MB, free: 13.7 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001751/0.2771, allocations: 43.94 kB / 332.2 MB, free: 13.65 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002708/0.2798, allocations: 5.588 MB / 337.8 MB, free: 7.68 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006402/0.2805, allocations: 2.677 MB / 340.5 MB, free: 4.789 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004294/0.2848, allocations: 2.646 MB / 343.1 MB, free: 2.086 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005212/0.2853, allocations: 27.98 kB / 343.1 MB, free: 2.059 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009429/0.2862, allocations: 20 kB / 343.2 MB, free: 2.039 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002955/0.2865, allocations: 111.7 kB / 343.3 MB, free: 1.93 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001297/0.2867, allocations: 39.97 kB / 343.3 MB, free: 1.891 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0007802/0.2874, allocations: 0.8532 MB / 344.2 MB, free: 1.023 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2874, allocations: 0 / 344.2 MB, free: 1.023 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.003375/0.2908, allocations: 1.164 MB / 345.3 MB, free: 15.86 MB / 298.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.0004577/0.2913, allocations: 181 kB / 345.5 MB, free: 15.68 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.005072/0.2963, allocations: 3.32 MB / 348.8 MB, free: 12.3 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001934/0.2965, allocations: 63.94 kB / 348.9 MB, free: 12.23 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002124/0.2987, allocations: 1.447 MB / 350.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002035/0.3007, allocations: 0.6292 MB / 351 MB, free: 10.08 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008928/0.3096, allocations: 5.534 MB / 356.5 MB, free: 4.457 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007302/0.3104, allocations: 0.7991 MB / 357.3 MB, free: 3.633 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.001394/0.3118, allocations: 381.5 kB / 357.7 MB, free: 3.258 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008846/0.3126, allocations: 426.9 kB / 358.1 MB, free: 2.84 MB / 298.7 MB Notification: Performance of SimCode: time 1.693e-06/0.3126, allocations: 0 / 358.1 MB, free: 2.84 MB / 298.7 MB Notification: Performance of Templates: time 0.05389/0.3665, allocations: 48.93 MB / 407 MB, free: 1.773 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 3.8613921580836177]