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.001237/0.001237, allocations: 102.3 kB / 16.4 MB, free: 6.457 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.001125/0.001125, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.227/1.227, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.02875/0.02875, allocations: 6.5 MB / 297.7 MB, free: 8.367 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 60.09 kB / 411.6 MB, free: 24.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08932/0.09049, allocations: 50.86 MB / 462.4 MB, free: 5.641 MB / 334.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ElectricCylinder_test): time 0.01068/0.1012, allocations: 11.62 MB / 474.1 MB, free: 9.969 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006796/0.108, allocations: 4.381 MB / 478.4 MB, free: 5.574 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001372/0.1094, allocations: 71.75 kB / 478.5 MB, free: 5.504 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004119/0.1136, allocations: 2.433 MB / 481 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003974/0.1176, allocations: 2.011 MB / 483 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001334/0.1189, allocations: 0.7527 MB / 483.7 MB, free: 300 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005673/0.1246, allocations: 5.549 MB / 489.3 MB, free: 10.73 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003076/0.1277, allocations: 3.523 MB / 492.8 MB, free: 7.152 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001713/0.1294, allocations: 1.674 MB / 494.5 MB, free: 5.473 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002077/0.1315, allocations: 2.247 MB / 496.7 MB, free: 3.219 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004533/0.132, allocations: 400 kB / 497.1 MB, free: 2.828 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001557/0.1335, allocations: 1.182 MB / 498.3 MB, free: 1.645 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001442/0.135, allocations: 1.987 MB / 0.4885 GB, free: 15.65 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001773/0.1368, allocations: 2.289 MB / 0.4908 GB, free: 13.35 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006066/0.1428, allocations: 7.437 MB / 0.498 GB, free: 5.887 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.1429, allocations: 0 / 0.498 GB, free: 5.887 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1429, allocations: 0 / 0.498 GB, free: 5.887 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.971e-05/0.1429, allocations: 0 / 0.498 GB, free: 5.887 MB / 382.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.007216/0.1502, allocations: 4.875 MB / 0.5028 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.1502, allocations: 8.031 kB / 0.5028 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2119/0.3621, allocations: 2.817 MB / 0.5056 GB, free: 45.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007985/0.3701, allocations: 3.673 MB / 0.5092 GB, free: 44.63 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000131/0.3703, allocations: 217.5 kB / 0.5094 GB, free: 44.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005806/0.3709, allocations: 294.9 kB / 0.5096 GB, free: 44.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01104/0.3819, allocations: 8.531 MB / 0.518 GB, free: 40.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001011/0.3821, allocations: 45.5 kB / 0.518 GB, free: 40.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002886/0.3824, allocations: 140.7 kB / 0.5181 GB, free: 40.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001774/0.3841, allocations: 1.565 MB / 0.5197 GB, free: 39.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008879/0.393, allocations: 6.92 MB / 0.5264 GB, free: 35.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02478/0.4178, allocations: 33.01 MB / 0.5587 GB, free: 1.598 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003201/0.4211, allocations: 2.164 MB / 0.5608 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007962/0.4219, allocations: 0.6842 MB / 0.5615 GB, free: 14.61 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004314/0.4262, allocations: 3.1 MB / 0.5645 GB, free: 11.46 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/0.4262, allocations: 51.05 kB / 0.5645 GB, free: 11.41 MB / 398.1 MB Notification: Performance of pre-optimization done (n=114): time 2.525e-06/0.4263, allocations: 0 / 0.5645 GB, free: 11.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=134): time 0.0142/0.4405, allocations: 7.789 MB / 0.5721 GB, free: 3.547 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/0.4406, allocations: 281.4 kB / 0.5724 GB, free: 3.215 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004716/0.4453, allocations: 4.121 MB / 0.5764 GB, free: 15.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001214/0.4455, allocations: 45.7 kB / 0.5765 GB, free: 15.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001779/0.4473, allocations: 3.039 MB / 0.5794 GB, free: 11.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004548/0.4477, allocations: 0.5545 MB / 0.58 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001153/0.4489, allocations: 1.119 MB / 0.5811 GB, free: 10.26 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.612e-05/0.449, allocations: 313.1 kB / 0.5814 GB, free: 9.953 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001854/0.4508, allocations: 1.475 MB / 0.5828 GB, free: 8.473 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003646/0.4545, allocations: 4.949 MB / 0.5876 GB, free: 1.781 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006417/0.4609, allocations: 6.897 MB / 0.5944 GB, free: 9.184 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.026e-05/0.461, allocations: 36 kB / 0.5944 GB, free: 9.148 MB / 430.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.008916/0.4699, allocations: 6.22 MB / 0.6005 GB, free: 2.926 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.789e-05/0.47, allocations: 56 kB / 0.6005 GB, free: 2.871 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.686e-05/0.4701, allocations: 124 kB / 0.6007 GB, free: 2.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001309/0.4703, allocations: 160 kB / 0.6008 GB, free: 2.594 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00315/0.4734, allocations: 1.283 MB / 0.6021 GB, free: 1.309 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001518/0.4736, allocations: 239.1 kB / 0.6023 GB, free: 1.074 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002955/0.4766, allocations: 263.7 kB / 0.6025 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000325/0.4769, allocations: 336 kB / 0.6029 GB, free: 500 kB / 430.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.002366/0.4793, allocations: 2.03 MB / 0.6049 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005127/0.4798, allocations: 361.6 kB / 0.6052 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005469/0.4804, allocations: 385.5 kB / 0.6056 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-05/0.4804, allocations: 16 kB / 0.6056 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/0.4804, allocations: 0 / 0.6056 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.4804, allocations: 11.97 kB / 0.6056 GB, free: 13.68 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.007134/0.4875, allocations: 5.32 MB / 0.6108 GB, free: 8.102 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.357e-05/0.4876, allocations: 12 kB / 0.6108 GB, free: 8.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007655/0.4883, allocations: 231.6 kB / 0.611 GB, free: 7.863 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-05/0.4884, allocations: 16 kB / 0.611 GB, free: 7.848 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.564e-05/0.4884, allocations: 40.58 kB / 0.6111 GB, free: 7.809 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.768e-05/0.4885, allocations: 19.94 kB / 0.6111 GB, free: 7.789 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.16e-05/0.4885, allocations: 23.94 kB / 0.6111 GB, free: 7.766 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002915/0.4914, allocations: 2.913 MB / 0.614 GB, free: 4.664 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001077/0.4925, allocations: 0.5415 MB / 0.6145 GB, free: 4.102 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002955/0.4928, allocations: 43.98 kB / 0.6145 GB, free: 4.059 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/0.4938, allocations: 51.97 kB / 0.6146 GB, free: 4.008 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/0.494, allocations: 123.6 kB / 0.6147 GB, free: 3.887 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-05/0.494, allocations: 48 kB / 0.6147 GB, free: 3.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003162/0.4972, allocations: 2.616 MB / 0.6173 GB, free: 1.215 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4972, allocations: 0 / 0.6173 GB, free: 1.215 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003628/0.5009, allocations: 0.8398 MB / 0.6181 GB, free: 384 kB / 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.0003184/0.5012, allocations: 186.7 kB / 0.6183 GB, free: 184 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004509/0.5057, allocations: 3.399 MB / 0.6216 GB, free: 12.81 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/0.5057, allocations: 5.688 kB / 0.6216 GB, free: 12.81 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008007/0.5065, allocations: 0.6546 MB / 0.6223 GB, free: 12.16 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002596/0.5091, allocations: 0.528 MB / 0.6228 GB, free: 11.65 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01189/0.521, allocations: 8.715 MB / 0.6313 GB, free: 2.711 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002785/0.5239, allocations: 3.093 MB / 0.6343 GB, free: 15.58 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000772/0.5246, allocations: 259.4 kB / 0.6346 GB, free: 15.33 MB / 478.1 MB Notification: Performance of SimCode: time 7.51e-07/0.5247, allocations: 0 / 0.6346 GB, free: 15.33 MB / 478.1 MB Notification: Performance of Templates: time 0.07229/0.5969, allocations: 53.23 MB / 0.6865 GB, free: 10.21 MB / 0.5137 GB 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)