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.001379/0.001379, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 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.001592/0.001592, allocations: 161.3 kB / 22.75 MB, free: 1.652 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 1.478/1.478, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 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.03504/0.03504, allocations: 5.066 MB / 264.6 MB, free: 8.121 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.595e-06/2.595e-06, allocations: 0 / 335.5 MB, free: 13.45 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.822e-05/3.082e-05, allocations: 2.312 kB / 335.5 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ElectricCylinder_test): time 0.008637/0.008668, allocations: 10.23 MB / 345.7 MB, free: 3.16 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008004/0.01667, allocations: 4.204 MB / 349.9 MB, free: 14.95 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00207/0.01874, allocations: 87.5 kB / 350 MB, free: 14.86 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005999/0.02474, allocations: 2.515 MB / 352.5 MB, free: 12.34 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005801/0.03054, allocations: 2.049 MB / 354.5 MB, free: 10.28 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002226/0.03277, allocations: 0.8695 MB / 355.4 MB, free: 9.406 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.009891/0.04266, allocations: 6.426 MB / 361.8 MB, free: 2.969 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005468/0.04813, allocations: 3.523 MB / 365.4 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005581/0.05371, allocations: 2.639 MB / 368 MB, free: 12.75 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004746/0.05845, allocations: 2.541 MB / 370.5 MB, free: 10.2 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009988/0.05945, allocations: 424 kB / 371 MB, free: 9.789 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002556/0.06201, allocations: 1.116 MB / 372.1 MB, free: 8.672 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002728/0.06474, allocations: 2.1 MB / 374.2 MB, free: 6.566 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002693/0.06743, allocations: 1.395 MB / 375.6 MB, free: 5.168 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01077/0.0782, allocations: 7.607 MB / 383.2 MB, free: 13.52 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.0782, allocations: 0 / 383.2 MB, free: 13.52 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.0782, allocations: 0 / 383.2 MB, free: 13.52 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001771/0.07838, allocations: 0 / 383.2 MB, free: 13.52 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.01257/0.09096, allocations: 4.882 MB / 388.1 MB, free: 8.582 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.091, allocations: 12.03 kB / 388.1 MB, free: 8.57 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02096/0.112, allocations: 3.38 MB / 391.4 MB, free: 5.184 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00929/0.1213, allocations: 3.558 MB / 395 MB, free: 1.574 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002802/0.1215, allocations: 209.9 kB / 395.2 MB, free: 1.367 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001165/0.1227, allocations: 300.2 kB / 395.5 MB, free: 1.074 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01761/0.1403, allocations: 8.811 MB / 404.3 MB, free: 7.605 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001556/0.1405, allocations: 51.59 kB / 404.4 MB, free: 7.555 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005193/0.141, allocations: 131.9 kB / 404.5 MB, free: 7.426 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002865/0.1439, allocations: 1.571 MB / 406.1 MB, free: 5.855 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1436/0.2875, allocations: 7.035 MB / 413.1 MB, free: 75.34 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03056/0.318, allocations: 30.92 MB / 444 MB, free: 52.4 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003522/0.3216, allocations: 1.748 MB / 445.8 MB, free: 50.63 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007711/0.3223, allocations: 0.6651 MB / 446.4 MB, free: 49.95 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003741/0.3227, allocations: 224.1 kB / 446.6 MB, free: 49.74 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.3227, allocations: 47.22 kB / 446.7 MB, free: 49.68 MB / 330.7 MB Notification: Performance of pre-optimization done (n=125): time 4.378e-06/0.3227, allocations: 0.5625 kB / 446.7 MB, free: 49.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=145): time 0.01561/0.3384, allocations: 8.491 MB / 455.2 MB, free: 41.34 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.2e-05/0.3384, allocations: 278 kB / 455.5 MB, free: 41 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004035/0.3425, allocations: 4.086 MB / 459.5 MB, free: 37.06 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001361/0.3426, allocations: 45.7 kB / 459.6 MB, free: 37.01 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001185/0.3438, allocations: 2.984 MB / 462.6 MB, free: 34.11 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003437/0.3441, allocations: 0.5918 MB / 463.2 MB, free: 33.52 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00099/0.3451, allocations: 1.096 MB / 464.3 MB, free: 32.42 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.942e-05/0.3452, allocations: 313 kB / 464.6 MB, free: 32.11 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001719/0.3469, allocations: 1.522 MB / 466.1 MB, free: 30.59 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002971/0.3498, allocations: 5.063 MB / 471.1 MB, free: 23.78 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005208/0.3551, allocations: 6.954 MB / 478.1 MB, free: 15.21 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.13e-05/0.3551, allocations: 36 kB / 478.1 MB, free: 15.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.008625/0.3637, allocations: 6.543 MB / 484.7 MB, free: 8.629 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.733e-05/0.3638, allocations: 56 kB / 484.7 MB, free: 8.574 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.304e-05/0.3639, allocations: 120 kB / 484.9 MB, free: 8.457 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001251/0.364, allocations: 156 kB / 485 MB, free: 8.305 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003302/0.3673, allocations: 1.279 MB / 486.3 MB, free: 7.023 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001231/0.3675, allocations: 239.5 kB / 486.5 MB, free: 6.789 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003912/0.3714, allocations: 319.6 kB / 486.8 MB, free: 6.477 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005684/0.3719, allocations: 336 kB / 487.2 MB, free: 6.148 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 546 * 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.002733/0.3747, allocations: 2.036 MB / 489.2 MB, free: 4.102 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009124/0.3756, allocations: 361.8 kB / 489.5 MB, free: 3.746 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007585/0.3763, allocations: 362.8 kB / 489.9 MB, free: 3.383 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.111e-05/0.3764, allocations: 16 kB / 489.9 MB, free: 3.367 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.431e-05/0.3764, allocations: 4 kB / 489.9 MB, free: 3.363 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/0.3764, allocations: 7.984 kB / 489.9 MB, free: 3.355 MB / 330.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.009424/0.3858, allocations: 5.104 MB / 495 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.561e-05/0.3859, allocations: 12.19 kB / 495 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00102/0.3869, allocations: 244.4 kB / 495.3 MB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.44e-05/0.3869, allocations: 20 kB / 495.3 MB, free: 13.81 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.771e-05/0.387, allocations: 47.58 kB / 495.3 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-05/0.387, allocations: 23.92 kB / 495.4 MB, free: 13.74 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.771e-05/0.387, allocations: 19.94 kB / 495.4 MB, free: 13.72 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004963/0.392, allocations: 3.097 MB / 498.5 MB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001753/0.3937, allocations: 497.5 kB / 499 MB, free: 9.965 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007162/0.3945, allocations: 43.98 kB / 499 MB, free: 9.922 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001569/0.396, allocations: 91.89 kB / 499.1 MB, free: 9.832 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002348/0.3963, allocations: 119.5 kB / 499.2 MB, free: 9.715 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001214/0.3964, allocations: 63.45 kB / 499.3 MB, free: 9.656 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.004654/0.401, allocations: 2.466 MB / 0.49 GB, free: 7.203 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.401, allocations: 64 / 0.49 GB, free: 7.203 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.005034/0.4061, allocations: 0.9296 MB / 0.4909 GB, free: 6.273 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 54 * 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 (126): * Single equations (assignments): 123 * 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.0006211/0.4067, allocations: 194.1 kB / 0.4911 GB, free: 6.078 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006258/0.413, allocations: 3.366 MB / 0.4944 GB, free: 2.75 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-05/0.413, allocations: 4 kB / 0.4944 GB, free: 2.746 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001197/0.4142, allocations: 0.672 MB / 0.495 GB, free: 2.078 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003586/0.4178, allocations: 499.5 kB / 0.4955 GB, free: 1.617 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01782/0.4356, allocations: 8.377 MB / 0.5037 GB, free: 9.012 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00529/0.4409, allocations: 2.573 MB / 0.5062 GB, free: 6.402 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.004382/0.4453, allocations: 1.639 MB / 0.5078 GB, free: 4.762 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000692/0.4459, allocations: 224.4 kB / 0.508 GB, free: 4.543 MB / 362.7 MB Notification: Performance of SimCode: time 1.663e-06/0.4459, allocations: 0 / 0.508 GB, free: 4.543 MB / 362.7 MB Notification: Performance of Templates: time 0.06225/0.5082, allocations: 24.2 MB / 0.5317 GB, free: 12.88 MB / 394.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: 6.226749207940884]