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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(StewartPlatform.Tests.ElectricCylinder_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test") translateModel(StewartPlatform.Tests.ElectricCylinder_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 106.7 kB / 16.27 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 189 kB / 17.2 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.241/1.241, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.02927/0.02927, allocations: 6.5 MB / 297.6 MB, free: 8.449 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 63.91 kB / 359.4 MB, free: 10.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.199, allocations: 50.85 MB / 410.3 MB, free: 28.46 MB / 302.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ElectricCylinder_test): time 0.00872/0.2078, allocations: 11.62 MB / 421.9 MB, free: 16.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006902/0.2147, allocations: 4.383 MB / 426.3 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001633/0.2164, allocations: 75.75 kB / 426.3 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0035/0.2199, allocations: 2.437 MB / 428.8 MB, free: 9.887 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004089/0.224, allocations: 1.945 MB / 430.7 MB, free: 7.934 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001559/0.2256, allocations: 0.7605 MB / 431.5 MB, free: 7.172 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006023/0.2316, allocations: 5.544 MB / 437 MB, free: 1.617 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004822/0.2365, allocations: 3.512 MB / 440.5 MB, free: 14.06 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002781/0.2393, allocations: 1.667 MB / 442.2 MB, free: 12.39 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00311/0.2424, allocations: 2.247 MB / 444.5 MB, free: 10.13 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001051/0.2435, allocations: 396 kB / 444.8 MB, free: 9.746 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002419/0.2459, allocations: 1.182 MB / 446 MB, free: 8.562 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002377/0.2483, allocations: 1.968 MB / 448 MB, free: 6.59 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003754/0.2521, allocations: 2.296 MB / 450.3 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007645/0.2597, allocations: 7.201 MB / 457.5 MB, free: 13.05 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.2597, allocations: 0 / 457.5 MB, free: 13.05 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2597, allocations: 0 / 457.5 MB, free: 13.05 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002404/0.26, allocations: 0 / 457.5 MB, free: 13.05 MB / 334.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.01068/0.2707, allocations: 4.751 MB / 462.2 MB, free: 8.234 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.2707, allocations: 11.89 kB / 462.3 MB, free: 8.223 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01765/0.2884, allocations: 2.8 MB / 465.1 MB, free: 5.414 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007577/0.296, allocations: 3.602 MB / 468.7 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000158/0.2962, allocations: 209.9 kB / 468.9 MB, free: 1.547 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007107/0.2969, allocations: 307.6 kB / 469.2 MB, free: 1.246 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01189/0.3088, allocations: 8.52 MB / 477.7 MB, free: 8.105 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001137/0.309, allocations: 47.59 kB / 477.7 MB, free: 8.059 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000332/0.3093, allocations: 139.9 kB / 477.9 MB, free: 7.922 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002069/0.3114, allocations: 1.56 MB / 479.4 MB, free: 6.355 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01125/0.3226, allocations: 6.919 MB / 486.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2119/0.5346, allocations: 33.09 MB / 0.5073 GB, free: 82.14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003718/0.5384, allocations: 2.144 MB / 0.5094 GB, free: 81.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008707/0.5393, allocations: 0.6728 MB / 0.51 GB, free: 81.45 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004194/0.5435, allocations: 3.095 MB / 0.513 GB, free: 80.11 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.5435, allocations: 50.23 kB / 0.5131 GB, free: 80.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=114): time 3.166e-06/0.5436, allocations: 3.969 kB / 0.5131 GB, free: 80.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=134): time 0.01299/0.5566, allocations: 7.584 MB / 0.5205 GB, free: 76.96 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.615e-05/0.5567, allocations: 269 kB / 0.5208 GB, free: 76.65 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00389/0.5605, allocations: 4.115 MB / 0.5248 GB, free: 75.11 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.904e-05/0.5606, allocations: 42.36 kB / 0.5248 GB, free: 75.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00114/0.5618, allocations: 2.924 MB / 0.5277 GB, free: 72.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002623/0.562, allocations: 0.5407 MB / 0.5282 GB, free: 72.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008862/0.5629, allocations: 1.118 MB / 0.5293 GB, free: 71.88 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.682e-05/0.563, allocations: 304.4 kB / 0.5296 GB, free: 71.58 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001539/0.5645, allocations: 1.481 MB / 0.531 GB, free: 71.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002489/0.567, allocations: 4.938 MB / 0.5358 GB, free: 65.35 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004316/0.5713, allocations: 6.903 MB / 0.5426 GB, free: 56.9 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.547e-05/0.5714, allocations: 36 kB / 0.5426 GB, free: 56.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.006755/0.5782, allocations: 6.197 MB / 0.5487 GB, free: 50.67 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.72e-05/0.5782, allocations: 59.98 kB / 0.5487 GB, free: 50.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.737e-05/0.5783, allocations: 127.9 kB / 0.5489 GB, free: 50.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001015/0.5784, allocations: 162.2 kB / 0.549 GB, free: 50.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002737/0.5812, allocations: 1.287 MB / 0.5503 GB, free: 49.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001041/0.5813, allocations: 236 kB / 0.5505 GB, free: 48.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002858/0.5842, allocations: 259.5 kB / 0.5507 GB, free: 48.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002607/0.5844, allocations: 332.7 kB / 0.5511 GB, free: 48.23 MB / 382.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.001942/0.5864, allocations: 2.035 MB / 0.553 GB, free: 46.19 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004345/0.5868, allocations: 339.6 kB / 0.5534 GB, free: 45.86 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004404/0.5873, allocations: 385.5 kB / 0.5537 GB, free: 45.47 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.761e-05/0.5873, allocations: 19.94 kB / 0.5537 GB, free: 45.45 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/0.5873, allocations: 4 kB / 0.5538 GB, free: 45.45 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.5873, allocations: 3.984 kB / 0.5538 GB, free: 45.45 MB / 382.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.005799/0.5931, allocations: 5.311 MB / 0.5589 GB, free: 39.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/0.5931, allocations: 16.25 kB / 0.559 GB, free: 39.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007169/0.5939, allocations: 235.6 kB / 0.5592 GB, free: 39.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.379e-05/0.5939, allocations: 20 kB / 0.5592 GB, free: 39.64 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.642e-05/0.594, allocations: 43.5 kB / 0.5592 GB, free: 39.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.936e-05/0.594, allocations: 27.92 kB / 0.5593 GB, free: 39.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.765e-06/0.594, allocations: 19.88 kB / 0.5593 GB, free: 39.55 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002236/0.5962, allocations: 2.894 MB / 0.5621 GB, free: 36.47 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007134/0.597, allocations: 0.5278 MB / 0.5626 GB, free: 35.92 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003009/0.5973, allocations: 36 kB / 0.5627 GB, free: 35.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009654/0.5982, allocations: 59.95 kB / 0.5627 GB, free: 35.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.5984, allocations: 111.2 kB / 0.5628 GB, free: 35.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.206e-05/0.5984, allocations: 55.98 kB / 0.5629 GB, free: 35.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002523/0.601, allocations: 2.616 MB / 0.5654 GB, free: 33.04 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.601, allocations: 0 / 0.5654 GB, free: 33.04 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003334/0.6043, allocations: 0.8391 MB / 0.5663 GB, free: 32.2 MB / 382.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.0002665/0.6046, allocations: 189.1 kB / 0.5664 GB, free: 32.01 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00387/0.6085, allocations: 3.503 MB / 0.5699 GB, free: 28.55 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.6085, allocations: 4 kB / 0.5699 GB, free: 28.55 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006267/0.6091, allocations: 0.6618 MB / 0.5705 GB, free: 27.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002307/0.6114, allocations: 0.5222 MB / 0.571 GB, free: 27.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009454/0.6209, allocations: 8.689 MB / 0.5795 GB, free: 18.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002212/0.6231, allocations: 3.081 MB / 0.5825 GB, free: 15.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006152/0.6238, allocations: 271.4 kB / 0.5828 GB, free: 15.15 MB / 382.1 MB Notification: Performance of SimCode: time 7.41e-07/0.6238, allocations: 0 / 0.5828 GB, free: 15.15 MB / 382.1 MB Notification: Performance of Templates: time 0.06909/0.6929, allocations: 52.53 MB / 0.6341 GB, free: 10.74 MB / 430.1 MB make -j1 -f StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test.makefile (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)