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.000903/0.000903, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001375/0.002278, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001481/0.001481, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001627/0.003108, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.856/0.856, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07617/0.9322, allocations: 53.65 MB / 243.2 MB, free: 15.58 MB / 250.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.0194/0.0194, allocations: 5.072 MB / 249 MB, free: 9.918 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002549/0.02194, allocations: 1.897 MB / 250.9 MB, free: 8.012 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.212e-06/1.212e-06, allocations: 0 / 252.3 MB, free: 6.648 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.668e-06/1.088e-05, allocations: 2.312 kB / 252.3 MB, free: 6.645 MB / 250.7 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.SpindleDrive_test): time 0.005269/0.00528, allocations: 7.024 MB / 259.3 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002982/0.008262, allocations: 2.355 MB / 261.7 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003029/0.008565, allocations: 35.88 kB / 261.7 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009262/0.009491, allocations: 0.848 MB / 262.6 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009834/0.01047, allocations: 0.8667 MB / 263.4 MB, free: 11.46 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003215/0.0108, allocations: 227.4 kB / 263.6 MB, free: 11.24 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001289/0.01208, allocations: 1.887 MB / 265.5 MB, free: 9.352 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008309/0.01292, allocations: 1.07 MB / 266.6 MB, free: 8.258 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008542/0.01377, allocations: 1.075 MB / 267.7 MB, free: 7.18 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006902/0.01446, allocations: 0.8803 MB / 268.6 MB, free: 6.297 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000131/0.01459, allocations: 124 kB / 268.7 MB, free: 6.176 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005604/0.01515, allocations: 0.5576 MB / 269.2 MB, free: 5.617 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004706/0.01562, allocations: 0.8023 MB / 270 MB, free: 4.812 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004668/0.01609, allocations: 470.3 kB / 270.5 MB, free: 4.352 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001387/0.01748, allocations: 2.104 MB / 272.6 MB, free: 2.238 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.109e-05/0.01749, allocations: 0 / 272.6 MB, free: 2.238 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.01749, allocations: 0 / 272.6 MB, free: 2.238 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.249e-05/0.01751, allocations: 0 / 272.6 MB, free: 2.238 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: 884 * Number of variables: 884 Notification: Performance of Generate backend data structure: time 0.1006/0.1181, allocations: 2.709 MB / 275.3 MB, free: 9.844 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.1181, allocations: 9.719 kB / 275.3 MB, free: 9.844 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002034/0.1201, allocations: 0.8071 MB / 276.1 MB, free: 9.75 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009845/0.1211, allocations: 0.776 MB / 276.9 MB, free: 9.5 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.375e-05/0.1212, allocations: 115.3 kB / 277 MB, free: 9.496 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001754/0.1214, allocations: 150.5 kB / 277.2 MB, free: 9.496 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002653/0.124, allocations: 2.765 MB / 279.9 MB, free: 8.227 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.651e-05/0.1241, allocations: 29.44 kB / 280 MB, free: 8.223 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001405/0.1242, allocations: 79.08 kB / 280 MB, free: 8.223 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001055/0.1252, allocations: 1.129 MB / 281.2 MB, free: 8.219 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002359/0.1276, allocations: 1.366 MB / 282.5 MB, free: 8.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009554/0.1372, allocations: 18.44 MB / 301 MB, free: 9.98 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007877/0.1379, allocations: 0.5423 MB / 301.5 MB, free: 9.777 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000133/0.1381, allocations: 164.5 kB / 301.7 MB, free: 9.691 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001428/0.1382, allocations: 110.3 kB / 301.8 MB, free: 9.676 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.1383, allocations: 42.22 kB / 301.8 MB, free: 9.633 MB / 282.7 MB Notification: Performance of pre-optimization done (n=83): time 2.695e-06/0.1383, allocations: 3.75 kB / 301.8 MB, free: 9.633 MB / 282.7 MB Notification: Performance of matching and sorting (n=91): time 0.003093/0.1413, allocations: 1.86 MB / 303.7 MB, free: 8.965 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.1414, allocations: 137.8 kB / 303.8 MB, free: 8.809 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009719/0.1424, allocations: 1.778 MB / 305.6 MB, free: 8.289 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.306e-05/0.1424, allocations: 37.02 kB / 305.6 MB, free: 8.25 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007384/0.1431, allocations: 1.979 MB / 307.6 MB, free: 6.637 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001936/0.1433, allocations: 392.6 kB / 308 MB, free: 6.332 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000532/0.1439, allocations: 0.7799 MB / 308.8 MB, free: 5.688 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.488e-05/0.1439, allocations: 337.2 kB / 309.1 MB, free: 5.367 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004204/0.1444, allocations: 425.9 kB / 309.5 MB, free: 4.941 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001684/0.1461, allocations: 3.039 MB / 312.6 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002471/0.1485, allocations: 3.928 MB / 316.5 MB, free: 11.68 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.913e-05/0.1486, allocations: 28 kB / 316.5 MB, free: 11.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=536) (initialization): time 0.002712/0.1513, allocations: 2.726 MB / 319.2 MB, free: 8.926 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.156e-05/0.1513, allocations: 54.41 kB / 319.3 MB, free: 8.875 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.919e-05/0.1514, allocations: 97.97 kB / 319.4 MB, free: 8.781 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.918e-05/0.1514, allocations: 128 kB / 319.5 MB, free: 8.656 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001537/0.153, allocations: 1.041 MB / 320.6 MB, free: 7.613 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-05/0.1531, allocations: 191.2 kB / 320.7 MB, free: 7.426 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/0.1541, allocations: 187.7 kB / 320.9 MB, free: 7.242 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001753/0.1543, allocations: 233.2 kB / 321.1 MB, free: 7.016 MB / 298.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.0004554/0.1547, allocations: 466.9 kB / 321.6 MB, free: 6.551 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001399/0.1548, allocations: 119.9 kB / 321.7 MB, free: 6.434 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001689/0.155, allocations: 181.4 kB / 321.9 MB, free: 6.258 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/0.155, allocations: 12 kB / 321.9 MB, free: 6.246 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.155, allocations: 0 / 321.9 MB, free: 6.246 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.155, allocations: 11.86 kB / 321.9 MB, free: 6.234 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001942/0.157, allocations: 2.108 MB / 324 MB, free: 4.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.157, allocations: 5.062 kB / 324 MB, free: 4.336 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003117/0.1573, allocations: 152.4 kB / 324.2 MB, free: 4.188 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002091/0.1575, allocations: 222.5 kB / 324.4 MB, free: 3.969 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.797e-06/0.1575, allocations: 8 kB / 324.4 MB, free: 3.961 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.789e-05/0.1576, allocations: 27.59 kB / 324.4 MB, free: 3.938 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.354e-06/0.1576, allocations: 14.17 kB / 324.5 MB, free: 3.926 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/0.1576, allocations: 12.95 kB / 324.5 MB, free: 3.914 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009756/0.1585, allocations: 1.167 MB / 325.6 MB, free: 2.672 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.795e-05/0.1586, allocations: 20.03 kB / 325.6 MB, free: 2.652 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002775/0.1589, allocations: 20 kB / 325.7 MB, free: 2.633 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.14e-05/0.159, allocations: 63.78 kB / 325.7 MB, free: 2.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.071e-05/0.159, allocations: 28 kB / 325.8 MB, free: 2.543 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004755/0.1595, allocations: 0.6666 MB / 326.4 MB, free: 1.93 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1595, allocations: 0 / 326.4 MB, free: 1.93 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001383/0.1609, allocations: 0.5104 MB / 326.9 MB, free: 1.422 MB / 298.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.0002024/0.1611, allocations: 135.5 kB / 327.1 MB, free: 1.285 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001202/0.1623, allocations: 1.524 MB / 328.6 MB, free: 15.82 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.229e-05/0.1624, allocations: 56.69 kB / 328.6 MB, free: 15.75 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001708/0.1625, allocations: 194.2 kB / 328.8 MB, free: 15.57 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007128/0.1633, allocations: 318.2 kB / 329.1 MB, free: 15.26 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005575/0.1688, allocations: 4.18 MB / 333.3 MB, free: 10.98 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004975/0.1693, allocations: 0.6431 MB / 334 MB, free: 10.31 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005909/0.1699, allocations: 320.5 kB / 334.3 MB, free: 10 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002885/0.1702, allocations: 315.3 kB / 334.6 MB, free: 9.691 MB / 314.7 MB Notification: Performance of SimCode: time 6.11e-07/0.1702, allocations: 4 kB / 334.6 MB, free: 9.688 MB / 314.7 MB Notification: Performance of Templates: time 0.02041/0.1906, allocations: 12.79 MB / 347.4 MB, free: 13.16 MB / 330.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: 2.844613201916218]