Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr StewartPlatform_StewartPlatform.Tests.SpindleDrive_test.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.0009104/0.0009104, allocations: 81.86 kB / 19.87 MB, free: 4.621 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.001289/0.001289, allocations: 169.7 kB / 23.28 MB, free: 1.219 MB / 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.8638/0.8638, allocations: 177.1 MB / 203.7 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.01938/0.01938, allocations: 5.069 MB / 265.3 MB, free: 7.949 MB / 250.7 MB " [Timeout remaining time 180] Using package StewartPlatform with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo) 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(StewartPlatform.Tests.SpindleDrive_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.SpindleDrive_test") translateModel(StewartPlatform.Tests.SpindleDrive_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.SpindleDrive_test") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 336.6 MB, free: 12.82 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.055e-05/1.204e-05, allocations: 2.312 kB / 336.6 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.SpindleDrive_test): time 0.004339/0.004351, allocations: 6.917 MB / 343.5 MB, free: 5.867 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002052/0.006403, allocations: 2.263 MB / 345.8 MB, free: 3.598 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002619/0.006665, allocations: 47.75 kB / 345.9 MB, free: 3.551 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008796/0.007544, allocations: 0.8403 MB / 346.7 MB, free: 2.707 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007731/0.008317, allocations: 0.8744 MB / 347.6 MB, free: 1.828 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000221/0.008538, allocations: 239.3 kB / 347.8 MB, free: 1.594 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009301/0.009469, allocations: 1.891 MB / 349.7 MB, free: 15.7 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009667/0.01044, allocations: 1.119 MB / 350.8 MB, free: 14.56 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006915/0.01113, allocations: 1.029 MB / 351.8 MB, free: 13.53 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006693/0.0118, allocations: 0.9389 MB / 352.8 MB, free: 12.59 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000123/0.01192, allocations: 124 kB / 352.9 MB, free: 12.47 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004945/0.01241, allocations: 0.542 MB / 353.4 MB, free: 11.93 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004403/0.01285, allocations: 0.8879 MB / 354.3 MB, free: 11.04 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003274/0.01318, allocations: 0.5487 MB / 354.9 MB, free: 10.48 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001703/0.01488, allocations: 2.241 MB / 357.1 MB, free: 8.234 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.01489, allocations: 3.938 kB / 357.1 MB, free: 8.23 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.01489, allocations: 4 kB / 357.1 MB, free: 8.227 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.431e-05/0.0149, allocations: 0 / 357.1 MB, free: 8.227 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: 884 * Number of variables: 884 Notification: Performance of Generate backend data structure: time 0.001938/0.01684, allocations: 2.663 MB / 359.8 MB, free: 5.512 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.01687, allocations: 8.031 kB / 359.8 MB, free: 5.504 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001935/0.01881, allocations: 0.9591 MB / 360.8 MB, free: 4.543 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007379/0.01954, allocations: 0.8613 MB / 361.6 MB, free: 3.652 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.65e-05/0.0196, allocations: 115.1 kB / 361.7 MB, free: 3.539 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001616/0.01976, allocations: 152.2 kB / 361.9 MB, free: 3.391 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002602/0.02236, allocations: 3.149 MB / 365 MB, free: 15.61 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.607e-05/0.0224, allocations: 27.77 kB / 365.1 MB, free: 15.58 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001176/0.02252, allocations: 75.89 kB / 365.1 MB, free: 15.51 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008712/0.02339, allocations: 1.124 MB / 366.3 MB, free: 14.38 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001562/0.02495, allocations: 1.351 MB / 367.6 MB, free: 13.03 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01243/0.03739, allocations: 26.15 MB / 393.8 MB, free: 1.938 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008633/0.03825, allocations: 0.5704 MB / 394.3 MB, free: 1.32 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001456/0.03839, allocations: 149 kB / 394.5 MB, free: 1.16 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001421/0.03854, allocations: 117.9 kB / 394.6 MB, free: 1.047 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.03856, allocations: 41.39 kB / 394.6 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of pre-optimization done (n=83): time 5.049e-06/0.03856, allocations: 0 / 394.6 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of matching and sorting (n=91): time 0.003066/0.04163, allocations: 1.987 MB / 396.6 MB, free: 14.95 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/0.04168, allocations: 144.3 kB / 396.8 MB, free: 14.78 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001498/0.04317, allocations: 2.264 MB / 399 MB, free: 12.46 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.785e-05/0.0432, allocations: 37.7 kB / 399.1 MB, free: 12.42 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001146/0.04435, allocations: 2.177 MB / 401.2 MB, free: 10.22 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002007/0.04455, allocations: 413 kB / 401.6 MB, free: 9.812 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000633/0.04518, allocations: 0.92 MB / 402.6 MB, free: 8.875 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.0453, allocations: 0.512 MB / 403.1 MB, free: 8.355 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003176/0.04562, allocations: 299.8 kB / 403.4 MB, free: 8.055 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002162/0.04778, allocations: 4.37 MB / 407.7 MB, free: 1.785 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003014/0.0508, allocations: 5.232 MB / 413 MB, free: 10.68 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.642e-05/0.05082, allocations: 28 kB / 413 MB, free: 10.65 MB / 346.7 MB Notification: Performance of matching and sorting (n=536) (initialization): time 0.00273/0.05355, allocations: 3.219 MB / 416.2 MB, free: 7.43 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.963e-05/0.05359, allocations: 52.22 kB / 416.3 MB, free: 7.379 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.646e-05/0.05365, allocations: 96 kB / 416.4 MB, free: 7.285 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.058e-05/0.05372, allocations: 131.9 kB / 416.5 MB, free: 7.156 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/0.05498, allocations: 0.9318 MB / 417.4 MB, free: 6.223 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.178e-05/0.05506, allocations: 191.2 kB / 417.6 MB, free: 6.035 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009919/0.05606, allocations: 191.7 kB / 417.8 MB, free: 5.848 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004216/0.05648, allocations: 232 kB / 418 MB, free: 5.621 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 445 * Number of states: 0 () * Number of discrete variables: 18 (pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[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],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (512): * Single equations (assignments): 509 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004734/0.05695, allocations: 0.504 MB / 418.5 MB, free: 5.105 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/0.05711, allocations: 210.7 kB / 418.7 MB, free: 4.898 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001642/0.05727, allocations: 189.4 kB / 418.9 MB, free: 4.711 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.205e-05/0.05728, allocations: 11.94 kB / 418.9 MB, free: 4.699 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.05729, allocations: 4 kB / 418.9 MB, free: 4.695 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.0573, allocations: 3.984 kB / 418.9 MB, free: 4.691 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002331/0.05963, allocations: 2.57 MB / 421.5 MB, free: 1.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/0.05963, allocations: 8 kB / 421.5 MB, free: 1.973 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002506/0.05988, allocations: 127.8 kB / 421.6 MB, free: 1.848 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.104e-06/0.05989, allocations: 8.719 kB / 421.6 MB, free: 1.84 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.484e-05/0.05992, allocations: 20 kB / 421.7 MB, free: 1.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.035e-06/0.05992, allocations: 19.92 kB / 421.7 MB, free: 1.801 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/0.05993, allocations: 11.94 kB / 421.7 MB, free: 1.789 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008191/0.06075, allocations: 1.399 MB / 423.1 MB, free: 276 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002039/0.06095, allocations: 234.5 kB / 423.3 MB, free: 40 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.982e-05/0.06103, allocations: 23.98 kB / 423.3 MB, free: 16 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.1121/0.1731, allocations: 19.98 kB / 423.4 MB, free: 85.2 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000203/0.1733, allocations: 66.5 kB / 423.4 MB, free: 85.2 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.007e-05/0.1733, allocations: 31.31 kB / 423.5 MB, free: 85.2 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009828/0.1743, allocations: 0.876 MB / 424.3 MB, free: 85.02 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1743, allocations: 0 / 424.3 MB, free: 85.02 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001985/0.1763, allocations: 0.5073 MB / 424.8 MB, free: 85.02 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (prismatic.s,prismatic.v) * 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 (73): * Single equations (assignments): 70 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002452/0.1766, allocations: 156.1 kB / 425 MB, free: 84.93 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00165/0.1782, allocations: 1.623 MB / 426.6 MB, free: 84.88 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.1782, allocations: 4.25 kB / 426.6 MB, free: 84.88 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000216/0.1784, allocations: 232.4 kB / 426.8 MB, free: 84.84 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007854/0.1792, allocations: 171.6 kB / 427 MB, free: 84.83 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004472/0.1837, allocations: 4.081 MB / 431.1 MB, free: 82.93 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005229/0.1842, allocations: 0.6565 MB / 431.8 MB, free: 82.83 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006067/0.1848, allocations: 306.5 kB / 432.1 MB, free: 82.73 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002911/0.1851, allocations: 343.8 kB / 432.4 MB, free: 82.66 MB / 346.7 MB Notification: Performance of SimCode: time 1.052e-06/0.1851, allocations: 0 / 432.4 MB, free: 82.66 MB / 346.7 MB Notification: Performance of Templates: time 0.01815/0.2033, allocations: 12.64 MB / 445 MB, free: 74.83 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f StewartPlatform_StewartPlatform.Tests.SpindleDrive_test.makefile [Timeout 660] (rm -f StewartPlatform_StewartPlatform.Tests.SpindleDrive_test.pipe ; mkfifo StewartPlatform_StewartPlatform.Tests.SpindleDrive_test.pipe ; head -c 1048576 < StewartPlatform_StewartPlatform.Tests.SpindleDrive_test.pipe >> ../files/StewartPlatform_StewartPlatform.Tests.SpindleDrive_test.sim & ./StewartPlatform_StewartPlatform.Tests.SpindleDrive_test -abortSlowSimulation -alarm=240 -lv LOG_STATS > StewartPlatform_StewartPlatform.Tests.SpindleDrive_test.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.023725998122245]