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.001952/0.001952, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002853/0.002853, allocations: 219.5 kB / 23.01 MB, free: 4.609 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.522/1.522, allocations: 230.6 MB / 256.8 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] 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.0438/0.0438, allocations: 6.582 MB / 319.8 MB, free: 12.66 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.002073/0.002073, allocations: 67.89 kB / 445.1 MB, free: 4.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.1679, allocations: 54.86 MB / 0.4883 GB, free: 13.9 MB / 366.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.SpindleDrive_test): time 0.01093/0.1788, allocations: 7.274 MB / 0.4954 GB, free: 6.586 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006273/0.1851, allocations: 2.368 MB / 0.4977 GB, free: 4.211 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001216/0.1863, allocations: 39.81 kB / 0.4977 GB, free: 4.172 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00222/0.1885, allocations: 0.8365 MB / 0.4986 GB, free: 3.332 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002619/0.1911, allocations: 0.8324 MB / 0.4994 GB, free: 2.496 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007215/0.1918, allocations: 223.5 kB / 0.4996 GB, free: 2.277 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003154/0.195, allocations: 1.86 MB / 0.5014 GB, free: 424 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001657/0.1967, allocations: 1.075 MB / 0.5025 GB, free: 15.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00123/0.1979, allocations: 0.681 MB / 0.5031 GB, free: 14.64 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001579/0.1995, allocations: 1.043 MB / 0.5041 GB, free: 13.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002841/0.1997, allocations: 128 kB / 0.5043 GB, free: 13.47 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001347/0.2011, allocations: 0.6279 MB / 0.5049 GB, free: 12.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009933/0.2021, allocations: 0.8722 MB / 0.5057 GB, free: 11.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001215/0.2033, allocations: 1.075 MB / 0.5068 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004927/0.2082, allocations: 3.469 MB / 0.5102 GB, free: 7.398 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.2082, allocations: 0 / 0.5102 GB, free: 7.398 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.747e-06/0.2082, allocations: 0 / 0.5102 GB, free: 7.398 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.233e-05/0.2083, allocations: 0 / 0.5102 GB, free: 7.398 MB / 382.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.004996/0.2133, allocations: 2.436 MB / 0.5125 GB, free: 4.918 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.231e-05/0.2134, allocations: 12.03 kB / 0.5126 GB, free: 4.906 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005236/0.2186, allocations: 1.571 MB / 0.5141 GB, free: 3.332 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002523/0.2211, allocations: 0.9805 MB / 0.515 GB, free: 2.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001173/0.2212, allocations: 111.1 kB / 0.5151 GB, free: 2.211 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002969/0.2215, allocations: 155.8 kB / 0.5153 GB, free: 2.059 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3739/0.5954, allocations: 5.519 MB / 0.5207 GB, free: 27.17 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.402e-05/0.5955, allocations: 30.47 kB / 0.5207 GB, free: 27.17 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002033/0.5957, allocations: 80.86 kB / 0.5208 GB, free: 27.17 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002275/0.598, allocations: 1.257 MB / 0.522 GB, free: 27.15 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008778/0.6068, allocations: 4.604 MB / 0.5265 GB, free: 26.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02714/0.6339, allocations: 22.01 MB / 0.548 GB, free: 9.906 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00242/0.6363, allocations: 1.016 MB / 0.549 GB, free: 9.484 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006168/0.637, allocations: 407.4 kB / 0.5494 GB, free: 9.285 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002715/0.6372, allocations: 114.8 kB / 0.5495 GB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.6373, allocations: 38.62 kB / 0.5495 GB, free: 9.207 MB / 382.1 MB Notification: Performance of pre-optimization done (n=83): time 3.898e-06/0.6373, allocations: 1.094 kB / 0.5495 GB, free: 9.207 MB / 382.1 MB Notification: Performance of matching and sorting (n=91): time 0.007776/0.645, allocations: 4.23 MB / 0.5537 GB, free: 6.691 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.6451, allocations: 136.4 kB / 0.5538 GB, free: 6.535 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002703/0.6478, allocations: 2.555 MB / 0.5563 GB, free: 5.219 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.705e-05/0.6478, allocations: 41.69 kB / 0.5563 GB, free: 5.172 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008741/0.6487, allocations: 2.018 MB / 0.5583 GB, free: 3.402 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000243/0.6489, allocations: 398.4 kB / 0.5587 GB, free: 3.082 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007259/0.6497, allocations: 0.8289 MB / 0.5595 GB, free: 2.602 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.521e-05/0.6497, allocations: 305.1 kB / 0.5598 GB, free: 2.305 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001229/0.651, allocations: 1.075 MB / 0.5608 GB, free: 1.652 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003532/0.6545, allocations: 3.798 MB / 0.5645 GB, free: 12.48 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006566/0.661, allocations: 5.334 MB / 0.5698 GB, free: 5.801 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.244e-05/0.6611, allocations: 32 kB / 0.5698 GB, free: 5.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.007598/0.6687, allocations: 4.623 MB / 0.5743 GB, free: 1.141 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.035e-05/0.6688, allocations: 44 kB / 0.5743 GB, free: 1.098 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001007/0.6689, allocations: 100 kB / 0.5744 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001271/0.669, allocations: 127.9 kB / 0.5746 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002418/0.6714, allocations: 0.9441 MB / 0.5755 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000162/0.6716, allocations: 191.2 kB / 0.5757 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002843/0.6744, allocations: 203.7 kB / 0.5759 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003432/0.6748, allocations: 260 kB / 0.5761 GB, free: 15.29 MB / 414.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.002195/0.6769, allocations: 1.281 MB / 0.5774 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004467/0.6774, allocations: 222.4 kB / 0.5776 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004679/0.6779, allocations: 247.8 kB / 0.5778 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.212e-05/0.6779, allocations: 12 kB / 0.5778 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-05/0.6779, allocations: 5.312 kB / 0.5778 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/0.6779, allocations: 3.984 kB / 0.5778 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005164/0.6831, allocations: 3.071 MB / 0.5808 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/0.6831, allocations: 8 kB / 0.5808 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005339/0.6836, allocations: 135.8 kB / 0.581 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.429e-05/0.6836, allocations: 8.719 kB / 0.581 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.057e-05/0.6837, allocations: 27.98 kB / 0.581 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.178e-05/0.6837, allocations: 19.94 kB / 0.581 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.037e-06/0.6837, allocations: 11.94 kB / 0.581 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002596/0.6863, allocations: 2.094 MB / 0.5831 GB, free: 7.926 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006681/0.687, allocations: 294.3 kB / 0.5833 GB, free: 7.637 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001796/0.6872, allocations: 20 kB / 0.5834 GB, free: 7.617 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005904/0.6877, allocations: 34.97 kB / 0.5834 GB, free: 7.586 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.6879, allocations: 69.81 kB / 0.5835 GB, free: 7.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.067e-05/0.6879, allocations: 33.12 kB / 0.5835 GB, free: 7.488 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002161/0.6901, allocations: 1.572 MB / 0.585 GB, free: 5.902 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6901, allocations: 0 / 0.585 GB, free: 5.902 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003055/0.6931, allocations: 0.5078 MB / 0.5855 GB, free: 5.395 MB / 414.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.0003196/0.6935, allocations: 159.1 kB / 0.5857 GB, free: 5.234 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004046/0.6975, allocations: 2.437 MB / 0.5881 GB, free: 2.82 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.6975, allocations: 0 / 0.5881 GB, free: 2.82 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006908/0.6982, allocations: 451.2 kB / 0.5885 GB, free: 2.383 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001273/0.6995, allocations: 205.4 kB / 0.5887 GB, free: 2.184 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009665/0.7091, allocations: 5.235 MB / 0.5938 GB, free: 12.83 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002315/0.7115, allocations: 2.039 MB / 0.5958 GB, free: 10.76 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006044/0.7121, allocations: 191.4 kB / 0.596 GB, free: 10.57 MB / 430.1 MB Notification: Performance of SimCode: time 2.164e-06/0.7121, allocations: 0 / 0.596 GB, free: 10.57 MB / 430.1 MB Notification: Performance of Templates: time 0.06964/0.7817, allocations: 31.59 MB / 0.6268 GB, free: 11.06 MB / 462.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 -lv LOG_STATS > StewartPlatform_StewartPlatform.Tests.SpindleDrive_test.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.919699944090098] Failed to read output from testmodel.py, exit status != 0: 0.7913693669252098 0.822060722 0.610055346 Calling exit ...