Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 72.08 kB / 21.69 MB, free: 2.859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 142.1 kB / 24.97 MB, free: 8.316 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.025/1.025, allocations: 173.4 MB / 201.5 MB, free: 9.312 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 268.1 MB, free: 6.711 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.664e-05/2.846e-05, allocations: 6.312 kB / 268.1 MB, free: 6.703 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.005912/0.00594, allocations: 6.798 MB / 274.9 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004025/0.009965, allocations: 3.029 MB / 277.9 MB, free: 12.83 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005216/0.01049, allocations: 39.81 kB / 277.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001083/0.01157, allocations: 0.708 MB / 278.7 MB, free: 12.08 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001986/0.01355, allocations: 1.478 MB / 280.1 MB, free: 10.59 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006776/0.01423, allocations: 0.5613 MB / 280.7 MB, free: 10.03 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003098/0.01733, allocations: 3.723 MB / 284.4 MB, free: 6.305 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008529/0.01818, allocations: 0.6817 MB / 285.1 MB, free: 5.609 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001478/0.01966, allocations: 1.305 MB / 286.4 MB, free: 4.301 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001457/0.02112, allocations: 1.598 MB / 288 MB, free: 2.699 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002031/0.02132, allocations: 140 kB / 288.1 MB, free: 2.562 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001338/0.02266, allocations: 0.9046 MB / 289 MB, free: 1.656 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0012/0.02386, allocations: 1.184 MB / 290.2 MB, free: 480 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1137/0.1375, allocations: 0.6759 MB / 290.9 MB, free: 17.95 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004399/0.1419, allocations: 2.911 MB / 293.8 MB, free: 17.74 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.1419, allocations: 0 / 293.8 MB, free: 17.74 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1419, allocations: 0 / 293.8 MB, free: 17.74 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001352/0.1421, allocations: 1.094 kB / 293.8 MB, free: 17.74 MB / 266.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.006427/0.1485, allocations: 3.59 MB / 297.4 MB, free: 16.33 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.1485, allocations: 13.25 kB / 297.4 MB, free: 16.33 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005521/0.154, allocations: 2.294 MB / 299.7 MB, free: 16.14 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002008/0.1561, allocations: 1.387 MB / 301.1 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.513e-05/0.1561, allocations: 110 kB / 301.2 MB, free: 15.78 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006035/0.1567, allocations: 294 kB / 301.5 MB, free: 15.77 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007133/0.1639, allocations: 5.227 MB / 306.7 MB, free: 13.56 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.86e-05/0.1639, allocations: 33.33 kB / 306.8 MB, free: 13.56 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002238/0.1642, allocations: 79.14 kB / 306.8 MB, free: 13.56 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001347/0.1655, allocations: 1.396 MB / 308.2 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007815/0.1733, allocations: 4.377 MB / 312.6 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02487/0.1982, allocations: 34.16 MB / 346.8 MB, free: 9.141 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006242/0.2044, allocations: 2.632 MB / 349.4 MB, free: 6.457 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001138/0.2056, allocations: 0.771 MB / 350.2 MB, free: 5.668 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.696e-05/0.2056, allocations: 16 kB / 350.2 MB, free: 5.652 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/0.2057, allocations: 61.25 kB / 350.2 MB, free: 5.582 MB / 298.7 MB Notification: Performance of pre-optimization done (n=122): time 4.518e-06/0.2057, allocations: 3.719 kB / 350.2 MB, free: 5.582 MB / 298.7 MB Notification: Performance of matching and sorting (n=136): time 0.02571/0.2314, allocations: 12.32 MB / 362.6 MB, free: 9.184 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001764/0.2331, allocations: 3.948 MB / 366.5 MB, free: 4.949 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003141/0.2363, allocations: 2.659 MB / 369.2 MB, free: 2.266 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000282/0.2366, allocations: 44.2 kB / 369.2 MB, free: 2.219 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001192/0.2378, allocations: 2.309 MB / 371.5 MB, free: 15.93 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006756/0.2384, allocations: 0.6143 MB / 372.1 MB, free: 15.32 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001209/0.2396, allocations: 1.055 MB / 373.2 MB, free: 14.26 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.2397, allocations: 487 kB / 373.7 MB, free: 13.78 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001474/0.2412, allocations: 0.8021 MB / 374.5 MB, free: 12.97 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003545/0.2448, allocations: 5.195 MB / 379.7 MB, free: 5.762 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005922/0.2507, allocations: 6.558 MB / 386.2 MB, free: 13.22 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.281e-05/0.2508, allocations: 32 kB / 386.3 MB, free: 13.19 MB / 346.7 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01701/0.2678, allocations: 7.924 MB / 394.2 MB, free: 5.234 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.234e-05/0.2678, allocations: 52 kB / 394.2 MB, free: 5.184 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01093/0.2788, allocations: 4.321 MB / 398.6 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01137/0.2901, allocations: 3.76 MB / 402.3 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003062/0.2932, allocations: 1.259 MB / 403.6 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007839/0.301, allocations: 9.001 MB / 412.6 MB, free: 2.289 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004061/0.3051, allocations: 0.6777 MB / 413.2 MB, free: 1.613 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000718/0.3058, allocations: 319.9 kB / 413.6 MB, free: 1.301 MB / 362.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 (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.001632/0.3074, allocations: 0.5461 MB / 414.1 MB, free: 0.7461 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006026/0.308, allocations: 274.3 kB / 414.4 MB, free: 488 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004134/0.3085, allocations: 352.7 kB / 414.7 MB, free: 128 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005368/0.3138, allocations: 2.49 MB / 417.2 MB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-05/0.3138, allocations: 7.938 kB / 417.2 MB, free: 13.58 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.285e-05/0.3139, allocations: 7.984 kB / 417.2 MB, free: 13.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005328/0.3192, allocations: 3.74 MB / 421 MB, free: 9.801 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/0.3192, allocations: 7.984 kB / 421 MB, free: 9.793 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00111/0.3203, allocations: 359.4 kB / 421.3 MB, free: 9.441 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004029/0.3243, allocations: 1.592 MB / 422.9 MB, free: 7.816 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001517/0.3245, allocations: 43.95 kB / 423 MB, free: 7.773 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1208/0.4453, allocations: 8.243 MB / 431.2 MB, free: 121.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001751/0.4471, allocations: 3.782 MB / 435 MB, free: 117.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00935/0.4564, allocations: 4.169 MB / 439.2 MB, free: 117 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007752/0.4572, allocations: 266.2 kB / 439.4 MB, free: 117 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004413/0.4577, allocations: 31.2 kB / 439.4 MB, free: 117 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001473/0.4591, allocations: 380.2 kB / 439.8 MB, free: 117 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003713/0.4595, allocations: 119.2 kB / 439.9 MB, free: 117 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001357/0.4596, allocations: 59.8 kB / 440 MB, free: 117 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001683/0.4613, allocations: 1.142 MB / 441.1 MB, free: 116.8 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4613, allocations: 0 / 441.1 MB, free: 116.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004299/0.4656, allocations: 1.157 MB / 442.3 MB, free: 116.8 MB / 378.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.0005481/0.4662, allocations: 189.4 kB / 442.5 MB, free: 116.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006109/0.4723, allocations: 4.367 MB / 446.8 MB, free: 115.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.4723, allocations: 2 kB / 446.8 MB, free: 115.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002797/0.4751, allocations: 2.317 MB / 449.2 MB, free: 114.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001692/0.4768, allocations: 315 kB / 449.5 MB, free: 114.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007358/0.4841, allocations: 6.047 MB / 455.5 MB, free: 111.4 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005972/0.4847, allocations: 0.7919 MB / 456.3 MB, free: 110.9 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002011/0.4867, allocations: 1.318 MB / 457.6 MB, free: 110.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005661/0.4873, allocations: 195.7 kB / 457.8 MB, free: 110 MB / 378.7 MB Notification: Performance of SimCode: time 2.074e-06/0.4873, allocations: 3.719 kB / 457.8 MB, free: 110 MB / 378.7 MB Notification: Performance of Templates: time 0.04657/0.5339, allocations: 45.87 MB / 0.4919 GB, free: 65.08 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_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","",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.158113338984549]