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.001208/0.001208, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001087/0.001087, allocations: 189.3 kB / 16.14 MB, free: 6.652 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.275/1.275, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.1344/0.1344, allocations: 6.483 MB / 296.4 MB, free: 2.816 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001062/0.001062, allocations: 55.91 kB / 358.1 MB, free: 0.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07993/0.081, allocations: 50.86 MB / 408.9 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ElectricCylinder_test): time 0.1709/0.252, allocations: 39.58 MB / 448.5 MB, free: 23.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01557/0.2676, allocations: 9.302 MB / 457.8 MB, free: 17.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005613/0.2732, allocations: 170.2 kB / 458 MB, free: 17.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003729/0.277, allocations: 2.408 MB / 460.4 MB, free: 16.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003322/0.2803, allocations: 1.82 MB / 462.2 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001048/0.2814, allocations: 0.6938 MB / 462.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005934/0.2873, allocations: 7.557 MB / 470.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003093/0.2905, allocations: 3.305 MB / 473.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001743/0.2922, allocations: 1.428 MB / 475.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002722/0.2949, allocations: 2.356 MB / 477.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005216/0.2955, allocations: 231.6 kB / 477.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00187/0.2974, allocations: 1.049 MB / 478.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001575/0.299, allocations: 1.833 MB / 480.6 MB, free: 9.785 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00197/0.3009, allocations: 2.13 MB / 482.8 MB, free: 8.344 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006787/0.3077, allocations: 7.083 MB / 489.9 MB, free: 5.613 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.3078, allocations: 0 / 489.9 MB, free: 5.613 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3078, allocations: 0 / 489.9 MB, free: 5.613 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001577/0.3079, allocations: 3.938 kB / 489.9 MB, free: 5.609 MB / 350.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.01003/0.318, allocations: 4.744 MB / 494.6 MB, free: 2.309 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.318, allocations: 8.75 kB / 494.6 MB, free: 2.309 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01703/0.3351, allocations: 2.796 MB / 497.4 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00782/0.3429, allocations: 3.6 MB / 0.4893 GB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001489/0.3431, allocations: 214.1 kB / 0.4895 GB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007205/0.3438, allocations: 303.6 kB / 0.4898 GB, free: 13.47 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01283/0.3567, allocations: 8.524 MB / 0.4981 GB, free: 4.324 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001245/0.3568, allocations: 55.48 kB / 0.4981 GB, free: 4.27 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003785/0.3572, allocations: 147.9 kB / 0.4983 GB, free: 4.125 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002223/0.3594, allocations: 1.556 MB / 0.4998 GB, free: 2.57 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01223/0.3717, allocations: 6.919 MB / 0.5066 GB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03601/0.4077, allocations: 33.08 MB / 0.5389 GB, free: 9.492 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004082/0.4118, allocations: 2.15 MB / 0.541 GB, free: 7.199 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009021/0.4128, allocations: 0.6692 MB / 0.5416 GB, free: 6.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004503/0.4173, allocations: 3.097 MB / 0.5446 GB, free: 3.277 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.4173, allocations: 51.12 kB / 0.5447 GB, free: 3.219 MB / 414.1 MB Notification: Performance of pre-optimization done (n=114): time 2.745e-06/0.4173, allocations: 0 / 0.5447 GB, free: 3.219 MB / 414.1 MB Notification: Performance of matching and sorting (n=134): time 0.01552/0.4329, allocations: 7.572 MB / 0.5521 GB, free: 11.52 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/0.433, allocations: 281.6 kB / 0.5524 GB, free: 11.18 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00527/0.4383, allocations: 4.12 MB / 0.5564 GB, free: 7.035 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001197/0.4384, allocations: 41.7 kB / 0.5564 GB, free: 6.988 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001885/0.4403, allocations: 2.921 MB / 0.5593 GB, free: 4.031 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004815/0.4408, allocations: 0.5403 MB / 0.5598 GB, free: 3.484 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001275/0.4421, allocations: 1.107 MB / 0.5609 GB, free: 2.367 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.434e-05/0.4422, allocations: 301.1 kB / 0.5612 GB, free: 2.07 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002083/0.4443, allocations: 1.486 MB / 0.5626 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004153/0.4484, allocations: 4.937 MB / 0.5674 GB, free: 9.898 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007008/0.4555, allocations: 6.902 MB / 0.5742 GB, free: 1.293 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.004e-05/0.4555, allocations: 36 kB / 0.5742 GB, free: 1.258 MB / 446.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.1567/0.6122, allocations: 6.2 MB / 0.5803 GB, free: 123.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.885e-05/0.6123, allocations: 58.56 kB / 0.5803 GB, free: 123.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.887e-05/0.6124, allocations: 121.8 kB / 0.5804 GB, free: 123.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001153/0.6125, allocations: 165 kB / 0.5806 GB, free: 123.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003063/0.6156, allocations: 1.284 MB / 0.5819 GB, free: 123.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001165/0.6157, allocations: 235 kB / 0.5821 GB, free: 123.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003064/0.6188, allocations: 257.9 kB / 0.5823 GB, free: 123.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003017/0.6191, allocations: 336.6 kB / 0.5826 GB, free: 123.4 MB / 446.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.002444/0.6216, allocations: 2.035 MB / 0.5846 GB, free: 122.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004475/0.622, allocations: 339.8 kB / 0.585 GB, free: 122.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005442/0.6226, allocations: 380 kB / 0.5853 GB, free: 122.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.011e-05/0.6226, allocations: 14.31 kB / 0.5853 GB, free: 122.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.896e-06/0.6226, allocations: 3.188 kB / 0.5853 GB, free: 122.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.6226, allocations: 7.453 kB / 0.5853 GB, free: 122.7 MB / 446.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.006648/0.6293, allocations: 5.336 MB / 0.5906 GB, free: 120.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-05/0.6293, allocations: 13.69 kB / 0.5906 GB, free: 120.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007647/0.6301, allocations: 234.4 kB / 0.5908 GB, free: 120.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-05/0.6301, allocations: 18.94 kB / 0.5908 GB, free: 120.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.497e-05/0.6302, allocations: 37.97 kB / 0.5908 GB, free: 120.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-05/0.6302, allocations: 26.45 kB / 0.5909 GB, free: 120.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.708e-06/0.6302, allocations: 19.34 kB / 0.5909 GB, free: 120.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002515/0.6327, allocations: 2.895 MB / 0.5937 GB, free: 118.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008519/0.6336, allocations: 0.5253 MB / 0.5942 GB, free: 118.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003555/0.634, allocations: 41.92 kB / 0.5943 GB, free: 118.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/0.6351, allocations: 59.27 kB / 0.5943 GB, free: 118.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/0.6352, allocations: 107.7 kB / 0.5944 GB, free: 118.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.24e-05/0.6353, allocations: 54.66 kB / 0.5945 GB, free: 118.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002992/0.6383, allocations: 2.616 MB / 0.597 GB, free: 117.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.6383, allocations: 0 / 0.597 GB, free: 117.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003884/0.6422, allocations: 0.8413 MB / 0.5979 GB, free: 117.2 MB / 446.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.0003026/0.6425, allocations: 185 kB / 0.598 GB, free: 117 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003867/0.6464, allocations: 3.371 MB / 0.6013 GB, free: 115.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.6464, allocations: 3.828 kB / 0.6013 GB, free: 115.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007375/0.6471, allocations: 0.6585 MB / 0.602 GB, free: 115.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002592/0.6497, allocations: 494.8 kB / 0.6024 GB, free: 115.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01219/0.6619, allocations: 10.09 MB / 0.6123 GB, free: 109.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002962/0.6649, allocations: 3.108 MB / 0.6153 GB, free: 108.4 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003951/0.6689, allocations: 1.663 MB / 0.617 GB, free: 108.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005127/0.6694, allocations: 229.7 kB / 0.6172 GB, free: 108.2 MB / 446.1 MB Notification: Performance of SimCode: time 4.81e-07/0.6694, allocations: 0 / 0.6172 GB, free: 108.2 MB / 446.1 MB Notification: Performance of Templates: time 0.04373/0.7132, allocations: 27.92 MB / 0.6444 GB, free: 91.93 MB / 446.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)