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.0008557/0.0008558, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0008812/0.0008817, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.824/1.824, allocations: 223.2 MB / 239.9 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.2431/0.2431, allocations: 6.477 MB / 297.5 MB, free: 3.777 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003972/0.0003972, allocations: 12 kB / 359.8 MB, free: 260 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1731, allocations: 51.83 MB / 411.6 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ElectricCylinder_test): time 0.3556/0.5288, allocations: 33.83 MB / 445.5 MB, free: 27.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02907/0.5579, allocations: 9.141 MB / 454.6 MB, free: 21.13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01348/0.5715, allocations: 171.8 kB / 454.8 MB, free: 21.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009213/0.5808, allocations: 1.712 MB / 456.5 MB, free: 20.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0235/0.6043, allocations: 4.972 MB / 461.5 MB, free: 18.15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003756/0.6081, allocations: 0.6076 MB / 462.1 MB, free: 17.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.08887/0.697, allocations: 48.21 MB / 0.4983 GB, free: 6.492 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009383/0.7064, allocations: 4.056 MB / 0.5023 GB, free: 2.426 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00301/0.7095, allocations: 1.129 MB / 0.5034 GB, free: 1.293 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003279/0.7128, allocations: 1.507 MB / 0.5049 GB, free: 15.78 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007702/0.7136, allocations: 160 kB / 0.505 GB, free: 15.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002224/0.7158, allocations: 0.8232 MB / 0.5058 GB, free: 14.8 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00196/0.7178, allocations: 1.566 MB / 0.5073 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001526/0.7193, allocations: 0.8585 MB / 0.5082 GB, free: 12.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008485/0.7278, allocations: 6.029 MB / 0.5141 GB, free: 6.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.7279, allocations: 0 / 0.5141 GB, free: 6.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.524e-06/0.7279, allocations: 0 / 0.5141 GB, free: 6.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002753/0.7282, allocations: 0 / 0.5141 GB, free: 6.32 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.01237/0.7405, allocations: 4.157 MB / 0.5181 GB, free: 2.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.7406, allocations: 8.031 kB / 0.5181 GB, free: 2.082 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1028/0.8434, allocations: 11.54 MB / 0.5294 GB, free: 6.523 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.012/0.8554, allocations: 3.742 MB / 0.5331 GB, free: 2.727 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002405/0.8557, allocations: 221.5 kB / 0.5333 GB, free: 2.508 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001323/0.857, allocations: 295.7 kB / 0.5336 GB, free: 2.219 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01959/0.8766, allocations: 8.417 MB / 0.5418 GB, free: 9.184 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000236/0.877, allocations: 47.64 kB / 0.5418 GB, free: 9.137 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005059/0.8775, allocations: 135.9 kB / 0.5419 GB, free: 9.004 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002831/0.8803, allocations: 1.56 MB / 0.5435 GB, free: 7.441 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01534/0.8957, allocations: 6.685 MB / 0.55 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3636/1.259, allocations: 32.94 MB / 0.5822 GB, free: 116.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004007/1.263, allocations: 2.158 MB / 0.5843 GB, free: 116.1 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005624/1.269, allocations: 3.11 MB / 0.5873 GB, free: 114.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.464e-05/1.269, allocations: 51.39 kB / 0.5874 GB, free: 114.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=114): time 3.818e-06/1.269, allocations: 3.438 kB / 0.5874 GB, free: 114.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=134): time 0.01593/1.285, allocations: 7.892 MB / 0.5951 GB, free: 111.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.296e-05/1.285, allocations: 275 kB / 0.5953 GB, free: 111.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005735/1.291, allocations: 4.377 MB / 0.5996 GB, free: 111 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002274/1.291, allocations: 43.22 kB / 0.5997 GB, free: 110.9 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001946/1.293, allocations: 2.966 MB / 0.6025 GB, free: 108.9 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005646/1.294, allocations: 0.5316 MB / 0.6031 GB, free: 108.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000162/1.294, allocations: 103.2 kB / 0.6032 GB, free: 108.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002484/1.294, allocations: 0.5173 MB / 0.6037 GB, free: 108 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001829/1.296, allocations: 1.361 MB / 0.605 GB, free: 107.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003308/1.299, allocations: 4.72 MB / 0.6096 GB, free: 102.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002977/1.302, allocations: 2.521 MB / 0.6121 GB, free: 101.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.153e-05/1.302, allocations: 35.72 kB / 0.6121 GB, free: 101.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=676) (initialization): time 0.009513/1.312, allocations: 5.869 MB / 0.6178 GB, free: 99.42 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.749e-05/1.312, allocations: 54.44 kB / 0.6179 GB, free: 99.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000201/1.312, allocations: 118.5 kB / 0.618 GB, free: 99.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002555/1.312, allocations: 173.5 kB / 0.6182 GB, free: 99.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003942/1.316, allocations: 1.217 MB / 0.6194 GB, free: 99.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002578/1.317, allocations: 234.8 kB / 0.6196 GB, free: 99.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004688/1.321, allocations: 263.8 kB / 0.6198 GB, free: 99.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006859/1.322, allocations: 319.4 kB / 0.6201 GB, free: 99.08 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 542 * 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 (652): * Single equations (assignments): 649 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004193/1.326, allocations: 2.02 MB / 0.6221 GB, free: 98.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009636/1.327, allocations: 350.2 kB / 0.6224 GB, free: 97.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007733/1.328, allocations: 403 kB / 0.6228 GB, free: 97.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.354e-05/1.328, allocations: 18.34 kB / 0.6228 GB, free: 97.71 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.498e-05/1.328, allocations: 2.344 kB / 0.6228 GB, free: 97.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/1.328, allocations: 4.391 kB / 0.6229 GB, free: 97.71 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.01238/1.341, allocations: 5.385 MB / 0.6281 GB, free: 95.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.262e-05/1.341, allocations: 12.53 kB / 0.6281 GB, free: 95.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001478/1.342, allocations: 239.7 kB / 0.6284 GB, free: 95.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.161e-05/1.342, allocations: 20.09 kB / 0.6284 GB, free: 95.11 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001212/1.342, allocations: 41.67 kB / 0.6284 GB, free: 95.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.382e-05/1.342, allocations: 27.44 kB / 0.6284 GB, free: 95.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.703e-05/1.342, allocations: 18.97 kB / 0.6285 GB, free: 95.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006135/1.349, allocations: 4.349 MB / 0.6327 GB, free: 91.51 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002566/1.351, allocations: 0.5337 MB / 0.6332 GB, free: 91.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001015/1.352, allocations: 41.55 kB / 0.6333 GB, free: 91.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002081/1.354, allocations: 64.73 kB / 0.6333 GB, free: 91.11 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002719/1.355, allocations: 113.5 kB / 0.6334 GB, free: 91.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000148/1.355, allocations: 54.56 kB / 0.6335 GB, free: 91.06 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.006031/1.361, allocations: 2.82 MB / 0.6362 GB, free: 90.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.9e-07/1.361, allocations: 0 / 0.6362 GB, free: 90.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006454/1.367, allocations: 0.8428 MB / 0.6371 GB, free: 89.96 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005859/1.368, allocations: 201.4 kB / 0.6373 GB, free: 89.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005965/1.374, allocations: 3.184 MB / 0.6404 GB, free: 88.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.606e-05/1.374, allocations: 0 / 0.6404 GB, free: 88.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001104/1.375, allocations: 0.652 MB / 0.641 GB, free: 88.53 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003264/1.378, allocations: 0.513 MB / 0.6415 GB, free: 88.33 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01567/1.394, allocations: 9.67 MB / 0.6509 GB, free: 82.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004091/1.398, allocations: 3.19 MB / 0.6541 GB, free: 81.62 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004607/1.403, allocations: 1.65 MB / 0.6557 GB, free: 81.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006006/1.403, allocations: 227.4 kB / 0.6559 GB, free: 81.25 MB / 446.1 MB Notification: Performance of SimCode: time 1.011e-06/1.403, allocations: 7.938 kB / 0.6559 GB, free: 81.24 MB / 446.1 MB Notification: Performance of Templates: time 0.05156/1.455, allocations: 28.21 MB / 0.6834 GB, free: 56.4 MB / 446.1 MB make -j1 -f StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: