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.0008196/0.0008196, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0007659/0.0007659, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.892/0.892, allocations: 177.1 MB / 203.5 MB, free: 5.723 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.01892/0.01892, allocations: 5.058 MB / 265 MB, free: 8.305 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 1.834e-06/1.834e-06, allocations: 0 / 390.4 MB, free: 6.875 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.58e-05/2.763e-05, allocations: 2.281 kB / 390.4 MB, free: 6.871 MB / 314.7 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ElectricCylinder_test): time 0.008365/0.008392, allocations: 10.25 MB / 400.7 MB, free: 12.57 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.006378/0.01477, allocations: 4.206 MB / 404.9 MB, free: 8.348 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001063/0.01583, allocations: 87.5 kB / 405 MB, free: 8.262 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002725/0.01856, allocations: 2.48 MB / 407.5 MB, free: 5.773 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002472/0.02103, allocations: 2.045 MB / 409.5 MB, free: 3.719 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008806/0.02191, allocations: 0.854 MB / 410.4 MB, free: 2.863 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.1961/0.218, allocations: 6.422 MB / 416.8 MB, free: 17.05 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004579/0.2226, allocations: 3.419 MB / 420.2 MB, free: 16.77 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003586/0.2262, allocations: 2.638 MB / 422.8 MB, free: 16.59 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002635/0.2288, allocations: 2.524 MB / 425.4 MB, free: 16.18 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005215/0.2294, allocations: 413.4 kB / 425.8 MB, free: 16.18 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001589/0.231, allocations: 1.116 MB / 426.9 MB, free: 16.06 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001331/0.2323, allocations: 2.094 MB / 429 MB, free: 15.21 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001114/0.2334, allocations: 1.382 MB / 430.4 MB, free: 14.55 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004955/0.2384, allocations: 7.556 MB / 437.9 MB, free: 10.52 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.2384, allocations: 5.312 kB / 437.9 MB, free: 10.52 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.2384, allocations: 0 / 437.9 MB, free: 10.52 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.165e-05/0.2384, allocations: 0 / 437.9 MB, free: 10.52 MB / 330.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.00523/0.2436, allocations: 4.833 MB / 442.7 MB, free: 7.223 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.2437, allocations: 10.66 kB / 442.8 MB, free: 7.223 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008465/0.2522, allocations: 2.919 MB / 445.7 MB, free: 5.375 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00407/0.2562, allocations: 3.543 MB / 449.2 MB, free: 1.938 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.961e-05/0.2563, allocations: 212.2 kB / 449.4 MB, free: 1.758 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003172/0.2566, allocations: 297.1 kB / 449.7 MB, free: 1.496 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007782/0.2644, allocations: 8.69 MB / 458.4 MB, free: 8.312 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.111e-05/0.2645, allocations: 50.09 kB / 458.5 MB, free: 8.281 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002378/0.2647, allocations: 135.8 kB / 458.6 MB, free: 8.18 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001399/0.2661, allocations: 1.567 MB / 460.2 MB, free: 6.637 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007527/0.2736, allocations: 6.924 MB / 467.1 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02282/0.2965, allocations: 30.63 MB / 497.7 MB, free: 0.7266 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002466/0.2989, allocations: 1.684 MB / 499.4 MB, free: 15.02 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005889/0.2995, allocations: 0.6135 MB / 0.4883 GB, free: 14.4 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002948/0.3025, allocations: 2.623 MB / 0.4908 GB, free: 11.77 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.3025, allocations: 51.06 kB / 0.4909 GB, free: 11.71 MB / 394.7 MB Notification: Performance of pre-optimization done (n=114): time 4.097e-06/0.3025, allocations: 0 / 0.4909 GB, free: 11.71 MB / 394.7 MB Notification: Performance of matching and sorting (n=134): time 0.01014/0.3127, allocations: 7.947 MB / 0.4987 GB, free: 3.727 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.3128, allocations: 269.7 kB / 0.4989 GB, free: 3.402 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003587/0.3163, allocations: 4.145 MB / 0.503 GB, free: 15.26 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.838e-05/0.3164, allocations: 49.7 kB / 0.503 GB, free: 15.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00149/0.3179, allocations: 3.013 MB / 0.506 GB, free: 12.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002764/0.3182, allocations: 0.5623 MB / 0.5065 GB, free: 11.65 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008998/0.3191, allocations: 1.099 MB / 0.5076 GB, free: 10.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.511e-05/0.3191, allocations: 309.1 kB / 0.5079 GB, free: 10.24 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001371/0.3205, allocations: 1.479 MB / 0.5093 GB, free: 8.758 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003032/0.3235, allocations: 5.068 MB / 0.5143 GB, free: 1.984 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004811/0.3283, allocations: 6.911 MB / 0.521 GB, free: 9.664 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-05/0.3284, allocations: 36 kB / 0.521 GB, free: 9.629 MB / 426.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.005856/0.3342, allocations: 6.182 MB / 0.5271 GB, free: 3.441 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.506e-05/0.3343, allocations: 59.98 kB / 0.5271 GB, free: 3.383 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-05/0.3344, allocations: 124 kB / 0.5273 GB, free: 3.262 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.506e-05/0.3345, allocations: 160.8 kB / 0.5274 GB, free: 3.105 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001894/0.3364, allocations: 1.287 MB / 0.5287 GB, free: 1.816 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001078/0.3365, allocations: 235.1 kB / 0.5289 GB, free: 1.586 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002077/0.3385, allocations: 319.6 kB / 0.5292 GB, free: 1.273 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002626/0.3388, allocations: 336 kB / 0.5295 GB, free: 0.9453 MB / 426.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.002691/0.3415, allocations: 2.037 MB / 0.5315 GB, free: 14.9 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002882/0.3418, allocations: 321.8 kB / 0.5318 GB, free: 14.58 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003222/0.3421, allocations: 358.6 kB / 0.5322 GB, free: 14.22 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.565e-05/0.3421, allocations: 12 kB / 0.5322 GB, free: 14.21 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.437e-05/0.3421, allocations: 4 kB / 0.5322 GB, free: 14.21 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.3421, allocations: 7.969 kB / 0.5322 GB, free: 14.2 MB / 442.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004549/0.3467, allocations: 4.311 MB / 0.5364 GB, free: 9.719 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.129e-05/0.3467, allocations: 12 kB / 0.5364 GB, free: 9.707 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004491/0.3471, allocations: 239.8 kB / 0.5366 GB, free: 9.473 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.469e-05/0.3472, allocations: 19.94 kB / 0.5366 GB, free: 9.453 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.508e-05/0.3472, allocations: 43.94 kB / 0.5367 GB, free: 9.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.61e-05/0.3472, allocations: 31.92 kB / 0.5367 GB, free: 9.379 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.768e-06/0.3472, allocations: 19.94 kB / 0.5367 GB, free: 9.359 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002263/0.3495, allocations: 2.847 MB / 0.5395 GB, free: 6.34 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005684/0.3501, allocations: 489.5 kB / 0.54 GB, free: 5.859 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001849/0.3503, allocations: 42.66 kB / 0.54 GB, free: 5.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006747/0.3509, allocations: 91.89 kB / 0.5401 GB, free: 5.73 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.351, allocations: 119.6 kB / 0.5402 GB, free: 5.613 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.683e-05/0.3511, allocations: 55.94 kB / 0.5403 GB, free: 5.559 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002157/0.3533, allocations: 2.49 MB / 0.5427 GB, free: 3.082 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3533, allocations: 0 / 0.5427 GB, free: 3.082 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002836/0.3561, allocations: 0.9262 MB / 0.5436 GB, free: 2.156 MB / 442.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.0003473/0.3564, allocations: 194.2 kB / 0.5438 GB, free: 1.961 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0032/0.3596, allocations: 3.276 MB / 0.547 GB, free: 14.71 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.3596, allocations: 4 kB / 0.547 GB, free: 14.71 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005549/0.3602, allocations: 0.6172 MB / 0.5476 GB, free: 14.09 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001496/0.3617, allocations: 478.5 kB / 0.5481 GB, free: 13.65 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008826/0.3705, allocations: 8.573 MB / 0.5564 GB, free: 4.859 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00218/0.3727, allocations: 2.544 MB / 0.5589 GB, free: 2.285 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003942/0.3731, allocations: 264.5 kB / 0.5592 GB, free: 2.027 MB / 458.7 MB Notification: Performance of SimCode: time 1.183e-06/0.3731, allocations: 0 / 0.5592 GB, free: 2.027 MB / 458.7 MB Notification: Performance of Templates: time 0.2509/0.624, allocations: 54.3 MB / 0.6122 GB, free: 133.7 MB / 474.7 MB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.834407951682806] Failed to read output from testmodel.py, exit status != 0: 0.630099312402308 0.636261874 0.39637725799999995 Calling exit ...