Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.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.001809/0.001809, allocations: 76.05 kB / 21.24 MB, free: 400 kB / 14.72 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.002134/0.002134, allocations: 156.9 kB / 24.48 MB, free: 3.465 MB / 14.72 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.392/1.392, allocations: 173.4 MB / 201.1 MB, free: 12.71 MB / 190.1 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.FreeBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.body.frame_a.r_0.1.|body.body.frame_a.r_0.2.|body.body.frame_a.r_0.3.|body.body.w_a.1.|body.body.w_a.2.|body.body.w_a.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.body.frame_a.r_0.1.|body.body.frame_a.r_0.2.|body.body.frame_a.r_0.3.|body.body.w_a.1.|body.body.w_a.2.|body.body.w_a.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001587/0.001587, allocations: 46.86 kB / 319.4 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08476/0.08635, allocations: 52.16 MB / 371.6 MB, free: 7.336 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01216/0.09851, allocations: 9.175 MB / 380.8 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008152/0.1067, allocations: 3.64 MB / 384.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001269/0.1079, allocations: 75.62 kB / 384.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004759/0.1127, allocations: 2.254 MB / 386.7 MB, free: 8.129 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004223/0.1169, allocations: 1.747 MB / 388.5 MB, free: 6.375 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001458/0.1184, allocations: 0.6122 MB / 389.1 MB, free: 5.762 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004788/0.1232, allocations: 3.455 MB / 392.5 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003183/0.1263, allocations: 2.426 MB / 395 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002185/0.1285, allocations: 1.39 MB / 396.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003197/0.1317, allocations: 1.834 MB / 398.2 MB, free: 12.59 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007933/0.1325, allocations: 292 kB / 398.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002336/0.1348, allocations: 1.053 MB / 399.5 MB, free: 11.25 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002197/0.137, allocations: 1.741 MB / 401.3 MB, free: 9.5 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002425/0.1395, allocations: 1.456 MB / 402.7 MB, free: 8.035 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007744/0.1472, allocations: 6.284 MB / 409 MB, free: 1.727 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.303e-06/0.1472, allocations: 7.922 kB / 409 MB, free: 1.719 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1472, allocations: 0 / 409 MB, free: 1.719 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001017/0.1473, allocations: 4 kB / 409 MB, free: 1.715 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: 1330 * Number of variables: 1330 Notification: Performance of Generate backend data structure: time 0.008012/0.1553, allocations: 4.279 MB / 413.3 MB, free: 13.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.1554, allocations: 12.92 kB / 413.3 MB, free: 13.37 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007105/0.1625, allocations: 1.901 MB / 415.2 MB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004455/0.1669, allocations: 2.01 MB / 417.2 MB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00019/0.1671, allocations: 209.4 kB / 417.4 MB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009615/0.1681, allocations: 371.7 kB / 417.8 MB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01534/0.1834, allocations: 8.924 MB / 426.7 MB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.419e-05/0.1835, allocations: 31.75 kB / 426.7 MB, free: 15.24 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003524/0.1839, allocations: 139.8 kB / 426.9 MB, free: 15.1 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002671/0.1865, allocations: 1.637 MB / 428.5 MB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0151/0.2016, allocations: 7.49 MB / 436 MB, free: 5.965 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04494/0.2466, allocations: 32.91 MB / 468.9 MB, free: 4.055 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008757/0.2553, allocations: 3.001 MB / 471.9 MB, free: 1.023 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1698/0.4251, allocations: 1.368 MB / 473.3 MB, free: 89.88 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009038/0.4341, allocations: 5.349 MB / 478.6 MB, free: 88.47 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.383e-05/0.4342, allocations: 54.16 kB / 478.7 MB, free: 88.42 MB / 430.1 MB Notification: Performance of pre-optimization done (n=132): time 3.988e-06/0.4342, allocations: 0.5 kB / 478.7 MB, free: 88.42 MB / 430.1 MB Notification: Performance of matching and sorting (n=139): time 0.02367/0.4579, allocations: 11.18 MB / 489.9 MB, free: 84.43 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000831/0.4587, allocations: 1.575 MB / 491.5 MB, free: 82.89 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00307/0.4618, allocations: 3.395 MB / 494.8 MB, free: 81.66 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001218/0.4619, allocations: 42.53 kB / 494.9 MB, free: 81.62 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009834/0.4629, allocations: 2.934 MB / 497.8 MB, free: 79.45 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003634/0.4632, allocations: 0.5895 MB / 498.4 MB, free: 79.03 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001033/0.4643, allocations: 1.12 MB / 499.5 MB, free: 78.38 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 2.907e-05/0.4643, allocations: 301.1 kB / 499.8 MB, free: 78.09 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00201/0.4663, allocations: 1.921 MB / 0.49 GB, free: 76.46 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002924/0.4692, allocations: 5.365 MB / 0.4952 GB, free: 69.42 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005367/0.4746, allocations: 7.831 MB / 0.5029 GB, free: 59.89 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-05/0.4746, allocations: 36 kB / 0.5029 GB, free: 59.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01672/0.4914, allocations: 8.735 MB / 0.5114 GB, free: 51.11 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.194e-05/0.4914, allocations: 60.03 kB / 0.5115 GB, free: 51.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009739/0.5012, allocations: 3.424 MB / 0.5148 GB, free: 47.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01004/0.5112, allocations: 2.234 MB / 0.517 GB, free: 45.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003658/0.5149, allocations: 1.255 MB / 0.5182 GB, free: 44.11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008242/0.5231, allocations: 7.079 MB / 0.5252 GB, free: 36.83 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004113/0.5272, allocations: 377.7 kB / 0.5255 GB, free: 36.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007262/0.5279, allocations: 344 kB / 0.5258 GB, free: 36.12 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 557 * Number of states: 0 () * Number of discrete variables: 36 (spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (676): * Single equations (assignments): 667 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002566/0.5305, allocations: 1.853 MB / 0.5277 GB, free: 34.26 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005486/0.5311, allocations: 293.3 kB / 0.5279 GB, free: 33.97 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004761/0.5358, allocations: 2.734 MB / 0.5306 GB, free: 31.22 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003963/0.5398, allocations: 2.355 MB / 0.5329 GB, free: 28.85 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/0.5398, allocations: 0 / 0.5329 GB, free: 28.85 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.458e-05/0.5398, allocations: 11.97 kB / 0.5329 GB, free: 28.84 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01156/0.5514, allocations: 6.872 MB / 0.5396 GB, free: 21.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.378e-06/0.5514, allocations: 4 kB / 0.5396 GB, free: 21.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/0.5524, allocations: 231.6 kB / 0.5399 GB, free: 21.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002753/0.5551, allocations: 1.053 MB / 0.5409 GB, free: 20.59 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001313/0.5553, allocations: 35.81 kB / 0.5409 GB, free: 20.56 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004244/0.5595, allocations: 4.998 MB / 0.5458 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00069/0.5602, allocations: 1.437 MB / 0.5472 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006291/0.5665, allocations: 4.954 MB / 0.552 GB, free: 8.816 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007001/0.5672, allocations: 265.9 kB / 0.5523 GB, free: 8.555 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004431/0.5676, allocations: 31.98 kB / 0.5523 GB, free: 8.523 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001479/0.5691, allocations: 122.9 kB / 0.5524 GB, free: 8.406 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002165/0.5693, allocations: 92.41 kB / 0.5525 GB, free: 8.316 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001048/0.5694, allocations: 39.98 kB / 0.5526 GB, free: 8.277 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002409/0.5719, allocations: 1.936 MB / 0.5545 GB, free: 6.344 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5719, allocations: 0 / 0.5545 GB, free: 6.344 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003974/0.5758, allocations: 0.9648 MB / 0.5554 GB, free: 5.379 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.v_0[1],body.v_0[2],body.v_0[3],body.body.frame_a.r_0[1],body.body.frame_a.r_0[2],body.body.frame_a.r_0[3],body.body.w_a[1],body.body.w_a[2],body.body.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 (105): * Single equations (assignments): 98 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0003471/0.5762, allocations: 170.8 kB / 0.5556 GB, free: 5.207 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007042/0.5832, allocations: 4.876 MB / 0.5603 GB, free: 328 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.5832, allocations: 4 kB / 0.5603 GB, free: 324 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003852/0.5871, allocations: 1.802 MB / 0.5621 GB, free: 14.49 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002105/0.5892, allocations: 340.9 kB / 0.5624 GB, free: 14.17 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01456/0.6037, allocations: 8.554 MB / 0.5708 GB, free: 5.559 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003685/0.6074, allocations: 2.356 MB / 0.5731 GB, free: 3.168 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004089/0.6115, allocations: 1.666 MB / 0.5747 GB, free: 1.496 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006337/0.6121, allocations: 200.5 kB / 0.5749 GB, free: 1.301 MB / 446.1 MB Notification: Performance of SimCode: time 1.292e-06/0.6121, allocations: 4 kB / 0.5749 GB, free: 1.297 MB / 446.1 MB Notification: Performance of Templates: time 0.06226/0.6744, allocations: 30.21 MB / 0.6044 GB, free: 3.527 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/FreeBody/FreeBody.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.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: 5.917930364026688]