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.001558/0.001558, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001828/0.001828, allocations: 214.4 kB / 22.24 MB, free: 5.262 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.422/1.422, allocations: 230.6 MB / 256 MB, free: 7.816 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.03284/0.03284, allocations: 6.562 MB / 319 MB, free: 12.46 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: 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.002004/0.002004, allocations: 73.3 kB / 444.3 MB, free: 4.383 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1198, allocations: 54.86 MB / 499.2 MB, free: 13.44 MB / 366.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ElectricCylinder_test): time 0.01349/0.1333, allocations: 10.22 MB / 0.4974 GB, free: 3.168 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009715/0.143, allocations: 4.209 MB / 0.5016 GB, free: 14.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002226/0.1452, allocations: 83.56 kB / 0.5016 GB, free: 14.87 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005229/0.1504, allocations: 2.367 MB / 0.5039 GB, free: 12.49 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005955/0.1564, allocations: 1.981 MB / 0.5059 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001981/0.1584, allocations: 0.7644 MB / 0.5066 GB, free: 9.738 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008649/0.167, allocations: 5.655 MB / 0.5122 GB, free: 4.074 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004476/0.1715, allocations: 2.898 MB / 0.515 GB, free: 1.125 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2453/0.4168, allocations: 1.701 MB / 0.5166 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003715/0.4205, allocations: 2.288 MB / 0.5189 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008317/0.4214, allocations: 399.1 kB / 0.5193 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002232/0.4236, allocations: 1.05 MB / 0.5203 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002176/0.4258, allocations: 1.994 MB / 0.5222 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002217/0.428, allocations: 1.697 MB / 0.5239 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009619/0.4376, allocations: 7.413 MB / 0.5311 GB, free: 8.883 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/0.4376, allocations: 6.531 kB / 0.5311 GB, free: 8.883 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.524e-06/0.4376, allocations: 0.5625 kB / 0.5311 GB, free: 8.883 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002331/0.4379, allocations: 0 / 0.5311 GB, free: 8.883 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: 1308 * Number of variables: 1308 Notification: Performance of Generate backend data structure: time 0.01175/0.4496, allocations: 4.769 MB / 0.5358 GB, free: 6.945 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.4497, allocations: 9.281 kB / 0.5358 GB, free: 6.945 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01813/0.4678, allocations: 2.831 MB / 0.5386 GB, free: 6.625 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008919/0.4767, allocations: 3.564 MB / 0.542 GB, free: 5.035 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001923/0.4769, allocations: 211.4 kB / 0.5422 GB, free: 4.965 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009406/0.4778, allocations: 301.3 kB / 0.5425 GB, free: 4.883 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01178/0.4896, allocations: 8.677 MB / 0.551 GB, free: 15.53 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001197/0.4897, allocations: 45.56 kB / 0.551 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003675/0.4901, allocations: 143.4 kB / 0.5512 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002053/0.4922, allocations: 1.569 MB / 0.5527 GB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01234/0.5045, allocations: 6.9 MB / 0.5595 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0404/0.5449, allocations: 30.14 MB / 0.5889 GB, free: 11.16 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003964/0.5489, allocations: 1.625 MB / 0.5905 GB, free: 9.52 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008984/0.5498, allocations: 0.6149 MB / 0.5911 GB, free: 8.895 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00454/0.5543, allocations: 2.366 MB / 0.5934 GB, free: 6.523 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.936e-05/0.5544, allocations: 47.06 kB / 0.5934 GB, free: 6.469 MB / 430.1 MB Notification: Performance of pre-optimization done (n=114): time 2.985e-06/0.5544, allocations: 7.188 kB / 0.5934 GB, free: 6.465 MB / 430.1 MB Notification: Performance of matching and sorting (n=134): time 0.01943/0.5738, allocations: 7.598 MB / 0.6009 GB, free: 14.83 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001557/0.5739, allocations: 273.7 kB / 0.6011 GB, free: 14.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005658/0.5796, allocations: 3.945 MB / 0.605 GB, free: 10.56 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001298/0.5797, allocations: 49.7 kB / 0.605 GB, free: 10.51 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002249/0.582, allocations: 3.049 MB / 0.608 GB, free: 7.473 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000538/0.5825, allocations: 0.5639 MB / 0.6086 GB, free: 6.918 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00141/0.5839, allocations: 1.115 MB / 0.6096 GB, free: 5.793 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.5841, allocations: 303.9 kB / 0.6099 GB, free: 5.496 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002166/0.5862, allocations: 1.487 MB / 0.6114 GB, free: 4.004 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005009/0.5912, allocations: 5.061 MB / 0.6163 GB, free: 13.23 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007893/0.5991, allocations: 6.913 MB / 0.6231 GB, free: 5.125 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.022e-05/0.5992, allocations: 36 kB / 0.6231 GB, free: 5.09 MB / 462.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01004/0.6093, allocations: 6.191 MB / 0.6292 GB, free: 15.04 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.723e-05/0.6093, allocations: 56 kB / 0.6292 GB, free: 14.98 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001282/0.6095, allocations: 130.2 kB / 0.6293 GB, free: 14.86 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001606/0.6096, allocations: 160 kB / 0.6295 GB, free: 14.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003514/0.6131, allocations: 1.281 MB / 0.6307 GB, free: 13.42 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001914/0.6133, allocations: 243 kB / 0.631 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003278/0.6166, allocations: 266.7 kB / 0.6312 GB, free: 12.92 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004246/0.617, allocations: 332 kB / 0.6315 GB, free: 12.6 MB / 478.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.003526/0.6206, allocations: 2.024 MB / 0.6335 GB, free: 10.56 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007375/0.6213, allocations: 329.8 kB / 0.6338 GB, free: 10.24 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000716/0.622, allocations: 362.6 kB / 0.6342 GB, free: 9.879 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.562e-05/0.622, allocations: 16 kB / 0.6342 GB, free: 9.863 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.491e-05/0.622, allocations: 3.938 kB / 0.6342 GB, free: 9.859 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.6221, allocations: 3.984 kB / 0.6342 GB, free: 9.855 MB / 478.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.007856/0.6299, allocations: 4.167 MB / 0.6383 GB, free: 5.516 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.918e-05/0.6299, allocations: 13 kB / 0.6383 GB, free: 5.504 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008359/0.6308, allocations: 239.6 kB / 0.6385 GB, free: 5.27 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-05/0.6308, allocations: 16 kB / 0.6385 GB, free: 5.254 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.014e-05/0.6309, allocations: 45.61 kB / 0.6386 GB, free: 5.215 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.142e-05/0.6309, allocations: 23.98 kB / 0.6386 GB, free: 5.191 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.688e-05/0.6309, allocations: 27.88 kB / 0.6386 GB, free: 5.164 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003593/0.6345, allocations: 2.88 MB / 0.6414 GB, free: 2.102 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001279/0.6358, allocations: 437.6 kB / 0.6418 GB, free: 1.672 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003194/0.6361, allocations: 43.98 kB / 0.6419 GB, free: 1.629 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/0.6371, allocations: 51.95 kB / 0.6419 GB, free: 1.578 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001754/0.6373, allocations: 119.5 kB / 0.6421 GB, free: 1.461 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.534e-05/0.6374, allocations: 56.06 kB / 0.6421 GB, free: 1.406 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003649/0.641, allocations: 2.346 MB / 0.6444 GB, free: 15.07 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.641, allocations: 2.625 kB / 0.6444 GB, free: 15.07 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004555/0.6456, allocations: 0.828 MB / 0.6452 GB, free: 14.25 MB / 494.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.000381/0.646, allocations: 170.7 kB / 0.6454 GB, free: 14.07 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005555/0.6515, allocations: 3.281 MB / 0.6486 GB, free: 10.83 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.256e-05/0.6516, allocations: 4 kB / 0.6486 GB, free: 10.82 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009405/0.6525, allocations: 0.6223 MB / 0.6492 GB, free: 10.21 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002857/0.6554, allocations: 476.6 kB / 0.6496 GB, free: 9.762 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01665/0.672, allocations: 8.301 MB / 0.6577 GB, free: 1.254 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003965/0.676, allocations: 2.565 MB / 0.6603 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003914/0.6799, allocations: 1.598 MB / 0.6618 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005135/0.6804, allocations: 211.4 kB / 0.662 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of SimCode: time 1.533e-06/0.6804, allocations: 4 kB / 0.662 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of Templates: time 0.05655/0.7369, allocations: 26.63 MB / 0.688 GB, free: 2.781 MB / 0.5137 GB " [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.098230257630348] Failed to read output from testmodel.py, exit status != 0: 0.7457834016531706 0.760660427 0.31976792000000004 Calling exit ...