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.001247/0.001247, allocations: 106.8 kB / 16.41 MB, free: 6.461 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.001104/0.001104, allocations: 183 kB / 17.34 MB, free: 5.719 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.246/1.246, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.02856/0.02856, allocations: 6.5 MB / 297.7 MB, free: 8.355 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001126/0.001126, allocations: 59.91 kB / 411.6 MB, free: 24.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08243/0.08357, allocations: 50.86 MB / 462.5 MB, free: 5.629 MB / 334.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ElectricCylinder_test): time 0.01083/0.09444, allocations: 11.62 MB / 474.1 MB, free: 9.953 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007856/0.1023, allocations: 4.381 MB / 478.5 MB, free: 5.559 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001786/0.1042, allocations: 71.75 kB / 478.5 MB, free: 5.488 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004443/0.1086, allocations: 2.429 MB / 481 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004507/0.1132, allocations: 2.004 MB / 483 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001574/0.1148, allocations: 0.7644 MB / 483.7 MB, free: 280 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006688/0.1215, allocations: 5.56 MB / 489.3 MB, free: 10.7 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004164/0.1256, allocations: 3.512 MB / 492.8 MB, free: 7.137 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002708/0.1284, allocations: 1.682 MB / 494.5 MB, free: 5.449 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003072/0.1315, allocations: 2.247 MB / 496.7 MB, free: 3.195 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001046/0.1325, allocations: 404 kB / 497.1 MB, free: 2.801 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002429/0.135, allocations: 1.167 MB / 498.3 MB, free: 1.633 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00229/0.1373, allocations: 1.987 MB / 0.4885 GB, free: 15.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003447/0.1407, allocations: 2.289 MB / 0.4908 GB, free: 13.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007271/0.148, allocations: 7.441 MB / 0.498 GB, free: 5.871 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.148, allocations: 0 / 0.498 GB, free: 5.871 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.148, allocations: 4 kB / 0.4981 GB, free: 5.867 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001196/0.1482, allocations: 0 / 0.4981 GB, free: 5.867 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.007831/0.156, allocations: 4.867 MB / 0.5028 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.1561, allocations: 16.03 kB / 0.5028 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2199/0.3759, allocations: 2.811 MB / 0.5056 GB, free: 45.49 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009142/0.3851, allocations: 3.679 MB / 0.5092 GB, free: 44.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001804/0.3853, allocations: 218.8 kB / 0.5094 GB, free: 44.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007005/0.386, allocations: 294 kB / 0.5096 GB, free: 44.42 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01246/0.3985, allocations: 8.531 MB / 0.518 GB, free: 40.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.666e-05/0.3986, allocations: 45.25 kB / 0.518 GB, free: 40.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002974/0.3989, allocations: 142.4 kB / 0.5182 GB, free: 40.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001899/0.4008, allocations: 1.561 MB / 0.5197 GB, free: 39.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009433/0.4103, allocations: 6.921 MB / 0.5264 GB, free: 35.29 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02606/0.4364, allocations: 33.02 MB / 0.5587 GB, free: 1.562 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003414/0.4398, allocations: 2.159 MB / 0.5608 GB, free: 15.26 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000856/0.4407, allocations: 0.6795 MB / 0.5615 GB, free: 14.58 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004332/0.445, allocations: 3.11 MB / 0.5645 GB, free: 11.43 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.4451, allocations: 47.06 kB / 0.5645 GB, free: 11.38 MB / 398.1 MB Notification: Performance of pre-optimization done (n=114): time 2.936e-06/0.4451, allocations: 0 / 0.5645 GB, free: 11.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=134): time 0.01568/0.4608, allocations: 7.784 MB / 0.5721 GB, free: 3.52 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001255/0.4609, allocations: 273.6 kB / 0.5724 GB, free: 3.191 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005098/0.466, allocations: 4.137 MB / 0.5764 GB, free: 15.03 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.922e-05/0.4661, allocations: 41.7 kB / 0.5765 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001856/0.468, allocations: 3.032 MB / 0.5794 GB, free: 11.92 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004157/0.4684, allocations: 0.5623 MB / 0.58 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001156/0.4696, allocations: 1.123 MB / 0.5811 GB, free: 10.22 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.719e-05/0.4697, allocations: 305.1 kB / 0.5814 GB, free: 9.922 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00191/0.4716, allocations: 1.479 MB / 0.5828 GB, free: 8.438 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003975/0.4756, allocations: 4.941 MB / 0.5876 GB, free: 1.754 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006156/0.4817, allocations: 6.899 MB / 0.5944 GB, free: 9.148 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.435e-05/0.4818, allocations: 32 kB / 0.5944 GB, free: 9.117 MB / 430.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.008096/0.4899, allocations: 6.233 MB / 0.6005 GB, free: 2.883 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.462e-05/0.49, allocations: 56 kB / 0.6006 GB, free: 2.828 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.912e-05/0.4901, allocations: 120 kB / 0.6007 GB, free: 2.711 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001287/0.4902, allocations: 160 kB / 0.6008 GB, free: 2.555 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003103/0.4933, allocations: 1.283 MB / 0.6021 GB, free: 1.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001492/0.4935, allocations: 235.1 kB / 0.6023 GB, free: 1.039 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002859/0.4963, allocations: 263.9 kB / 0.6025 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003095/0.4967, allocations: 339.9 kB / 0.6029 GB, free: 460 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.002383/0.499, allocations: 2.019 MB / 0.6048 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004695/0.4995, allocations: 361.6 kB / 0.6052 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004769/0.5, allocations: 381.6 kB / 0.6056 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-05/0.5, allocations: 19.83 kB / 0.6056 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/0.5, allocations: 4 kB / 0.6056 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.5001, allocations: 10.28 kB / 0.6056 GB, free: 13.65 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.007541/0.5076, allocations: 5.317 MB / 0.6108 GB, free: 8.082 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.69e-05/0.5076, allocations: 18.34 kB / 0.6108 GB, free: 8.066 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000781/0.5084, allocations: 235.6 kB / 0.611 GB, free: 7.836 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.798e-05/0.5085, allocations: 20 kB / 0.611 GB, free: 7.816 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.855e-05/0.5085, allocations: 36 kB / 0.6111 GB, free: 7.781 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-05/0.5086, allocations: 31.86 kB / 0.6111 GB, free: 7.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.356e-05/0.5086, allocations: 15.94 kB / 0.6111 GB, free: 7.734 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003091/0.5117, allocations: 2.913 MB / 0.614 GB, free: 4.633 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001095/0.5128, allocations: 0.5415 MB / 0.6145 GB, free: 4.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000542/0.5133, allocations: 43.97 kB / 0.6145 GB, free: 4.027 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00131/0.5146, allocations: 55.97 kB / 0.6146 GB, free: 3.973 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001753/0.5148, allocations: 115.6 kB / 0.6147 GB, free: 3.859 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.579e-05/0.5149, allocations: 52 kB / 0.6147 GB, free: 3.809 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004756/0.5197, allocations: 2.612 MB / 0.6173 GB, free: 1.184 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5197, allocations: 0 / 0.6173 GB, free: 1.184 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005083/0.5248, allocations: 0.8437 MB / 0.6181 GB, free: 348 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.0004756/0.5253, allocations: 190.6 kB / 0.6183 GB, free: 144 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004953/0.5303, allocations: 3.397 MB / 0.6216 GB, free: 12.78 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.598e-06/0.5303, allocations: 0 / 0.6216 GB, free: 12.78 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008672/0.5312, allocations: 0.6589 MB / 0.6223 GB, free: 12.12 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003072/0.5342, allocations: 0.5115 MB / 0.6228 GB, free: 11.63 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0137/0.5479, allocations: 8.73 MB / 0.6313 GB, free: 2.68 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003614/0.5516, allocations: 3.089 MB / 0.6343 GB, free: 15.55 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000755/0.5524, allocations: 267.4 kB / 0.6346 GB, free: 15.29 MB / 478.1 MB Notification: Performance of SimCode: time 7.81e-07/0.5524, allocations: 4 kB / 0.6346 GB, free: 15.29 MB / 478.1 MB Notification: Performance of Templates: time 0.06958/0.622, allocations: 53.23 MB / 0.6865 GB, free: 10.17 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)