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.001468/0.001468, allocations: 79.75 kB / 19.18 MB, free: 2.516 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.001535/0.001535, allocations: 163 kB / 22.46 MB, free: 5.375 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.455/1.455, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.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.03315/0.03315, allocations: 5.054 MB / 264.2 MB, free: 11.74 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.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.274e-06/2.274e-06, allocations: 0 / 389.7 MB, free: 12.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.697e-05/2.924e-05, allocations: 6.281 kB / 389.7 MB, free: 12.6 MB / 318.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ElectricCylinder_test): time 0.01396/0.01399, allocations: 10.24 MB / 399.9 MB, free: 2.309 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009642/0.02363, allocations: 4.217 MB / 404.1 MB, free: 14.08 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001921/0.02556, allocations: 91.5 kB / 404.2 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005556/0.03111, allocations: 2.472 MB / 406.7 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005452/0.03656, allocations: 2.045 MB / 408.7 MB, free: 9.453 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001947/0.03851, allocations: 0.8578 MB / 409.6 MB, free: 8.594 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.009133/0.04764, allocations: 6.424 MB / 416 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004723/0.05237, allocations: 3.424 MB / 419.4 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004498/0.05686, allocations: 2.643 MB / 422.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004168/0.06103, allocations: 2.525 MB / 424.6 MB, free: 9.512 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008566/0.06189, allocations: 412 kB / 425 MB, free: 9.109 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002294/0.06418, allocations: 1.116 MB / 426.1 MB, free: 7.992 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002371/0.06656, allocations: 2.096 MB / 428.2 MB, free: 5.891 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002207/0.06876, allocations: 1.375 MB / 429.6 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00969/0.07845, allocations: 7.556 MB / 437.2 MB, free: 12.93 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.07846, allocations: 0 / 437.2 MB, free: 12.93 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.07846, allocations: 0 / 437.2 MB, free: 12.93 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001705/0.07863, allocations: 0 / 437.2 MB, free: 12.93 MB / 366.1 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.01105/0.08968, allocations: 4.835 MB / 442 MB, free: 8.039 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.08972, allocations: 8.031 kB / 442 MB, free: 8.031 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02078/0.1105, allocations: 2.943 MB / 444.9 MB, free: 5.082 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009059/0.1196, allocations: 3.542 MB / 448.5 MB, free: 1.484 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002127/0.1198, allocations: 213.9 kB / 448.7 MB, free: 1.273 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000745/0.1205, allocations: 300.1 kB / 449 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1632/0.2837, allocations: 8.678 MB / 457.7 MB, free: 58.89 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001691/0.2839, allocations: 49.09 kB / 457.7 MB, free: 58.87 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004077/0.2843, allocations: 139.2 kB / 457.9 MB, free: 58.8 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003251/0.2875, allocations: 1.559 MB / 459.4 MB, free: 58.51 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01283/0.3003, allocations: 6.913 MB / 466.3 MB, free: 56.21 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02711/0.3275, allocations: 30.64 MB / 497 MB, free: 26.3 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003498/0.331, allocations: 1.693 MB / 498.7 MB, free: 24.58 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000698/0.3317, allocations: 0.613 MB / 499.3 MB, free: 23.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003553/0.3352, allocations: 2.628 MB / 0.4901 GB, free: 21.41 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.3352, allocations: 47.05 kB / 0.4902 GB, free: 21.36 MB / 366.1 MB Notification: Performance of pre-optimization done (n=114): time 3.386e-06/0.3352, allocations: 0 / 0.4902 GB, free: 21.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=134): time 0.0144/0.3496, allocations: 7.93 MB / 0.4979 GB, free: 13.55 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.604e-05/0.3497, allocations: 281.6 kB / 0.4982 GB, free: 13.21 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003906/0.3536, allocations: 4.147 MB / 0.5022 GB, free: 9.195 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.307e-05/0.3537, allocations: 41.7 kB / 0.5023 GB, free: 9.148 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001181/0.3549, allocations: 3.018 MB / 0.5052 GB, free: 6.145 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002788/0.3552, allocations: 0.5577 MB / 0.5058 GB, free: 5.594 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009599/0.3561, allocations: 1.099 MB / 0.5069 GB, free: 4.488 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.034e-05/0.3562, allocations: 309.1 kB / 0.5071 GB, free: 4.184 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001702/0.3579, allocations: 1.477 MB / 0.5086 GB, free: 2.703 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004504/0.3624, allocations: 5.063 MB / 0.5135 GB, free: 11.87 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008833/0.3712, allocations: 6.91 MB / 0.5203 GB, free: 3.328 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.055e-05/0.3713, allocations: 32 kB / 0.5203 GB, free: 3.297 MB / 382.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01078/0.3821, allocations: 6.194 MB / 0.5264 GB, free: 13.11 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.134e-05/0.3821, allocations: 60 kB / 0.5264 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001221/0.3823, allocations: 120 kB / 0.5265 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001691/0.3824, allocations: 160 kB / 0.5267 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003863/0.3863, allocations: 1.283 MB / 0.5279 GB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002071/0.3865, allocations: 239 kB / 0.5282 GB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003531/0.39, allocations: 323.9 kB / 0.5285 GB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004157/0.3905, allocations: 336 kB / 0.5288 GB, free: 10.61 MB / 398.1 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.002902/0.3934, allocations: 2.031 MB / 0.5308 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006294/0.394, allocations: 325.8 kB / 0.5311 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006167/0.3946, allocations: 354.7 kB / 0.5314 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.319e-05/0.3946, allocations: 15.56 kB / 0.5314 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-05/0.3946, allocations: 19.98 kB / 0.5315 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.3946, allocations: 7.922 kB / 0.5315 GB, free: 7.863 MB / 398.1 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.007505/0.4022, allocations: 4.317 MB / 0.5357 GB, free: 3.371 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.996e-05/0.4022, allocations: 12 kB / 0.5357 GB, free: 3.359 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009037/0.4031, allocations: 227.6 kB / 0.5359 GB, free: 3.137 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.926e-05/0.4031, allocations: 16.66 kB / 0.5359 GB, free: 3.121 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.462e-05/0.4032, allocations: 47.58 kB / 0.536 GB, free: 3.078 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.055e-05/0.4032, allocations: 31.62 kB / 0.536 GB, free: 3.051 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.721e-05/0.4032, allocations: 19.94 kB / 0.536 GB, free: 3.031 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003781/0.407, allocations: 2.849 MB / 0.5388 GB, free: 0 / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001034/0.408, allocations: 481.6 kB / 0.5393 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000384/0.4084, allocations: 39.98 kB / 0.5393 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001311/0.4097, allocations: 91.89 kB / 0.5394 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001898/0.4099, allocations: 115.5 kB / 0.5395 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.629e-05/0.41, allocations: 55.98 kB / 0.5396 GB, free: 15.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003647/0.4137, allocations: 2.486 MB / 0.542 GB, free: 12.76 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4137, allocations: 0 / 0.542 GB, free: 12.76 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004251/0.4179, allocations: 0.937 MB / 0.5429 GB, free: 11.82 MB / 414.1 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.0004321/0.4183, allocations: 190.4 kB / 0.5431 GB, free: 11.63 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005348/0.4237, allocations: 3.277 MB / 0.5463 GB, free: 8.383 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.368e-06/0.4237, allocations: 0 / 0.5463 GB, free: 8.383 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009998/0.4247, allocations: 0.6192 MB / 0.5469 GB, free: 7.766 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002777/0.4275, allocations: 494.8 kB / 0.5474 GB, free: 7.309 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01353/0.441, allocations: 8.188 MB / 0.5554 GB, free: 14.91 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003479/0.4445, allocations: 2.565 MB / 0.5579 GB, free: 12.31 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003882/0.4484, allocations: 1.605 MB / 0.5594 GB, free: 10.7 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005884/0.449, allocations: 224.5 kB / 0.5596 GB, free: 10.48 MB / 430.1 MB Notification: Performance of SimCode: time 1.062e-06/0.449, allocations: 0 / 0.5596 GB, free: 10.48 MB / 430.1 MB Notification: Performance of Templates: time 0.05736/0.5063, allocations: 23.71 MB / 0.5828 GB, free: 3.301 MB / 446.1 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: 5.846600949764252] Failed to read output from testmodel.py, exit status != 0: 0.5153695419430733 0.5302510509999999 0.44823837499999997 Calling exit ...