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.001282/0.001282, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 197.7 kB / 16.53 MB, free: 6.664 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.297/1.297, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.1407/0.1407, allocations: 6.479 MB / 296.9 MB, free: 2.688 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 55.91 kB / 358.7 MB, free: 268 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09938/0.1008, allocations: 50.85 MB / 409.6 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ElectricCylinder_test): time 0.01294/0.1137, allocations: 11.63 MB / 421.2 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.177/0.2908, allocations: 4.371 MB / 425.6 MB, free: 35.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001551/0.2924, allocations: 72.25 kB / 425.7 MB, free: 35.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003678/0.2961, allocations: 2.428 MB / 428.1 MB, free: 35.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004065/0.3002, allocations: 1.953 MB / 430 MB, free: 35.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001407/0.3016, allocations: 0.7594 MB / 430.8 MB, free: 35.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005377/0.307, allocations: 5.551 MB / 436.4 MB, free: 33.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003139/0.3102, allocations: 3.517 MB / 439.9 MB, free: 32.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002166/0.3124, allocations: 1.661 MB / 441.5 MB, free: 31.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002373/0.3148, allocations: 2.249 MB / 443.8 MB, free: 30.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006772/0.3155, allocations: 403.9 kB / 444.2 MB, free: 30.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001843/0.3173, allocations: 1.172 MB / 445.3 MB, free: 30.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001344/0.3187, allocations: 1.964 MB / 447.3 MB, free: 29.94 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002071/0.3208, allocations: 2.297 MB / 449.6 MB, free: 28.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005771/0.3265, allocations: 7.199 MB / 456.8 MB, free: 25.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.3266, allocations: 4 kB / 456.8 MB, free: 25.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3266, allocations: 0 / 456.8 MB, free: 25.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001745/0.3268, allocations: 0 / 456.8 MB, free: 25.84 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.009732/0.3365, allocations: 4.742 MB / 461.6 MB, free: 23.24 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.3366, allocations: 9.938 kB / 461.6 MB, free: 23.24 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01877/0.3553, allocations: 2.792 MB / 464.4 MB, free: 22.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009301/0.3647, allocations: 3.607 MB / 468 MB, free: 21.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002196/0.3649, allocations: 212.2 kB / 468.2 MB, free: 21.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001139/0.3661, allocations: 298 kB / 468.5 MB, free: 20.95 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01468/0.3808, allocations: 8.529 MB / 477 MB, free: 16.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001827/0.381, allocations: 51.36 kB / 477 MB, free: 16.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004513/0.3815, allocations: 136.7 kB / 477.2 MB, free: 16.67 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002158/0.3836, allocations: 1.562 MB / 478.7 MB, free: 16.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01286/0.3965, allocations: 6.923 MB / 485.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03843/0.435, allocations: 33.09 MB / 0.5066 GB, free: 9.535 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004037/0.4391, allocations: 2.157 MB / 0.5087 GB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008939/0.44, allocations: 0.6658 MB / 0.5093 GB, free: 6.555 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004769/0.4448, allocations: 3.102 MB / 0.5124 GB, free: 3.316 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.37e-05/0.4448, allocations: 43.12 kB / 0.5124 GB, free: 3.266 MB / 382.1 MB Notification: Performance of pre-optimization done (n=114): time 3.376e-06/0.4449, allocations: 8 kB / 0.5124 GB, free: 3.258 MB / 382.1 MB Notification: Performance of matching and sorting (n=134): time 0.0171/0.462, allocations: 7.572 MB / 0.5198 GB, free: 11.57 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001555/0.4622, allocations: 273.6 kB / 0.5201 GB, free: 11.24 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005716/0.4679, allocations: 4.12 MB / 0.5241 GB, free: 7.094 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002006/0.4681, allocations: 41.7 kB / 0.5241 GB, free: 7.047 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002161/0.4703, allocations: 2.923 MB / 0.527 GB, free: 4.129 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005735/0.4709, allocations: 0.5349 MB / 0.5275 GB, free: 3.598 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001285/0.4722, allocations: 1.113 MB / 0.5286 GB, free: 2.477 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.4723, allocations: 305.1 kB / 0.5289 GB, free: 2.176 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002139/0.4744, allocations: 1.486 MB / 0.5304 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004361/0.4788, allocations: 4.933 MB / 0.5352 GB, free: 10.01 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007639/0.4865, allocations: 6.911 MB / 0.5419 GB, free: 1.398 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.253e-05/0.4866, allocations: 36 kB / 0.542 GB, free: 1.363 MB / 414.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01042/0.497, allocations: 6.19 MB / 0.548 GB, free: 11.16 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.08e-05/0.4971, allocations: 56 kB / 0.5481 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001373/0.4973, allocations: 120.5 kB / 0.5482 GB, free: 10.99 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001422/0.4974, allocations: 160.4 kB / 0.5483 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003647/0.5011, allocations: 1.287 MB / 0.5496 GB, free: 9.547 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001688/0.5013, allocations: 243 kB / 0.5498 GB, free: 9.309 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003425/0.5047, allocations: 262.2 kB / 0.5501 GB, free: 9.055 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005417/0.5053, allocations: 339.9 kB / 0.5504 GB, free: 8.723 MB / 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.003312/0.5086, allocations: 2.026 MB / 0.5524 GB, free: 6.684 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000719/0.5093, allocations: 347.4 kB / 0.5527 GB, free: 6.344 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007068/0.51, allocations: 385.6 kB / 0.5531 GB, free: 5.957 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.871e-05/0.5101, allocations: 16 kB / 0.5531 GB, free: 5.941 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.184e-05/0.5101, allocations: 7.875 kB / 0.5531 GB, free: 5.934 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/0.5101, allocations: 7.984 kB / 0.5531 GB, free: 5.926 MB / 430.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.008286/0.5184, allocations: 5.321 MB / 0.5583 GB, free: 388 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.869e-05/0.5184, allocations: 12 kB / 0.5583 GB, free: 376 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008685/0.5193, allocations: 239.8 kB / 0.5585 GB, free: 136 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.987e-05/0.5193, allocations: 16 kB / 0.5585 GB, free: 120 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.352e-05/0.5194, allocations: 40 kB / 0.5586 GB, free: 80 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.654e-05/0.5195, allocations: 23.92 kB / 0.5586 GB, free: 56 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.267e-05/0.5195, allocations: 23.88 kB / 0.5586 GB, free: 32 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003529/0.523, allocations: 2.887 MB / 0.5614 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001341/0.5244, allocations: 0.5239 MB / 0.562 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004217/0.5248, allocations: 43.98 kB / 0.562 GB, free: 12.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001121/0.5259, allocations: 51.95 kB / 0.562 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001713/0.5261, allocations: 115.5 kB / 0.5622 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.945e-05/0.5262, allocations: 52 kB / 0.5622 GB, free: 12.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004248/0.5305, allocations: 2.608 MB / 0.5648 GB, free: 9.535 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.42e-07/0.5305, allocations: 4 kB / 0.5648 GB, free: 9.531 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00511/0.5356, allocations: 0.8469 MB / 0.5656 GB, free: 8.688 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.0004483/0.5361, allocations: 177.1 kB / 0.5658 GB, free: 8.508 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006469/0.5425, allocations: 3.518 MB / 0.5692 GB, free: 5.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.4e-05/0.5426, allocations: 8.125 kB / 0.5692 GB, free: 5.012 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001011/0.5436, allocations: 0.6516 MB / 0.5698 GB, free: 4.363 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003799/0.5474, allocations: 0.5245 MB / 0.5703 GB, free: 3.867 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1895/0.7369, allocations: 8.295 MB / 0.5784 GB, free: 122.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002784/0.7397, allocations: 3.119 MB / 0.5815 GB, free: 121.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003954/0.7437, allocations: 1.636 MB / 0.5831 GB, free: 121.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006066/0.7443, allocations: 221.4 kB / 0.5833 GB, free: 121.7 MB / 446.1 MB Notification: Performance of SimCode: time 2.675e-06/0.7444, allocations: 0 / 0.5833 GB, free: 121.7 MB / 446.1 MB Notification: Performance of Templates: time 0.05971/0.8041, allocations: 28.99 MB / 0.6116 GB, free: 115.4 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)