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: "" <> buildModelFMU(StewartPlatform.Tests.ElectricCylinder_test,fileNamePrefix="StewartPlatform_StewartPlatform_Tests_ElectricCylinder_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(StewartPlatform.Tests.ElectricCylinder_test,fileNamePrefix="StewartPlatform_StewartPlatform_Tests_ElectricCylinder_test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007699/0.00077, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.00465/0.004651, allocations: 169 kB / 16.26 MB, free: 6.652 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.203/1.203, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.1308/0.1308, allocations: 6.471 MB / 297.9 MB, free: 3.703 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002706/0.0002706, allocations: 15.94 kB / 360.6 MB, free: 15.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0782/0.07848, allocations: 51.84 MB / 412.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ElectricCylinder_test): time 0.1595/0.238, allocations: 38.49 MB / 450.9 MB, free: 22.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01209/0.2502, allocations: 9.233 MB / 460.2 MB, free: 17.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003147/0.2533, allocations: 169.4 kB / 460.3 MB, free: 17.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008237/0.2542, allocations: 494.4 kB / 460.8 MB, free: 17.19 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002511/0.2567, allocations: 1.832 MB / 462.6 MB, free: 16.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008504/0.2576, allocations: 0.6974 MB / 463.3 MB, free: 16.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00478/0.2623, allocations: 7.553 MB / 470.9 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003857/0.2662, allocations: 4.512 MB / 475.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001235/0.2675, allocations: 1.228 MB / 476.6 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001856/0.2693, allocations: 2.103 MB / 478.7 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002641/0.2696, allocations: 149.3 kB / 478.9 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001292/0.2709, allocations: 0.9664 MB / 479.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001195/0.2721, allocations: 1.711 MB / 481.6 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00134/0.2735, allocations: 2.079 MB / 483.6 MB, free: 8.629 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005857/0.2793, allocations: 7.187 MB / 490.8 MB, free: 6.082 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2793, allocations: 3.938 kB / 490.8 MB, free: 6.078 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.2793, allocations: 1.062 kB / 490.8 MB, free: 6.078 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001021/0.2794, allocations: 0 / 490.8 MB, free: 6.078 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.007545/0.287, allocations: 4.101 MB / 494.9 MB, free: 3.215 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.287, allocations: 10.19 kB / 494.9 MB, free: 3.215 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006375/0.2877, allocations: 0.6343 MB / 495.6 MB, free: 2.766 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09779/0.3855, allocations: 9.454 MB / 0.4932 GB, free: 12.17 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008756/0.3943, allocations: 4.208 MB / 0.4973 GB, free: 7.902 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001486/0.3944, allocations: 209.9 kB / 0.4975 GB, free: 7.695 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000536/0.395, allocations: 303.6 kB / 0.4978 GB, free: 7.398 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01156/0.4066, allocations: 8.403 MB / 0.506 GB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001027/0.4067, allocations: 51.48 kB / 0.506 GB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003636/0.407, allocations: 135.9 kB / 0.5062 GB, free: 14.19 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002206/0.4093, allocations: 1.56 MB / 0.5077 GB, free: 12.63 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01047/0.4197, allocations: 6.654 MB / 0.5142 GB, free: 5.973 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03312/0.4529, allocations: 32.85 MB / 0.5463 GB, free: 4.055 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003864/0.4568, allocations: 2.153 MB / 0.5484 GB, free: 1.758 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008565/0.4576, allocations: 0.6743 MB / 0.549 GB, free: 1.078 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004188/0.4618, allocations: 3.069 MB / 0.552 GB, free: 13.86 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.4619, allocations: 43.12 kB / 0.5521 GB, free: 13.81 MB / 430.1 MB Notification: Performance of pre-optimization done (n=114): time 2.785e-06/0.4619, allocations: 8 kB / 0.5521 GB, free: 13.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=134): time 0.01539/0.4773, allocations: 7.629 MB / 0.5595 GB, free: 6.059 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001485/0.4775, allocations: 273.7 kB / 0.5598 GB, free: 5.727 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005366/0.4828, allocations: 4.128 MB / 0.5638 GB, free: 1.574 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001054/0.483, allocations: 41.7 kB / 0.5639 GB, free: 1.527 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00191/0.4849, allocations: 2.961 MB / 0.5668 GB, free: 14.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004296/0.4853, allocations: 0.5362 MB / 0.5673 GB, free: 13.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004506/0.4858, allocations: 453.2 kB / 0.5677 GB, free: 13.53 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.518e-05/0.4859, allocations: 305.1 kB / 0.568 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001821/0.4877, allocations: 1.376 MB / 0.5694 GB, free: 11.85 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004106/0.4918, allocations: 4.752 MB / 0.574 GB, free: 5.387 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1618/0.6536, allocations: 6.681 MB / 0.5805 GB, free: 119.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.772e-05/0.6537, allocations: 36.91 kB / 0.5806 GB, free: 119.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=676) (initialization): time 0.007119/0.6608, allocations: 5.893 MB / 0.5863 GB, free: 118.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.134e-05/0.6609, allocations: 58.16 kB / 0.5864 GB, free: 118.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.296e-05/0.6609, allocations: 120.6 kB / 0.5865 GB, free: 118.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001009/0.6611, allocations: 159.3 kB / 0.5866 GB, free: 118.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002576/0.6636, allocations: 1.22 MB / 0.5878 GB, free: 118.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001048/0.6638, allocations: 239.8 kB / 0.5881 GB, free: 118.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002549/0.6663, allocations: 251.8 kB / 0.5883 GB, free: 118.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00026/0.6666, allocations: 320.6 kB / 0.5886 GB, free: 118.5 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002415/0.669, allocations: 2.019 MB / 0.5906 GB, free: 118.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003212/0.6693, allocations: 349.8 kB / 0.5909 GB, free: 118.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005507/0.6699, allocations: 403 kB / 0.5913 GB, free: 118.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.762e-05/0.6699, allocations: 17.14 kB / 0.5913 GB, free: 118.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.6699, allocations: 1.406 kB / 0.5913 GB, free: 118.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/0.6699, allocations: 8.594 kB / 0.5913 GB, free: 118.2 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.005465/0.6754, allocations: 5.32 MB / 0.5965 GB, free: 115.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/0.6754, allocations: 16.09 kB / 0.5965 GB, free: 115.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006637/0.6761, allocations: 234.5 kB / 0.5968 GB, free: 115.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.267e-05/0.6761, allocations: 19.2 kB / 0.5968 GB, free: 115.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.508e-05/0.6762, allocations: 37.53 kB / 0.5968 GB, free: 115.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.3e-05/0.6762, allocations: 25.12 kB / 0.5968 GB, free: 115.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.016e-06/0.6762, allocations: 18.56 kB / 0.5968 GB, free: 115.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002151/0.6784, allocations: 2.909 MB / 0.5997 GB, free: 114.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005779/0.679, allocations: 0.5251 MB / 0.6002 GB, free: 113.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002714/0.6792, allocations: 41.45 kB / 0.6002 GB, free: 113.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009448/0.6802, allocations: 58.94 kB / 0.6003 GB, free: 113.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.6803, allocations: 118.8 kB / 0.6004 GB, free: 113.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-05/0.6804, allocations: 54.02 kB / 0.6005 GB, free: 113.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002604/0.683, allocations: 2.626 MB / 0.603 GB, free: 112.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.683, allocations: 0 / 0.603 GB, free: 112.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002995/0.686, allocations: 0.8188 MB / 0.6038 GB, free: 112.6 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.00258/0.6886, allocations: 3.571 MB / 0.6073 GB, free: 110.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003479/0.6921, allocations: 3.197 MB / 0.6104 GB, free: 109.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.6921, allocations: 6.75 kB / 0.6104 GB, free: 109.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006749/0.6928, allocations: 0.6678 MB / 0.6111 GB, free: 109.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007928/0.7007, allocations: 0.6418 MB / 0.6117 GB, free: 108.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0508/0.7515, allocations: 46.17 MB / 0.6568 GB, free: 68.83 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003264/0.7548, allocations: 3.108 MB / 0.6598 GB, free: 66.38 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003322/0.7582, allocations: 1.636 MB / 0.6614 GB, free: 65.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001639/0.7598, allocations: 1.793 MB / 0.6632 GB, free: 63.67 MB / 446.1 MB Notification: Performance of SimCode: time 5.31e-07/0.7598, allocations: 3.938 kB / 0.6632 GB, free: 63.66 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06897/0.8288, allocations: 69.46 MB / 0.731 GB, free: 12.88 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001954/0.829, allocations: 196.1 kB / 0.7312 GB, free: 12.63 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.954/3.783, allocations: 3.938 kB / 0.7312 GB, free: 12.62 MB / 462.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_StewartPlatform_StewartPlatform_Tests_ElectricCylinder_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 StewartPlatform_StewartPlatform_Tests_ElectricCylinder_test.fmu > StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test.pipe 2>&1)