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.0008724/0.0008724, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0009237/0.0009237, allocations: 181 kB / 23.36 MB, free: 1.133 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.943/0.943, allocations: 177.1 MB / 203.8 MB, free: 5.461 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.02194/0.02194, allocations: 5.068 MB / 265.3 MB, free: 7.977 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.202e-06/1.202e-06, allocations: 0 / 283.4 MB, free: 5.883 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.082e-05/1.202e-05, allocations: 2.312 kB / 283.4 MB, free: 5.879 MB / 266.7 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ElectricCylinder_test): time 0.1023/0.1023, allocations: 11.1 MB / 294.5 MB, free: 18.12 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006624/0.1089, allocations: 4.452 MB / 299 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001036/0.11, allocations: 88.41 kB / 299.1 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002714/0.1127, allocations: 2.547 MB / 301.6 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002874/0.1155, allocations: 2.047 MB / 303.7 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001/0.1165, allocations: 0.8683 MB / 304.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004036/0.1206, allocations: 6.404 MB / 310.9 MB, free: 8.66 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002261/0.1228, allocations: 3.373 MB / 314.3 MB, free: 5.23 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002519/0.1254, allocations: 3.497 MB / 317.8 MB, free: 1.727 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002062/0.1274, allocations: 2.463 MB / 320.3 MB, free: 15.26 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005623/0.128, allocations: 423.9 kB / 320.7 MB, free: 14.84 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00146/0.1294, allocations: 1.131 MB / 321.8 MB, free: 13.71 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001194/0.1306, allocations: 2.12 MB / 323.9 MB, free: 11.59 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001318/0.132, allocations: 1.375 MB / 325.3 MB, free: 10.21 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003789/0.1357, allocations: 4.742 MB / 330 MB, free: 5.449 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1357, allocations: 0 / 330 MB, free: 5.449 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1357, allocations: 0 / 330 MB, free: 5.449 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001216/0.1359, allocations: 0 / 330 MB, free: 5.449 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.004538/0.1404, allocations: 4.429 MB / 334.5 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/0.1404, allocations: 12.03 kB / 334.5 MB, free: 0.957 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003585/0.144, allocations: 1.257 MB / 335.7 MB, free: 15.7 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002762/0.1468, allocations: 2.27 MB / 338 MB, free: 13.37 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/0.1469, allocations: 213.9 kB / 338.2 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003088/0.1472, allocations: 296.2 kB / 338.5 MB, free: 12.87 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004169/0.1514, allocations: 4.366 MB / 342.9 MB, free: 7.84 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.328e-05/0.1514, allocations: 47.62 kB / 342.9 MB, free: 7.793 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002169/0.1517, allocations: 137 kB / 343.1 MB, free: 7.66 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001137/0.1528, allocations: 1.424 MB / 344.5 MB, free: 6.238 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002806/0.1556, allocations: 2.019 MB / 346.5 MB, free: 4.211 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01784/0.1734, allocations: 26.49 MB / 373 MB, free: 8.766 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001665/0.1751, allocations: 0.9799 MB / 374 MB, free: 7.742 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002473/0.1753, allocations: 200.6 kB / 374.2 MB, free: 7.539 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002366/0.1756, allocations: 212.5 kB / 374.4 MB, free: 7.332 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.1756, allocations: 51.16 kB / 374.4 MB, free: 7.273 MB / 330.7 MB Notification: Performance of pre-optimization done (n=125): time 3.947e-06/0.1756, allocations: 0 / 374.4 MB, free: 7.273 MB / 330.7 MB Notification: Performance of matching and sorting (n=145): time 0.007151/0.1828, allocations: 3.889 MB / 378.3 MB, free: 3.348 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.893e-05/0.1828, allocations: 270 kB / 378.6 MB, free: 3.023 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002416/0.1853, allocations: 3.124 MB / 381.7 MB, free: 15.9 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.997e-05/0.1853, allocations: 45.7 kB / 381.7 MB, free: 15.85 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001068/0.1864, allocations: 2.755 MB / 384.5 MB, free: 13.06 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002761/0.1867, allocations: 0.5815 MB / 385.1 MB, free: 12.48 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000994/0.1877, allocations: 1.06 MB / 386.1 MB, free: 11.41 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.091e-05/0.1877, allocations: 313.1 kB / 386.4 MB, free: 11.1 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008848/0.1886, allocations: 0.612 MB / 387.1 MB, free: 10.48 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002202/0.1908, allocations: 4.059 MB / 391.1 MB, free: 4.668 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003386/0.1942, allocations: 5.06 MB / 396.2 MB, free: 13.89 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.368e-05/0.1942, allocations: 36 kB / 396.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=717) (initialization): time 0.003832/0.1981, allocations: 3.648 MB / 399.9 MB, free: 10.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.68e-05/0.1981, allocations: 58.03 kB / 399.9 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001113/0.1982, allocations: 120 kB / 400 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001429/0.1984, allocations: 160 kB / 400.2 MB, free: 9.848 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003541/0.2019, allocations: 1.382 MB / 401.6 MB, free: 8.469 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001906/0.2021, allocations: 235.1 kB / 401.8 MB, free: 8.238 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003132/0.2052, allocations: 248.1 kB / 402 MB, free: 7.996 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003781/0.2056, allocations: 288 kB / 402.3 MB, free: 7.715 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.001278/0.2069, allocations: 0.5796 MB / 402.9 MB, free: 7.125 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004445/0.2073, allocations: 207.8 kB / 403.1 MB, free: 6.922 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004396/0.2078, allocations: 302.8 kB / 403.4 MB, free: 6.621 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.221e-05/0.2078, allocations: 16 kB / 403.4 MB, free: 6.605 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.2078, allocations: 7.938 kB / 403.4 MB, free: 6.598 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/0.2078, allocations: 7.969 kB / 403.4 MB, free: 6.59 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00626/0.2141, allocations: 3.927 MB / 407.4 MB, free: 2.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.381e-05/0.2141, allocations: 12.19 kB / 407.4 MB, free: 2.418 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008226/0.2149, allocations: 283.6 kB / 407.7 MB, free: 2.145 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-05/0.2149, allocations: 27.88 kB / 407.7 MB, free: 2.117 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.209e-05/0.215, allocations: 32 kB / 407.7 MB, free: 2.086 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.16e-05/0.215, allocations: 23.92 kB / 407.7 MB, free: 2.062 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.455e-05/0.2151, allocations: 23.88 kB / 407.8 MB, free: 2.039 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001829/0.2169, allocations: 1.748 MB / 409.5 MB, free: 80 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007179/0.2176, allocations: 397.6 kB / 409.9 MB, free: 15.69 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003351/0.2179, allocations: 43.92 kB / 409.9 MB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/0.2189, allocations: 48.02 kB / 410 MB, free: 15.6 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001705/0.2191, allocations: 111.6 kB / 410.1 MB, free: 15.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.773e-05/0.2192, allocations: 47.98 kB / 410.1 MB, free: 15.44 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001974/0.2211, allocations: 1.345 MB / 411.5 MB, free: 14.11 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.2211, allocations: 0 / 411.5 MB, free: 14.11 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004406/0.2256, allocations: 0.9335 MB / 412.4 MB, free: 13.17 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.0003782/0.2259, allocations: 183.8 kB / 412.6 MB, free: 12.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003263/0.2292, allocations: 2.027 MB / 414.6 MB, free: 10.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001489/0.2293, allocations: 100.2 kB / 414.7 MB, free: 10.87 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004442/0.2298, allocations: 326 kB / 415 MB, free: 10.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002393/0.2322, allocations: 0.4919 MB / 415.5 MB, free: 10.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01146/0.2436, allocations: 7.139 MB / 422.7 MB, free: 2.691 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001492/0.2451, allocations: 1.147 MB / 423.8 MB, free: 1.516 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001675/0.2468, allocations: 478 kB / 424.3 MB, free: 1.047 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001178/0.248, allocations: 0.5714 MB / 424.9 MB, free: 484 kB / 378.7 MB Notification: Performance of SimCode: time 1.463e-06/0.248, allocations: 0 / 424.9 MB, free: 484 kB / 378.7 MB Notification: Performance of Templates: time 0.1359/0.3839, allocations: 27.14 MB / 452 MB, free: 123.4 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.330754318740219]