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.0008622/0.0008622, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0008784/0.0008784, allocations: 177 kB / 23.36 MB, free: 1.129 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.8827/0.8827, allocations: 177.1 MB / 203.8 MB, free: 5.496 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.02029/0.02029, allocations: 5.067 MB / 265.3 MB, free: 8 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.493e-06/1.493e-06, allocations: 0 / 283.4 MB, free: 5.969 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.363e-05/1.512e-05, allocations: 6.25 kB / 283.4 MB, free: 5.961 MB / 266.7 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ElectricCylinder_test): time 0.1177/0.1177, allocations: 11.05 MB / 294.4 MB, free: 18.23 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006425/0.1242, allocations: 4.455 MB / 298.9 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009965/0.1251, allocations: 87.66 kB / 299 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002621/0.1278, allocations: 2.586 MB / 301.5 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002677/0.1304, allocations: 2.076 MB / 303.6 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009462/0.1314, allocations: 0.8753 MB / 304.5 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003791/0.1352, allocations: 6.397 MB / 310.9 MB, free: 8.758 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001911/0.1371, allocations: 3.617 MB / 314.5 MB, free: 5.082 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002156/0.1392, allocations: 3.572 MB / 318.1 MB, free: 1.504 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001626/0.1409, allocations: 2.467 MB / 320.6 MB, free: 15.03 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003572/0.1412, allocations: 412 kB / 321 MB, free: 14.63 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001058/0.1423, allocations: 1.108 MB / 322.1 MB, free: 13.52 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001091/0.1434, allocations: 2.104 MB / 324.2 MB, free: 11.41 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009576/0.1443, allocations: 1.387 MB / 325.6 MB, free: 10.02 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003169/0.1475, allocations: 4.726 MB / 330.3 MB, free: 5.277 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1475, allocations: 0 / 330.3 MB, free: 5.277 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1475, allocations: 0 / 330.3 MB, free: 5.277 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.464e-05/0.1475, allocations: 0 / 330.3 MB, free: 5.277 MB / 282.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.004106/0.1517, allocations: 4.448 MB / 334.7 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.689e-05/0.1517, allocations: 8.031 kB / 334.7 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003243/0.1549, allocations: 1.249 MB / 336 MB, free: 15.52 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002379/0.1573, allocations: 2.267 MB / 338.3 MB, free: 13.2 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.309e-05/0.1574, allocations: 213.9 kB / 338.5 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003125/0.1577, allocations: 304.1 kB / 338.8 MB, free: 12.69 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003825/0.1615, allocations: 4.362 MB / 343.1 MB, free: 7.66 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.275e-05/0.1616, allocations: 55.56 kB / 343.2 MB, free: 7.605 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002204/0.1618, allocations: 135.9 kB / 343.3 MB, free: 7.473 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001115/0.1629, allocations: 1.416 MB / 344.7 MB, free: 6.059 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002659/0.1656, allocations: 2.028 MB / 346.7 MB, free: 4.023 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01622/0.1818, allocations: 26.5 MB / 373.2 MB, free: 8.574 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001545/0.1834, allocations: 0.9733 MB / 374.2 MB, free: 7.555 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002369/0.1836, allocations: 207.9 kB / 374.4 MB, free: 7.344 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002376/0.1838, allocations: 208.4 kB / 374.6 MB, free: 7.141 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.1839, allocations: 47.22 kB / 374.7 MB, free: 7.086 MB / 330.7 MB Notification: Performance of pre-optimization done (n=125): time 2.625e-06/0.1839, allocations: 0 / 374.7 MB, free: 7.086 MB / 330.7 MB Notification: Performance of matching and sorting (n=145): time 0.006816/0.1907, allocations: 3.879 MB / 378.6 MB, free: 3.172 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.995e-05/0.1908, allocations: 278 kB / 378.8 MB, free: 2.84 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002079/0.1928, allocations: 3.117 MB / 381.9 MB, free: 15.72 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.172e-05/0.1929, allocations: 45.7 kB / 382 MB, free: 15.67 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001241/0.1941, allocations: 2.759 MB / 384.7 MB, free: 12.88 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002716/0.1944, allocations: 0.5814 MB / 385.3 MB, free: 12.29 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007454/0.1952, allocations: 1.06 MB / 386.4 MB, free: 11.22 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.818e-05/0.1952, allocations: 309.1 kB / 386.7 MB, free: 10.92 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008573/0.1961, allocations: 0.6198 MB / 387.3 MB, free: 10.29 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002327/0.1984, allocations: 4.055 MB / 391.4 MB, free: 4.484 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003115/0.2015, allocations: 5.069 MB / 396.4 MB, free: 13.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.282e-05/0.2015, allocations: 32 kB / 396.5 MB, free: 13.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=717) (initialization): time 0.003123/0.2047, allocations: 3.64 MB / 400.1 MB, free: 9.992 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.327e-05/0.2047, allocations: 59.98 kB / 400.2 MB, free: 9.934 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.441e-05/0.2048, allocations: 120 kB / 400.3 MB, free: 9.816 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.681e-05/0.2049, allocations: 160 kB / 400.4 MB, free: 9.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001856/0.2067, allocations: 1.272 MB / 401.7 MB, free: 8.387 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001069/0.2068, allocations: 239.1 kB / 401.9 MB, free: 8.152 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001666/0.2085, allocations: 247.8 kB / 402.2 MB, free: 7.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002234/0.2087, allocations: 311.8 kB / 402.5 MB, free: 7.605 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 549 * 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 (693): * Single equations (assignments): 690 * 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.0006939/0.2094, allocations: 0.5605 MB / 403 MB, free: 7.035 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002341/0.2096, allocations: 207.8 kB / 403.2 MB, free: 6.832 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002612/0.2099, allocations: 306.8 kB / 403.5 MB, free: 6.527 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.358e-05/0.2099, allocations: 23.98 kB / 403.6 MB, free: 6.504 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.912e-06/0.2099, allocations: 0 / 403.6 MB, free: 6.504 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.2099, allocations: 3.984 kB / 403.6 MB, free: 6.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003617/0.2135, allocations: 3.934 MB / 407.5 MB, free: 2.336 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/0.2136, allocations: 12 kB / 407.5 MB, free: 2.324 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004422/0.214, allocations: 235.6 kB / 407.8 MB, free: 2.094 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.041e-05/0.214, allocations: 16.62 kB / 407.8 MB, free: 2.078 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.03e-05/0.214, allocations: 36 kB / 407.8 MB, free: 2.043 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.208e-05/0.2141, allocations: 31.92 kB / 407.8 MB, free: 2.012 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.486e-06/0.2141, allocations: 19.88 kB / 407.9 MB, free: 1.992 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001441/0.2155, allocations: 1.751 MB / 409.6 MB, free: 28 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004373/0.2159, allocations: 397.6 kB / 410 MB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002063/0.2162, allocations: 43.98 kB / 410 MB, free: 15.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005629/0.2167, allocations: 43.98 kB / 410.1 MB, free: 15.55 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.946e-05/0.2168, allocations: 119.5 kB / 410.2 MB, free: 15.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.925e-05/0.2169, allocations: 51.98 kB / 410.2 MB, free: 15.38 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001068/0.2179, allocations: 1.341 MB / 411.6 MB, free: 14.05 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2179, allocations: 0 / 411.6 MB, free: 14.05 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002101/0.22, allocations: 0.9335 MB / 412.5 MB, free: 13.12 MB / 378.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.0002534/0.2203, allocations: 183.8 kB / 412.7 MB, free: 12.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001597/0.2219, allocations: 2.026 MB / 414.7 MB, free: 10.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001352/0.222, allocations: 96.16 kB / 414.8 MB, free: 10.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002849/0.2223, allocations: 330 kB / 415.1 MB, free: 10.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00135/0.2237, allocations: 0.4904 MB / 415.6 MB, free: 10.03 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006673/0.2303, allocations: 7.158 MB / 422.8 MB, free: 2.625 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001127/0.2315, allocations: 1.147 MB / 423.9 MB, free: 1.449 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000925/0.2324, allocations: 477.8 kB / 424.4 MB, free: 0.9805 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000693/0.2331, allocations: 0.5636 MB / 425 MB, free: 424 kB / 378.7 MB Notification: Performance of SimCode: time 7.51e-07/0.2331, allocations: 0 / 425 MB, free: 424 kB / 378.7 MB Notification: Performance of Templates: time 0.134/0.367, allocations: 26.91 MB / 451.9 MB, free: 118.3 MB / 394.7 MB " [Timeout remaining time 660] 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: 3.3571321540512145]