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.0006832/0.0006832, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009173/0.0016, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006773/0.0006773, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009808/0.001658, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.8614/0.8614, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07469/0.936, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.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.01914/0.01914, allocations: 5.062 MB / 249.2 MB, free: 9.832 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002861/0.022, allocations: 1.917 MB / 251.1 MB, free: 7.91 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.764e-06/1.764e-06, allocations: 0 / 252.5 MB, free: 6.527 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.252e-05/1.429e-05, allocations: 2.312 kB / 252.5 MB, free: 6.523 MB / 250.7 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ElectricCylinder_test): time 0.008415/0.00843, allocations: 11.18 MB / 263.7 MB, free: 11.29 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006215/0.01465, allocations: 4.496 MB / 268.2 MB, free: 6.777 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000723/0.01537, allocations: 91.5 kB / 268.3 MB, free: 6.688 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002219/0.01759, allocations: 2.46 MB / 270.7 MB, free: 4.219 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002266/0.01985, allocations: 2.034 MB / 272.7 MB, free: 2.176 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001065/0.02092, allocations: 0.7955 MB / 273.5 MB, free: 1.379 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1155/0.1365, allocations: 5.895 MB / 279.4 MB, free: 2.715 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004064/0.1405, allocations: 3.113 MB / 282.6 MB, free: 2.426 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005468/0.146, allocations: 3.398 MB / 286 MB, free: 2.113 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003316/0.1493, allocations: 2.46 MB / 288.4 MB, free: 1.625 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007185/0.15, allocations: 414 kB / 288.8 MB, free: 1.625 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001546/0.1516, allocations: 1.139 MB / 290 MB, free: 1.516 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009888/0.1526, allocations: 1.888 MB / 291.8 MB, free: 1.047 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001052/0.1536, allocations: 1.127 MB / 293 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003694/0.1573, allocations: 4.384 MB / 297.4 MB, free: 14.24 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.251e-05/0.1573, allocations: 0 / 297.4 MB, free: 14.24 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1573, allocations: 0 / 297.4 MB, free: 14.24 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001694/0.1575, allocations: 0 / 297.4 MB, free: 14.24 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.00595/0.1634, allocations: 5.263 MB / 302.6 MB, free: 9.555 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.1635, allocations: 11.28 kB / 302.6 MB, free: 9.547 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003689/0.1672, allocations: 1.33 MB / 304 MB, free: 8.242 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003032/0.1702, allocations: 2.28 MB / 306.2 MB, free: 6.074 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001/0.1703, allocations: 217.9 kB / 306.5 MB, free: 5.891 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003486/0.1707, allocations: 296.1 kB / 306.7 MB, free: 5.633 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004459/0.1751, allocations: 4.365 MB / 311.1 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.174e-05/0.1752, allocations: 49.86 kB / 311.2 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002218/0.1754, allocations: 132 kB / 311.3 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001107/0.1765, allocations: 1.338 MB / 312.6 MB, free: 15.55 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003416/0.1799, allocations: 2.024 MB / 314.6 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02033/0.2003, allocations: 26.5 MB / 341.1 MB, free: 3.285 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001735/0.202, allocations: 0.9498 MB / 342.1 MB, free: 2.328 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002474/0.2023, allocations: 206.7 kB / 342.3 MB, free: 2.129 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002431/0.2025, allocations: 212.2 kB / 342.5 MB, free: 1.926 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.2025, allocations: 50.69 kB / 342.6 MB, free: 1.871 MB / 314.7 MB Notification: Performance of pre-optimization done (n=125): time 4.589e-06/0.2025, allocations: 0 / 342.6 MB, free: 1.871 MB / 314.7 MB Notification: Performance of matching and sorting (n=145): time 0.008357/0.2109, allocations: 3.877 MB / 346.4 MB, free: 14.04 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.434e-05/0.211, allocations: 153.3 kB / 346.6 MB, free: 13.87 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002884/0.2139, allocations: 3.121 MB / 349.7 MB, free: 11.31 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001517/0.214, allocations: 45.7 kB / 349.7 MB, free: 11.26 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00134/0.2153, allocations: 2.765 MB / 352.5 MB, free: 8.652 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004491/0.2158, allocations: 0.5811 MB / 353.1 MB, free: 8.102 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007779/0.2166, allocations: 1.057 MB / 354.2 MB, free: 7.16 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000325/0.2169, allocations: 309 kB / 354.5 MB, free: 6.855 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009056/0.2178, allocations: 0.6159 MB / 355.1 MB, free: 6.234 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002315/0.2201, allocations: 4.055 MB / 359.1 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004697/0.2248, allocations: 5.46 MB / 364.6 MB, free: 9.969 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.433e-05/0.2249, allocations: 32 kB / 364.6 MB, free: 9.938 MB / 346.7 MB Notification: Performance of matching and sorting (n=717) (initialization): time 0.005239/0.2301, allocations: 3.645 MB / 368.3 MB, free: 6.262 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.238e-05/0.2302, allocations: 60.22 kB / 368.3 MB, free: 6.203 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001005/0.2303, allocations: 128 kB / 368.4 MB, free: 6.078 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.57e-05/0.2304, allocations: 160 kB / 368.6 MB, free: 5.922 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002365/0.2327, allocations: 1.462 MB / 370.1 MB, free: 4.461 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001437/0.2329, allocations: 239 kB / 370.3 MB, free: 4.227 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002186/0.2351, allocations: 247.7 kB / 370.5 MB, free: 3.984 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002413/0.2353, allocations: 290.8 kB / 370.8 MB, free: 3.703 MB / 346.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.001013/0.2363, allocations: 0.5699 MB / 371.4 MB, free: 3.121 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003393/0.2367, allocations: 207.8 kB / 371.6 MB, free: 2.918 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002948/0.237, allocations: 306.8 kB / 371.9 MB, free: 2.613 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.486e-05/0.237, allocations: 12 kB / 371.9 MB, free: 2.602 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/0.237, allocations: 7.938 kB / 371.9 MB, free: 2.594 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.237, allocations: 11.97 kB / 371.9 MB, free: 2.582 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004392/0.2414, allocations: 3.911 MB / 375.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-05/0.2414, allocations: 16 kB / 375.9 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006097/0.242, allocations: 309.3 kB / 376.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000675/0.2427, allocations: 409.9 kB / 376.6 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.357e-05/0.2427, allocations: 20 kB / 376.6 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.305e-05/0.2427, allocations: 36 kB / 376.6 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-05/0.2428, allocations: 27.92 kB / 376.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.666e-06/0.2428, allocations: 15.94 kB / 376.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001336/0.2441, allocations: 1.747 MB / 378.4 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000247/0.2444, allocations: 39.94 kB / 378.4 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006055/0.245, allocations: 47.92 kB / 378.5 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.2451, allocations: 115.5 kB / 378.6 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.042e-05/0.2451, allocations: 44 kB / 378.6 MB, free: 11.84 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001252/0.2464, allocations: 1.349 MB / 380 MB, free: 10.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.2464, allocations: 0 / 380 MB, free: 10.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003222/0.2496, allocations: 0.9335 MB / 380.9 MB, free: 9.57 MB / 362.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.0003215/0.2499, allocations: 187.8 kB / 381.1 MB, free: 9.379 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002311/0.2522, allocations: 2.131 MB / 383.2 MB, free: 7.285 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001609/0.2524, allocations: 104.2 kB / 383.3 MB, free: 7.176 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001171/0.2536, allocations: 0.839 MB / 384.2 MB, free: 6.316 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003479/0.257, allocations: 3.546 MB / 387.7 MB, free: 2.238 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0137/0.2707, allocations: 7.154 MB / 394.9 MB, free: 10.84 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00111/0.2718, allocations: 1.155 MB / 396 MB, free: 9.664 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001259/0.2731, allocations: 474 kB / 396.5 MB, free: 9.199 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006963/0.2738, allocations: 0.5518 MB / 397 MB, free: 8.648 MB / 378.7 MB Notification: Performance of SimCode: time 1.573e-06/0.2738, allocations: 0 / 397 MB, free: 8.648 MB / 378.7 MB Notification: Performance of Templates: time 0.1538/0.4276, allocations: 27.26 MB / 424.3 MB, free: 109.1 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.057490616105497]