Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr StewartPlatform_StewartPlatform.Tests.ElectricCylinder_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.0009162/0.0009162, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0008995/0.0008995, allocations: 173 kB / 23.5 MB, free: 1.055 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.8938/0.8938, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.02034/0.02034, allocations: 5.066 MB / 265.3 MB, free: 8.176 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.ElectricCylinder_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test") translateModel(StewartPlatform.Tests.ElectricCylinder_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.063e-06/2.063e-06, allocations: 0 / 336.2 MB, free: 13.43 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.964e-05/2.17e-05, allocations: 2.312 kB / 336.2 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ElectricCylinder_test): time 0.008498/0.00852, allocations: 11.25 MB / 347.4 MB, free: 2.117 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005991/0.01451, allocations: 4.332 MB / 351.8 MB, free: 13.77 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001161/0.01567, allocations: 87.5 kB / 351.9 MB, free: 13.69 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00288/0.01855, allocations: 2.577 MB / 354.4 MB, free: 11.1 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002953/0.02151, allocations: 2.049 MB / 356.5 MB, free: 9.043 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001075/0.02258, allocations: 0.8695 MB / 357.4 MB, free: 8.172 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004608/0.02719, allocations: 6.429 MB / 363.8 MB, free: 1.73 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002546/0.02973, allocations: 3.523 MB / 367.3 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002416/0.03215, allocations: 2.659 MB / 370 MB, free: 11.49 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002107/0.03426, allocations: 2.596 MB / 372.6 MB, free: 8.891 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004035/0.03466, allocations: 416 kB / 373 MB, free: 8.484 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0011/0.03576, allocations: 1.1 MB / 374.1 MB, free: 7.383 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001143/0.0369, allocations: 2.116 MB / 376.2 MB, free: 5.262 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001001/0.03791, allocations: 1.383 MB / 377.6 MB, free: 3.875 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003284/0.04119, allocations: 4.73 MB / 382.3 MB, free: 15.12 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.04119, allocations: 0 / 382.3 MB, free: 15.12 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.04119, allocations: 0 / 382.3 MB, free: 15.12 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.078e-05/0.04122, allocations: 0 / 382.3 MB, free: 15.12 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1308 * Number of variables: 1308 Notification: Performance of Generate backend data structure: time 0.004935/0.04616, allocations: 5.193 MB / 387.5 MB, free: 9.863 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.0462, allocations: 12.03 kB / 387.5 MB, free: 9.852 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009311/0.05551, allocations: 3.33 MB / 390.8 MB, free: 6.516 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00366/0.05917, allocations: 3.202 MB / 394 MB, free: 3.262 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/0.05927, allocations: 217.9 kB / 394.2 MB, free: 3.047 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003122/0.05958, allocations: 300.1 kB / 394.5 MB, free: 2.754 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00517/0.06475, allocations: 5.218 MB / 399.8 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.485e-05/0.06483, allocations: 47.64 kB / 399.8 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002285/0.06506, allocations: 135.9 kB / 399.9 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001309/0.06637, allocations: 1.564 MB / 401.5 MB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004029/0.07039, allocations: 2.469 MB / 404 MB, free: 8.438 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1389/0.2093, allocations: 37.02 MB / 441 MB, free: 48.71 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001917/0.2112, allocations: 1.036 MB / 442 MB, free: 48.42 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003116/0.2115, allocations: 275.7 kB / 442.3 MB, free: 48.32 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002148/0.2137, allocations: 2.69 MB / 445 MB, free: 46.64 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.2137, allocations: 48.52 kB / 445 MB, free: 46.59 MB / 330.7 MB Notification: Performance of pre-optimization done (n=114): time 2.695e-06/0.2137, allocations: 0 / 445 MB, free: 46.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=134): time 0.00828/0.222, allocations: 6.511 MB / 451.5 MB, free: 42.46 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5e-05/0.222, allocations: 273.6 kB / 451.8 MB, free: 42.13 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00254/0.2246, allocations: 3.546 MB / 455.4 MB, free: 38.74 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.627e-05/0.2246, allocations: 41.7 kB / 455.4 MB, free: 38.69 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001072/0.2257, allocations: 3.195 MB / 458.6 MB, free: 35.65 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002453/0.2259, allocations: 0.5688 MB / 459.2 MB, free: 35.09 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007409/0.2267, allocations: 1.2 MB / 460.4 MB, free: 33.88 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.801e-05/0.2267, allocations: 480.7 kB / 460.8 MB, free: 33.4 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007515/0.2274, allocations: 0.4986 MB / 461.3 MB, free: 32.9 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001844/0.2293, allocations: 5.738 MB / 467.1 MB, free: 24.75 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003309/0.2326, allocations: 6.704 MB / 473.8 MB, free: 15.81 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.452e-05/0.2326, allocations: 36 kB / 473.8 MB, free: 15.78 MB / 330.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.004249/0.2369, allocations: 4.533 MB / 478.3 MB, free: 11.24 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.239e-05/0.2369, allocations: 60 kB / 478.4 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.455e-05/0.237, allocations: 123.9 kB / 478.5 MB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.335e-05/0.2371, allocations: 167.9 kB / 478.7 MB, free: 10.9 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001799/0.2389, allocations: 1.275 MB / 480 MB, free: 9.621 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.879e-05/0.239, allocations: 239.1 kB / 480.2 MB, free: 9.387 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001701/0.2407, allocations: 323.5 kB / 480.5 MB, free: 9.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002044/0.2409, allocations: 336 kB / 480.8 MB, free: 8.742 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 554 * Number of states: 0 () * Number of discrete variables: 30 (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],electricCylinder.bodyCylinder.color[3],electricCylinder.bodyCylinder.color[2],electricCylinder.bodyCylinder.color[1],electricCylinder.bodyCylinder.body.sphereColor[3],electricCylinder.bodyCylinder.body.sphereColor[2],electricCylinder.bodyCylinder.body.sphereColor[1],electricCylinder.bodyBox.color[3],electricCylinder.bodyBox.color[2],electricCylinder.bodyBox.color[1],electricCylinder.bodyBox.body.sphereColor[3],electricCylinder.bodyBox.body.sphereColor[2],electricCylinder.bodyBox.body.sphereColor[1],electricCylinder.prismatic.boxColor[3],electricCylinder.prismatic.boxColor[2],electricCylinder.prismatic.boxColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (690): * Single equations (assignments): 687 * 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.000773/0.2416, allocations: 0.6166 MB / 481.5 MB, free: 8.113 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002808/0.2419, allocations: 357.8 kB / 481.8 MB, free: 7.762 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002444/0.2422, allocations: 298.6 kB / 482.1 MB, free: 7.465 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.349e-05/0.2422, allocations: 19.55 kB / 482.1 MB, free: 7.449 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.078e-06/0.2422, allocations: 4 kB / 482.1 MB, free: 7.445 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.2422, allocations: 3.984 kB / 482.1 MB, free: 7.441 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003897/0.2461, allocations: 4.308 MB / 486.4 MB, free: 2.898 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/0.2461, allocations: 16 kB / 486.4 MB, free: 2.883 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004293/0.2465, allocations: 231.6 kB / 486.7 MB, free: 2.656 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.015e-05/0.2465, allocations: 20 kB / 486.7 MB, free: 2.637 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.092e-05/0.2466, allocations: 36 kB / 486.7 MB, free: 2.602 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.11e-05/0.2466, allocations: 27.92 kB / 486.8 MB, free: 2.574 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.433e-06/0.2466, allocations: 15.94 kB / 486.8 MB, free: 2.559 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001287/0.2479, allocations: 2.134 MB / 488.9 MB, free: 184 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005098/0.2484, allocations: 457.8 kB / 489.4 MB, free: 15.73 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002307/0.2486, allocations: 47.98 kB / 489.4 MB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006725/0.2493, allocations: 91.92 kB / 489.5 MB, free: 15.59 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/0.2494, allocations: 115.3 kB / 489.6 MB, free: 15.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-05/0.2495, allocations: 52 kB / 489.7 MB, free: 15.43 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001746/0.2512, allocations: 1.572 MB / 491.2 MB, free: 13.87 MB / 346.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2512, allocations: 0 / 491.2 MB, free: 13.87 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002636/0.2539, allocations: 0.9296 MB / 492.2 MB, free: 12.94 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 56 * Number of states: 2 (electricCylinder.prismatic.s,electricCylinder.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 (118): * Single equations (assignments): 115 * 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.0002931/0.2542, allocations: 190.5 kB / 492.3 MB, free: 12.75 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002414/0.2566, allocations: 2.282 MB / 494.6 MB, free: 10.48 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.2566, allocations: 4 kB / 494.6 MB, free: 10.48 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003809/0.257, allocations: 380.3 kB / 495 MB, free: 10.11 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001509/0.2585, allocations: 0.4975 MB / 495.5 MB, free: 9.652 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007795/0.2663, allocations: 7.115 MB / 0.4908 GB, free: 2.238 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009597/0.2672, allocations: 1.162 MB / 0.492 GB, free: 1.051 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002052/0.2693, allocations: 1.41 MB / 0.4933 GB, free: 15.64 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003197/0.2696, allocations: 224.4 kB / 0.4936 GB, free: 15.43 MB / 362.7 MB Notification: Performance of SimCode: time 1.142e-06/0.2696, allocations: 0 / 0.4936 GB, free: 15.43 MB / 362.7 MB Notification: Performance of Templates: time 0.03455/0.3041, allocations: 23.69 MB / 0.5167 GB, free: 8.285 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test.makefile [Timeout 660] (rm -f StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test.pipe ; mkfifo StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test.pipe ; head -c 1048576 < StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test.pipe >> ../files/StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test.sim & ./StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test -abortSlowSimulation -alarm=240 -lv LOG_STATS > StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.444229824002832]