Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001232/0.001232, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 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.001312/0.001312, allocations: 165 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9191/0.9191, allocations: 177.2 MB / 205 MB, free: 5.297 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 273 MB, free: 1.391 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.97e-05/2.109e-05, allocations: 4.984 kB / 273 MB, free: 1.387 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.005522/0.005543, allocations: 6.798 MB / 279.8 MB, free: 10.56 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00443/0.009973, allocations: 3.049 MB / 282.8 MB, free: 7.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005013/0.01047, allocations: 39.81 kB / 282.9 MB, free: 7.461 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001056/0.01153, allocations: 0.708 MB / 283.6 MB, free: 6.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001847/0.01338, allocations: 1.451 MB / 285 MB, free: 5.293 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006032/0.01398, allocations: 0.5612 MB / 285.6 MB, free: 4.73 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00282/0.0168, allocations: 3.872 MB / 289.5 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008431/0.01764, allocations: 0.67 MB / 290.1 MB, free: 176 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1142/0.1318, allocations: 1.293 MB / 291.4 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002457/0.1343, allocations: 1.591 MB / 293 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004941/0.1348, allocations: 136.7 kB / 293.2 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001522/0.1363, allocations: 0.8955 MB / 294 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000988/0.1373, allocations: 1.154 MB / 295.2 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001173/0.1385, allocations: 0.671 MB / 295.9 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003564/0.142, allocations: 2.872 MB / 298.7 MB, free: 15.23 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1421, allocations: 0 / 298.7 MB, free: 15.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1421, allocations: 2.156 kB / 298.7 MB, free: 15.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001201/0.1422, allocations: 0 / 298.7 MB, free: 15.23 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.005714/0.1479, allocations: 3.56 MB / 302.3 MB, free: 13.83 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.1479, allocations: 9.5 kB / 302.3 MB, free: 13.83 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004944/0.1529, allocations: 2.411 MB / 304.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001508/0.1544, allocations: 1.417 MB / 306.1 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.137e-05/0.1544, allocations: 110.7 kB / 306.3 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005102/0.1549, allocations: 299.1 kB / 306.5 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005907/0.1609, allocations: 5.224 MB / 311.8 MB, free: 8.914 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.629e-05/0.1609, allocations: 31.41 kB / 311.8 MB, free: 8.914 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003047/0.1612, allocations: 79.09 kB / 311.9 MB, free: 8.895 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001813/0.1631, allocations: 1.4 MB / 313.3 MB, free: 7.625 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01046/0.1735, allocations: 4.375 MB / 317.7 MB, free: 3.418 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02724/0.2008, allocations: 34.15 MB / 351.8 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008312/0.2091, allocations: 2.636 MB / 354.4 MB, free: 13.83 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001659/0.2107, allocations: 0.7716 MB / 355.2 MB, free: 13.04 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.793e-05/0.2108, allocations: 24 kB / 355.2 MB, free: 13.02 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.22e-05/0.2108, allocations: 57.31 kB / 355.3 MB, free: 12.95 MB / 314.7 MB Notification: Performance of pre-optimization done (n=122): time 4.679e-06/0.2108, allocations: 0 / 355.3 MB, free: 12.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=136): time 0.0396/0.2504, allocations: 12.32 MB / 367.6 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001763/0.2522, allocations: 3.953 MB / 371.6 MB, free: 12.27 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002666/0.2549, allocations: 2.655 MB / 374.2 MB, free: 9.586 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001355/0.255, allocations: 41.7 kB / 374.3 MB, free: 9.539 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001142/0.2561, allocations: 2.295 MB / 376.6 MB, free: 7.254 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005537/0.2567, allocations: 0.6172 MB / 377.2 MB, free: 6.645 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001142/0.2578, allocations: 1.065 MB / 378.2 MB, free: 5.57 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.121e-05/0.2579, allocations: 476.8 kB / 378.7 MB, free: 5.102 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001277/0.2592, allocations: 0.8021 MB / 379.5 MB, free: 4.293 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003066/0.2623, allocations: 5.194 MB / 384.7 MB, free: 13.08 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005221/0.2675, allocations: 6.567 MB / 391.3 MB, free: 4.523 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.507e-05/0.2675, allocations: 28 kB / 391.3 MB, free: 4.496 MB / 346.7 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.0166/0.2841, allocations: 8.06 MB / 399.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.129e-05/0.2842, allocations: 58.28 kB / 399.4 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.011/0.2952, allocations: 4.458 MB / 403.9 MB, free: 7.855 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01086/0.3061, allocations: 3.943 MB / 407.8 MB, free: 3.871 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002892/0.3089, allocations: 1.255 MB / 409.1 MB, free: 2.613 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007751/0.3167, allocations: 9.048 MB / 418.1 MB, free: 9.086 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003648/0.3203, allocations: 0.6809 MB / 418.8 MB, free: 8.406 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003964/0.3207, allocations: 312 kB / 419.1 MB, free: 8.102 MB / 378.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.0009933/0.3217, allocations: 0.5449 MB / 419.6 MB, free: 7.543 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006339/0.3224, allocations: 279.5 kB / 419.9 MB, free: 7.27 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003128/0.3227, allocations: 348.7 kB / 420.3 MB, free: 6.922 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005/0.3277, allocations: 2.487 MB / 422.7 MB, free: 4.391 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.201e-05/0.3277, allocations: 7.938 kB / 422.8 MB, free: 4.383 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.3277, allocations: 7.969 kB / 422.8 MB, free: 4.375 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004317/0.332, allocations: 3.733 MB / 426.5 MB, free: 0.6016 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.332, allocations: 3.938 kB / 426.5 MB, free: 0.5977 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009504/0.333, allocations: 367.4 kB / 426.9 MB, free: 244 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004171/0.3371, allocations: 1.588 MB / 428.4 MB, free: 14.61 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001535/0.3373, allocations: 47.95 kB / 428.5 MB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0048/0.3421, allocations: 8.25 MB / 436.7 MB, free: 5.836 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001294/0.3434, allocations: 3.793 MB / 440.5 MB, free: 1.777 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.126/0.4693, allocations: 4.157 MB / 444.7 MB, free: 126.5 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007945/0.4701, allocations: 270.6 kB / 445 MB, free: 126.5 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004523/0.4706, allocations: 34.78 kB / 445 MB, free: 126.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001457/0.472, allocations: 380.6 kB / 445.4 MB, free: 126.5 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003832/0.4724, allocations: 108 kB / 445.5 MB, free: 126.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001516/0.4726, allocations: 50.09 kB / 445.5 MB, free: 126.5 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001744/0.4743, allocations: 1.143 MB / 446.7 MB, free: 126.3 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4743, allocations: 3.5 kB / 446.7 MB, free: 126.3 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003457/0.4778, allocations: 1.143 MB / 447.8 MB, free: 126.3 MB / 394.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.0004496/0.4782, allocations: 186 kB / 448 MB, free: 126.2 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00584/0.4841, allocations: 4.346 MB / 452.3 MB, free: 125.4 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.4841, allocations: 0.5469 kB / 452.3 MB, free: 125.4 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002675/0.4868, allocations: 2.321 MB / 454.7 MB, free: 124.6 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001587/0.4883, allocations: 320.8 kB / 455 MB, free: 124.6 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007138/0.4955, allocations: 6.049 MB / 461 MB, free: 122 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007005/0.4962, allocations: 0.7885 MB / 461.8 MB, free: 121.9 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001892/0.4981, allocations: 1.314 MB / 463.1 MB, free: 121.8 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005941/0.4987, allocations: 190 kB / 463.3 MB, free: 121.8 MB / 394.7 MB Notification: Performance of SimCode: time 1.994e-06/0.4987, allocations: 4 kB / 463.3 MB, free: 121.8 MB / 394.7 MB Notification: Performance of Templates: time 0.04884/0.5475, allocations: 46.75 MB / 0.4981 GB, free: 78.64 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.003670127131045]