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.001691/0.001691, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001836/0.001836, allocations: 216 kB / 22.99 MB, free: 4.945 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.554/1.554, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.03556/0.03556, allocations: 6.572 MB / 319.8 MB, free: 12.45 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.002096/0.002096, allocations: 67.89 kB / 445.1 MB, free: 4.383 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1239, allocations: 54.86 MB / 499.9 MB, free: 13.44 MB / 366.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.SpindleDrive_test): time 0.01007/0.134, allocations: 6.491 MB / 0.4945 GB, free: 6.914 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005601/0.1396, allocations: 2.208 MB / 0.4967 GB, free: 4.699 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001185/0.1408, allocations: 31.88 kB / 0.4967 GB, free: 4.668 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002284/0.143, allocations: 0.8054 MB / 0.4975 GB, free: 3.859 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00276/0.1458, allocations: 0.8393 MB / 0.4983 GB, free: 3.02 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008351/0.1466, allocations: 223.5 kB / 0.4986 GB, free: 2.801 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003034/0.1497, allocations: 1.853 MB / 0.5004 GB, free: 0.9414 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002067/0.1517, allocations: 1.072 MB / 0.5014 GB, free: 15.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001487/0.1532, allocations: 0.6809 MB / 0.5021 GB, free: 15.17 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00191/0.1551, allocations: 0.9963 MB / 0.503 GB, free: 14.17 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000574/0.1557, allocations: 128 kB / 0.5032 GB, free: 14.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001415/0.1571, allocations: 0.5148 MB / 0.5037 GB, free: 13.53 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009976/0.1581, allocations: 0.8683 MB / 0.5045 GB, free: 12.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009069/0.159, allocations: 0.7564 MB / 0.5053 GB, free: 11.9 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003947/0.163, allocations: 3.469 MB / 0.5086 GB, free: 8.414 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.163, allocations: 7.922 kB / 0.5087 GB, free: 8.406 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.163, allocations: 0 / 0.5087 GB, free: 8.406 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.662e-05/0.163, allocations: 0 / 0.5087 GB, free: 8.406 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.00409/0.1671, allocations: 2.44 MB / 0.511 GB, free: 5.922 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.1672, allocations: 8.031 kB / 0.511 GB, free: 5.914 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005051/0.1722, allocations: 1.575 MB / 0.5126 GB, free: 4.336 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002244/0.1745, allocations: 0.9845 MB / 0.5135 GB, free: 3.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000104/0.1746, allocations: 115.1 kB / 0.5137 GB, free: 3.207 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002822/0.1749, allocations: 151.8 kB / 0.5138 GB, free: 3.059 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2661/0.441, allocations: 5.519 MB / 0.5192 GB, free: 27.4 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.1e-05/0.441, allocations: 38.09 kB / 0.5192 GB, free: 27.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001849/0.4412, allocations: 70.09 kB / 0.5193 GB, free: 27.38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001944/0.4431, allocations: 1.267 MB / 0.5205 GB, free: 27.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008794/0.4519, allocations: 4.591 MB / 0.525 GB, free: 27.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02219/0.4741, allocations: 20.71 MB / 0.5452 GB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002444/0.4766, allocations: 1.015 MB / 0.5462 GB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006174/0.4772, allocations: 412.7 kB / 0.5466 GB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002601/0.4775, allocations: 105.6 kB / 0.5467 GB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.4775, allocations: 38.69 kB / 0.5468 GB, free: 10.45 MB / 382.1 MB Notification: Performance of pre-optimization done (n=83): time 4.068e-06/0.4775, allocations: 0 / 0.5468 GB, free: 10.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=91): time 0.007826/0.4853, allocations: 4.207 MB / 0.5509 GB, free: 8.332 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.899e-05/0.4854, allocations: 139.5 kB / 0.551 GB, free: 8.176 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002849/0.4882, allocations: 2.385 MB / 0.5533 GB, free: 6.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.166e-05/0.4883, allocations: 39.23 kB / 0.5534 GB, free: 6.941 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008116/0.4891, allocations: 2.047 MB / 0.5554 GB, free: 5.141 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002403/0.4893, allocations: 405.9 kB / 0.5558 GB, free: 4.812 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007468/0.4901, allocations: 0.8243 MB / 0.5566 GB, free: 4.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.121e-05/0.4901, allocations: 341.9 kB / 0.5569 GB, free: 4.008 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001208/0.4914, allocations: 1.073 MB / 0.5579 GB, free: 3.516 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00271/0.4941, allocations: 3.801 MB / 0.5616 GB, free: 14.63 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006699/0.5008, allocations: 5.33 MB / 0.5668 GB, free: 7.961 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.042e-05/0.5008, allocations: 28 kB / 0.5669 GB, free: 7.934 MB / 398.1 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.007766/0.5086, allocations: 4.595 MB / 0.5714 GB, free: 3.336 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.296e-05/0.5087, allocations: 53.91 kB / 0.5714 GB, free: 3.285 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.793e-05/0.5088, allocations: 100.2 kB / 0.5715 GB, free: 3.188 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001363/0.5089, allocations: 128 kB / 0.5716 GB, free: 3.062 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00251/0.5114, allocations: 0.9401 MB / 0.5725 GB, free: 2.121 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001663/0.5116, allocations: 187.3 kB / 0.5727 GB, free: 1.938 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002433/0.514, allocations: 203.7 kB / 0.5729 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003257/0.5143, allocations: 260 kB / 0.5732 GB, free: 1.484 MB / 398.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.001941/0.5163, allocations: 1.285 MB / 0.5744 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003965/0.5167, allocations: 199.5 kB / 0.5746 GB, free: 0 / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003745/0.5171, allocations: 225.5 kB / 0.5748 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.825e-05/0.5171, allocations: 11.94 kB / 0.5748 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.819e-05/0.5171, allocations: 4 kB / 0.5748 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-06/0.5171, allocations: 3.984 kB / 0.5748 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004721/0.5218, allocations: 2.471 MB / 0.5773 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/0.5218, allocations: 4 kB / 0.5773 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005471/0.5224, allocations: 140.5 kB / 0.5774 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.317e-05/0.5224, allocations: 8 kB / 0.5774 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.396e-05/0.5225, allocations: 31.98 kB / 0.5774 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.498e-05/0.5225, allocations: 11.94 kB / 0.5774 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.814e-06/0.5225, allocations: 11.94 kB / 0.5775 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002703/0.5252, allocations: 2.059 MB / 0.5795 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006393/0.5258, allocations: 263.2 kB / 0.5797 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001668/0.526, allocations: 28.05 kB / 0.5797 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005738/0.5266, allocations: 29.94 kB / 0.5798 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/0.5267, allocations: 71.66 kB / 0.5798 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.54e-05/0.5268, allocations: 36 kB / 0.5799 GB, free: 10.42 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001898/0.5286, allocations: 1.338 MB / 0.5812 GB, free: 9.062 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.5286, allocations: 0 / 0.5812 GB, free: 9.062 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003033/0.5317, allocations: 0.5097 MB / 0.5817 GB, free: 8.555 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.0003333/0.532, allocations: 149.7 kB / 0.5818 GB, free: 8.402 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004009/0.536, allocations: 2.439 MB / 0.5842 GB, free: 5.984 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/0.536, allocations: 0 / 0.5842 GB, free: 5.984 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006819/0.5367, allocations: 454.3 kB / 0.5846 GB, free: 5.543 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/0.5379, allocations: 164.1 kB / 0.5848 GB, free: 5.383 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008667/0.5465, allocations: 5.2 MB / 0.5899 GB, free: 72 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002022/0.5485, allocations: 1.474 MB / 0.5913 GB, free: 14.57 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005088/0.5491, allocations: 171.4 kB / 0.5915 GB, free: 14.4 MB / 430.1 MB Notification: Performance of SimCode: time 1.393e-06/0.5491, allocations: 0 / 0.5915 GB, free: 14.4 MB / 430.1 MB Notification: Performance of Templates: time 0.05405/0.6031, allocations: 31.21 MB / 0.622 GB, free: 15.25 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: 9.939596022944897] Failed to read output from testmodel.py, exit status != 0: 0.6115226787514985 0.626342131 0.46017769300000005 Calling exit ...