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.001116/0.001116, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001359/0.001359, allocations: 195.1 kB / 16.26 MB, free: 6.621 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.404/1.404, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.1752/0.1752, allocations: 6.487 MB / 296.6 MB, free: 2.723 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001187, allocations: 59.91 kB / 358.3 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1223, allocations: 50.86 MB / 409.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ElectricCylinder_test): time 0.2676/0.3899, allocations: 39.57 MB / 448.7 MB, free: 23.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02098/0.411, allocations: 9.206 MB / 457.9 MB, free: 17.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008679/0.4197, allocations: 174.4 kB / 458.1 MB, free: 17.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004383/0.4242, allocations: 2.334 MB / 460.4 MB, free: 16.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004902/0.4291, allocations: 1.816 MB / 462.2 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001502/0.4306, allocations: 0.7142 MB / 462.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006351/0.437, allocations: 5.945 MB / 468.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003502/0.4405, allocations: 3.698 MB / 472.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002551/0.4431, allocations: 1.7 MB / 474.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003318/0.4464, allocations: 2.504 MB / 476.8 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00075/0.4472, allocations: 400.4 kB / 477.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00215/0.4493, allocations: 1.176 MB / 478.3 MB, free: 9.816 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001704/0.4511, allocations: 2.004 MB / 480.3 MB, free: 9.051 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00237/0.4534, allocations: 2.319 MB / 482.7 MB, free: 7.422 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01025/0.4637, allocations: 7.236 MB / 489.9 MB, free: 4.773 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/0.4637, allocations: 4 kB / 489.9 MB, free: 4.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.4637, allocations: 1.406 kB / 489.9 MB, free: 4.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002653/0.464, allocations: 0 / 489.9 MB, free: 4.77 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.01462/0.4786, allocations: 4.753 MB / 494.7 MB, free: 1.875 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.4787, allocations: 9.062 kB / 494.7 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01815/0.4969, allocations: 2.794 MB / 497.5 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009189/0.5061, allocations: 3.6 MB / 0.4893 GB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001902/0.5063, allocations: 218.1 kB / 0.4895 GB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001012/0.5073, allocations: 299.6 kB / 0.4898 GB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01595/0.5233, allocations: 8.524 MB / 0.4981 GB, free: 4.273 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001479/0.5235, allocations: 47.56 kB / 0.4982 GB, free: 4.227 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003984/0.5239, allocations: 131.9 kB / 0.4983 GB, free: 4.098 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002437/0.5263, allocations: 1.571 MB / 0.4998 GB, free: 2.527 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01367/0.54, allocations: 6.919 MB / 0.5066 GB, free: 11.6 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04164/0.5817, allocations: 33.09 MB / 0.5389 GB, free: 9.441 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004073/0.5858, allocations: 2.158 MB / 0.541 GB, free: 7.141 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009034/0.5867, allocations: 0.6668 MB / 0.5417 GB, free: 6.465 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004986/0.5917, allocations: 3.096 MB / 0.5447 GB, free: 3.219 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/0.5918, allocations: 51.05 kB / 0.5447 GB, free: 3.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=114): time 3.046e-06/0.5918, allocations: 0 / 0.5447 GB, free: 3.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=134): time 0.01594/0.6077, allocations: 7.563 MB / 0.5521 GB, free: 11.48 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001495/0.6079, allocations: 285.5 kB / 0.5524 GB, free: 11.13 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005729/0.6137, allocations: 4.109 MB / 0.5564 GB, free: 6.996 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002052/0.6139, allocations: 45.7 kB / 0.5565 GB, free: 6.945 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002079/0.616, allocations: 2.933 MB / 0.5593 GB, free: 3.973 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005336/0.6165, allocations: 0.5286 MB / 0.5598 GB, free: 3.438 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001285/0.6178, allocations: 1.118 MB / 0.5609 GB, free: 2.309 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.6179, allocations: 305.1 kB / 0.5612 GB, free: 2.008 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001993/0.6199, allocations: 1.479 MB / 0.5627 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004598/0.6245, allocations: 4.945 MB / 0.5675 GB, free: 9.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007716/0.6323, allocations: 6.898 MB / 0.5742 GB, free: 1.238 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.076e-05/0.6324, allocations: 36 kB / 0.5743 GB, free: 1.203 MB / 446.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.2313/0.8637, allocations: 6.195 MB / 0.5803 GB, free: 124.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.177e-05/0.8638, allocations: 59.81 kB / 0.5804 GB, free: 124.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001136/0.8639, allocations: 123.7 kB / 0.5805 GB, free: 124.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001359/0.8641, allocations: 159.8 kB / 0.5806 GB, free: 124.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003697/0.8678, allocations: 1.28 MB / 0.5819 GB, free: 124.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001806/0.868, allocations: 241.3 kB / 0.5821 GB, free: 124.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004905/0.8729, allocations: 258.5 kB / 0.5824 GB, free: 124.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008204/0.8737, allocations: 338.5 kB / 0.5827 GB, free: 124.3 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.004419/0.8781, allocations: 2.024 MB / 0.5847 GB, free: 123.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009848/0.8791, allocations: 337.7 kB / 0.585 GB, free: 123.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000868/0.88, allocations: 388.9 kB / 0.5854 GB, free: 123.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.198e-05/0.8801, allocations: 18.69 kB / 0.5854 GB, free: 123.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.51e-05/0.8801, allocations: 0 / 0.5854 GB, free: 123.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.541e-05/0.8801, allocations: 10.36 kB / 0.5854 GB, free: 123.6 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.008655/0.8888, allocations: 5.325 MB / 0.5906 GB, free: 121.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.544e-05/0.8888, allocations: 16.72 kB / 0.5906 GB, free: 121.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007435/0.8895, allocations: 232.7 kB / 0.5908 GB, free: 121.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.865e-05/0.8896, allocations: 16.66 kB / 0.5908 GB, free: 121.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.585e-05/0.8896, allocations: 48.06 kB / 0.5909 GB, free: 121.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.867e-05/0.8897, allocations: 19.34 kB / 0.5909 GB, free: 121.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.23e-05/0.8897, allocations: 23.34 kB / 0.5909 GB, free: 121.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002894/0.8926, allocations: 2.887 MB / 0.5937 GB, free: 119.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001061/0.8937, allocations: 0.5294 MB / 0.5943 GB, free: 119.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003346/0.894, allocations: 42.73 kB / 0.5943 GB, free: 119.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001016/0.895, allocations: 54.31 kB / 0.5944 GB, free: 119.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001513/0.8952, allocations: 114.5 kB / 0.5945 GB, free: 119.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-05/0.8953, allocations: 58.03 kB / 0.5945 GB, free: 119.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003343/0.8986, allocations: 2.606 MB / 0.5971 GB, free: 118.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8986, allocations: 4 kB / 0.5971 GB, free: 118.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004926/0.9036, allocations: 0.8427 MB / 0.5979 GB, free: 118.1 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.0004412/0.904, allocations: 181.2 kB / 0.5981 GB, free: 118 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005274/0.9093, allocations: 3.52 MB / 0.6015 GB, free: 116.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.467e-05/0.9093, allocations: 2.781 kB / 0.6015 GB, free: 116.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000902/0.9102, allocations: 0.6545 MB / 0.6021 GB, free: 116.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003736/0.914, allocations: 0.5172 MB / 0.6026 GB, free: 116.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01764/0.9316, allocations: 10.09 MB / 0.6125 GB, free: 110.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003694/0.9354, allocations: 3.107 MB / 0.6155 GB, free: 109.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004529/0.9399, allocations: 1.634 MB / 0.6171 GB, free: 109.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007015/0.9407, allocations: 230.1 kB / 0.6174 GB, free: 109.1 MB / 446.1 MB Notification: Performance of SimCode: time 7.42e-07/0.9407, allocations: 0 / 0.6174 GB, free: 109.1 MB / 446.1 MB Notification: Performance of Templates: time 0.05878/0.9994, allocations: 28.93 MB / 0.6456 GB, free: 90.75 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)