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.001616/0.001616, allocations: 79.19 kB / 19.76 MB, free: 2.031 MB / 14.72 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.001705/0.001705, allocations: 156.5 kB / 23.01 MB, free: 4.941 MB / 14.72 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 1.355/1.355, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.1 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.03122/0.03122, allocations: 5.09 MB / 264.9 MB, free: 11.7 MB / 254.1 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: StewartPlatform requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 67.89 kB / 390.2 MB, free: 13.9 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1134, allocations: 54.82 MB / 445 MB, free: 6.98 MB / 414.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.SpindleDrive_test): time 0.008901/0.1223, allocations: 6.474 MB / 451.4 MB, free: 484 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004925/0.1272, allocations: 2.213 MB / 453.7 MB, free: 14.25 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008129/0.128, allocations: 35.88 kB / 453.7 MB, free: 14.22 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001833/0.1298, allocations: 0.8092 MB / 454.5 MB, free: 13.41 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002038/0.1319, allocations: 0.8323 MB / 455.3 MB, free: 12.57 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006044/0.1325, allocations: 231.5 kB / 455.6 MB, free: 12.34 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002361/0.1348, allocations: 1.86 MB / 457.4 MB, free: 10.48 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001356/0.1362, allocations: 1.072 MB / 458.5 MB, free: 9.395 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009898/0.1372, allocations: 0.6809 MB / 459.2 MB, free: 8.711 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001347/0.1385, allocations: 1 MB / 460.2 MB, free: 7.707 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002522/0.1388, allocations: 135.9 kB / 460.3 MB, free: 7.574 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009752/0.1398, allocations: 0.5069 MB / 460.8 MB, free: 7.066 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008128/0.1406, allocations: 0.8606 MB / 461.7 MB, free: 6.203 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008269/0.1414, allocations: 0.7603 MB / 462.4 MB, free: 5.438 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003783/0.1452, allocations: 3.462 MB / 465.9 MB, free: 1.961 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.1452, allocations: 0 / 465.9 MB, free: 1.961 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.1452, allocations: 0 / 465.9 MB, free: 1.961 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.83e-05/0.1452, allocations: 4 kB / 465.9 MB, free: 1.957 MB / 430.1 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.003865/0.1491, allocations: 2.44 MB / 468.3 MB, free: 15.47 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/0.1492, allocations: 11.97 kB / 468.4 MB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00534/0.1545, allocations: 1.618 MB / 470 MB, free: 13.84 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002096/0.1566, allocations: 0.9845 MB / 471 MB, free: 12.82 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001094/0.1567, allocations: 115.1 kB / 471.1 MB, free: 12.71 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002889/0.157, allocations: 151.8 kB / 471.2 MB, free: 12.56 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007984/0.165, allocations: 5.531 MB / 476.7 MB, free: 6.566 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.61e-05/0.165, allocations: 23.81 kB / 476.8 MB, free: 6.543 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002026/0.1653, allocations: 75.91 kB / 476.8 MB, free: 6.469 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001994/0.1672, allocations: 1.261 MB / 478.1 MB, free: 5.203 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008155/0.1754, allocations: 4.602 MB / 482.7 MB, free: 0.5898 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.257/0.4324, allocations: 20.78 MB / 0.4917 GB, free: 57.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001926/0.4343, allocations: 1.051 MB / 0.4927 GB, free: 57.07 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004525/0.4348, allocations: 413.2 kB / 0.4931 GB, free: 56.92 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002146/0.435, allocations: 104.6 kB / 0.4932 GB, free: 56.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.435, allocations: 45.69 kB / 0.4933 GB, free: 56.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=83): time 3.426e-06/0.435, allocations: 3.938 kB / 0.4933 GB, free: 56.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=91): time 0.006605/0.4416, allocations: 4.305 MB / 0.4975 GB, free: 54.76 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.511e-05/0.4417, allocations: 140.1 kB / 0.4976 GB, free: 54.6 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002321/0.444, allocations: 2.386 MB / 0.4999 GB, free: 53.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.702e-05/0.444, allocations: 39.7 kB / 0.5 GB, free: 53.66 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007514/0.4448, allocations: 2.052 MB / 0.502 GB, free: 52.06 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002168/0.445, allocations: 401 kB / 0.5023 GB, free: 51.79 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006731/0.4457, allocations: 0.8239 MB / 0.5032 GB, free: 51.38 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.103e-05/0.4457, allocations: 338.3 kB / 0.5035 GB, free: 51.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001197/0.4469, allocations: 1.08 MB / 0.5045 GB, free: 50.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002139/0.4491, allocations: 3.791 MB / 0.5082 GB, free: 46.71 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00455/0.4536, allocations: 5.339 MB / 0.5134 GB, free: 41.84 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.994e-05/0.4537, allocations: 28.09 kB / 0.5135 GB, free: 41.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.006998/0.4607, allocations: 4.602 MB / 0.518 GB, free: 40.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.223e-05/0.4608, allocations: 50.97 kB / 0.518 GB, free: 40.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001101/0.4609, allocations: 96.94 kB / 0.5181 GB, free: 40.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001367/0.461, allocations: 126.4 kB / 0.5182 GB, free: 40.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002347/0.4634, allocations: 0.9435 MB / 0.5191 GB, free: 39.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001415/0.4635, allocations: 190 kB / 0.5193 GB, free: 39.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002083/0.4656, allocations: 204.6 kB / 0.5195 GB, free: 39.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002964/0.4659, allocations: 264.3 kB / 0.5198 GB, free: 39.79 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 442 * 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 (509): * Single equations (assignments): 506 * 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.001461/0.4673, allocations: 1.277 MB / 0.521 GB, free: 39.15 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003041/0.4676, allocations: 202.1 kB / 0.5212 GB, free: 39.04 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002992/0.4679, allocations: 218.4 kB / 0.5214 GB, free: 38.94 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.741e-05/0.468, allocations: 12.38 kB / 0.5214 GB, free: 38.94 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/0.468, allocations: 1.375 kB / 0.5214 GB, free: 38.94 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.468, allocations: 5.672 kB / 0.5214 GB, free: 38.94 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003688/0.4717, allocations: 2.481 MB / 0.5239 GB, free: 37.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.241e-05/0.4717, allocations: 6.75 kB / 0.5239 GB, free: 37.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005464/0.4722, allocations: 141.7 kB / 0.524 GB, free: 37.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.557e-05/0.4722, allocations: 12.69 kB / 0.524 GB, free: 37.74 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.335e-05/0.4723, allocations: 24.91 kB / 0.524 GB, free: 37.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.539e-05/0.4723, allocations: 19.81 kB / 0.5241 GB, free: 37.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.867e-06/0.4723, allocations: 10.94 kB / 0.5241 GB, free: 37.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002206/0.4745, allocations: 2.065 MB / 0.5261 GB, free: 36.58 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004985/0.475, allocations: 260.9 kB / 0.5263 GB, free: 36.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001435/0.4752, allocations: 22.05 kB / 0.5264 GB, free: 36.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005694/0.4757, allocations: 37.52 kB / 0.5264 GB, free: 36.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.623e-05/0.4758, allocations: 64.66 kB / 0.5265 GB, free: 36.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.443e-05/0.4759, allocations: 32.59 kB / 0.5265 GB, free: 36.39 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001563/0.4774, allocations: 1.336 MB / 0.5278 GB, free: 35.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4774, allocations: 1.219 kB / 0.5278 GB, free: 35.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002942/0.4804, allocations: 0.5083 MB / 0.5283 GB, free: 35.82 MB / 446.1 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.000255/0.4806, allocations: 152.5 kB / 0.5284 GB, free: 35.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00356/0.4842, allocations: 2.43 MB / 0.5308 GB, free: 34.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/0.4842, allocations: 0 / 0.5308 GB, free: 34.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006404/0.4848, allocations: 452.9 kB / 0.5312 GB, free: 34.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001293/0.4861, allocations: 179.9 kB / 0.5314 GB, free: 34.67 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006691/0.4928, allocations: 4.92 MB / 0.5362 GB, free: 32.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001375/0.4942, allocations: 1.464 MB / 0.5376 GB, free: 31.92 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002226/0.4964, allocations: 1.279 MB / 0.5389 GB, free: 31.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002362/0.4967, allocations: 141.2 kB / 0.539 GB, free: 31.81 MB / 446.1 MB Notification: Performance of SimCode: time 8.62e-07/0.4967, allocations: 0 / 0.539 GB, free: 31.81 MB / 446.1 MB Notification: Performance of Templates: time 0.02563/0.5223, allocations: 11.21 MB / 0.55 GB, free: 25.62 MB / 446.1 MB " [Timeout remaining time 659] 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=480 -s ida -lv LOG_STATS > StewartPlatform_StewartPlatform.Tests.SpindleDrive_test.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.0915788899874315] Failed to read output from testmodel.py, exit status != 0: 0.5305777180474252 0.539665852 0.39221085 Calling exit ...