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.001042/0.001042, allocations: 92.22 kB / 19.65 MB, free: 276 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.002287/0.002287, allocations: 169 kB / 23.02 MB, free: 1.551 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.9736/0.9736, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.02103/0.02103, allocations: 5.072 MB / 265 MB, free: 8.102 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 5.54e-06/5.54e-06, allocations: 0 / 336.2 MB, free: 13.11 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.319e-05/5.873e-05, allocations: 2.312 kB / 336.2 MB, free: 13.1 MB / 266.7 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ElectricCylinder_test): time 0.01458/0.01464, allocations: 11.3 MB / 347.5 MB, free: 1.754 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01393/0.02857, allocations: 4.34 MB / 351.8 MB, free: 13.4 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004653/0.03322, allocations: 87.5 kB / 351.9 MB, free: 13.32 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007439/0.04066, allocations: 2.585 MB / 354.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006917/0.04757, allocations: 2.053 MB / 356.5 MB, free: 8.66 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00218/0.04975, allocations: 0.8695 MB / 357.4 MB, free: 7.789 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.009011/0.05877, allocations: 6.425 MB / 363.8 MB, free: 1.352 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005948/0.06471, allocations: 3.527 MB / 367.4 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006302/0.07101, allocations: 2.651 MB / 370 MB, free: 11.12 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005217/0.07623, allocations: 2.6 MB / 372.6 MB, free: 8.512 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001489/0.07772, allocations: 412 kB / 373 MB, free: 8.109 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003034/0.08075, allocations: 1.108 MB / 374.1 MB, free: 7 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002234/0.08299, allocations: 2.12 MB / 376.2 MB, free: 4.875 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003149/0.08614, allocations: 1.383 MB / 377.6 MB, free: 3.488 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007719/0.09386, allocations: 4.73 MB / 382.3 MB, free: 14.74 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.066e-05/0.09387, allocations: 0 / 382.3 MB, free: 14.74 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.09387, allocations: 0 / 382.3 MB, free: 14.74 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002769/0.09415, allocations: 0 / 382.3 MB, free: 14.74 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.01085/0.105, allocations: 5.197 MB / 387.5 MB, free: 9.473 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.924e-05/0.1051, allocations: 8.031 kB / 387.6 MB, free: 9.465 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01075/0.1158, allocations: 3.33 MB / 390.9 MB, free: 6.129 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007893/0.1237, allocations: 3.206 MB / 394.1 MB, free: 2.871 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002107/0.1239, allocations: 209.9 kB / 394.3 MB, free: 2.664 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009328/0.1248, allocations: 304.1 kB / 394.6 MB, free: 2.367 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01002/0.1349, allocations: 5.218 MB / 399.8 MB, free: 12.27 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001567/0.135, allocations: 47.66 kB / 399.9 MB, free: 12.22 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003213/0.1353, allocations: 135.9 kB / 400 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001562/0.1369, allocations: 1.564 MB / 401.6 MB, free: 10.53 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00696/0.1439, allocations: 2.461 MB / 404 MB, free: 8.059 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2411/0.3849, allocations: 37.03 MB / 441 MB, free: 42.58 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002638/0.3876, allocations: 1.032 MB / 442.1 MB, free: 42.3 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004005/0.388, allocations: 275.7 kB / 442.3 MB, free: 42.21 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003775/0.3917, allocations: 2.681 MB / 445 MB, free: 40.53 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.8e-05/0.3918, allocations: 51.58 kB / 445.1 MB, free: 40.48 MB / 330.7 MB Notification: Performance of pre-optimization done (n=114): time 5.491e-06/0.3918, allocations: 3.812 kB / 445.1 MB, free: 40.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=134): time 0.0109/0.4027, allocations: 6.509 MB / 451.6 MB, free: 37.36 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.494e-05/0.4028, allocations: 271.8 kB / 451.9 MB, free: 37.05 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003971/0.4068, allocations: 3.54 MB / 455.4 MB, free: 34.96 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001096/0.4069, allocations: 50.14 kB / 455.4 MB, free: 34.91 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001425/0.4083, allocations: 3.197 MB / 458.6 MB, free: 31.95 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003984/0.4087, allocations: 0.5722 MB / 459.2 MB, free: 31.38 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008712/0.4096, allocations: 1.196 MB / 460.4 MB, free: 30.18 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.085e-05/0.4096, allocations: 480.8 kB / 460.9 MB, free: 29.7 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007649/0.4104, allocations: 0.4986 MB / 461.4 MB, free: 29.2 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002331/0.4127, allocations: 5.736 MB / 467.1 MB, free: 21.11 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004614/0.4173, allocations: 6.704 MB / 473.8 MB, free: 12.43 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.433e-05/0.4174, allocations: 36 kB / 473.9 MB, free: 12.39 MB / 330.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.006639/0.4241, allocations: 4.535 MB / 478.4 MB, free: 7.859 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.173e-05/0.4241, allocations: 56 kB / 478.4 MB, free: 7.805 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.05e-05/0.4242, allocations: 124.8 kB / 478.6 MB, free: 7.684 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001237/0.4243, allocations: 167.9 kB / 478.7 MB, free: 7.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002151/0.4265, allocations: 1.282 MB / 480 MB, free: 6.238 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001263/0.4266, allocations: 242.1 kB / 480.2 MB, free: 6.004 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002849/0.4295, allocations: 322.5 kB / 480.6 MB, free: 5.691 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002882/0.4297, allocations: 336 kB / 480.9 MB, free: 5.363 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.001314/0.4311, allocations: 0.6069 MB / 481.5 MB, free: 4.742 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005838/0.4316, allocations: 361.8 kB / 481.8 MB, free: 4.387 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003179/0.432, allocations: 302.6 kB / 482.1 MB, free: 4.086 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.777e-05/0.432, allocations: 16 kB / 482.2 MB, free: 4.07 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.739e-05/0.432, allocations: 3.984 kB / 482.2 MB, free: 4.066 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.432, allocations: 3.984 kB / 482.2 MB, free: 4.062 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005989/0.438, allocations: 4.306 MB / 486.5 MB, free: 15.52 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.708e-05/0.438, allocations: 12 kB / 486.5 MB, free: 15.51 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005972/0.4386, allocations: 242.1 kB / 486.7 MB, free: 15.28 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.876e-05/0.4386, allocations: 16 kB / 486.7 MB, free: 15.26 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005054/0.4391, allocations: 36 kB / 486.8 MB, free: 15.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.081e-05/0.4392, allocations: 23.92 kB / 486.8 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.338e-05/0.4392, allocations: 19.94 kB / 486.8 MB, free: 15.18 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002616/0.4418, allocations: 2.13 MB / 488.9 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001092/0.4429, allocations: 465.6 kB / 489.4 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002931/0.4432, allocations: 36 kB / 489.4 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007851/0.444, allocations: 92.77 kB / 489.5 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001684/0.4441, allocations: 123.2 kB / 489.6 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.931e-05/0.4442, allocations: 52 kB / 489.7 MB, free: 12.07 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00251/0.4467, allocations: 1.576 MB / 491.3 MB, free: 10.5 MB / 346.7 MB Notification: Performance of sort global known variables: time 2e-07/0.4467, allocations: 0 / 491.3 MB, free: 10.5 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004559/0.4513, allocations: 0.9257 MB / 492.2 MB, free: 9.578 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.0005348/0.4518, allocations: 189.8 kB / 492.4 MB, free: 9.387 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004928/0.4567, allocations: 2.29 MB / 494.7 MB, free: 7.117 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.366e-05/0.4567, allocations: 4.062 kB / 494.7 MB, free: 7.113 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005982/0.4573, allocations: 377 kB / 495 MB, free: 6.742 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002749/0.4601, allocations: 0.4966 MB / 495.5 MB, free: 6.281 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01375/0.4738, allocations: 7.11 MB / 0.4909 GB, free: 14.89 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001416/0.4753, allocations: 1.154 MB / 0.492 GB, free: 13.71 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002879/0.4781, allocations: 1.417 MB / 0.4934 GB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000536/0.4787, allocations: 224.5 kB / 0.4936 GB, free: 12.07 MB / 362.7 MB Notification: Performance of SimCode: time 2.295e-06/0.4787, allocations: 0 / 0.4936 GB, free: 12.07 MB / 362.7 MB Notification: Performance of Templates: time 0.04825/0.5269, allocations: 23.68 MB / 0.5167 GB, free: 4.973 MB / 378.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=240 -lv LOG_STATS > StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.43348954198882]