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.006471/0.006471, allocations: 100.6 kB / 15.73 MB, free: 6.008 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.001477/0.001477, allocations: 189.7 kB / 16.67 MB, free: 5.934 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.436/1.436, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.03247/0.03247, allocations: 6.495 MB / 297 MB, free: 8.34 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 64.05 kB / 410.4 MB, free: 25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1139, allocations: 50.86 MB / 461.3 MB, free: 6.117 MB / 334.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ElectricCylinder_test): time 0.01403/0.1279, allocations: 11.62 MB / 472.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009311/0.1373, allocations: 4.381 MB / 477.3 MB, free: 6.051 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001914/0.1393, allocations: 71.75 kB / 477.4 MB, free: 5.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005014/0.1443, allocations: 2.429 MB / 479.8 MB, free: 3.543 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005266/0.1496, allocations: 1.967 MB / 481.8 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001756/0.1514, allocations: 0.745 MB / 482.5 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008269/0.1597, allocations: 5.556 MB / 488.1 MB, free: 11.26 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004712/0.1644, allocations: 3.516 MB / 491.6 MB, free: 7.688 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003025/0.1675, allocations: 1.671 MB / 493.2 MB, free: 6.012 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003633/0.1711, allocations: 2.243 MB / 495.5 MB, free: 3.762 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008947/0.1721, allocations: 400 kB / 495.9 MB, free: 3.371 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002447/0.1745, allocations: 1.17 MB / 497 MB, free: 2.199 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002157/0.1767, allocations: 1.96 MB / 499 MB, free: 240 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003094/0.1798, allocations: 2.413 MB / 0.4897 GB, free: 13.81 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009817/0.1896, allocations: 7.753 MB / 0.4972 GB, free: 6.027 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.628e-06/0.1897, allocations: 0 / 0.4972 GB, free: 6.027 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1897, allocations: 3.938 kB / 0.4972 GB, free: 6.023 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002615/0.19, allocations: 0 / 0.4972 GB, free: 6.023 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.01424/0.2042, allocations: 5.121 MB / 0.5022 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/0.2043, allocations: 12.03 kB / 0.5023 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00131/0.2056, allocations: 0.6247 MB / 0.5029 GB, free: 180 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3309/0.5365, allocations: 9.27 MB / 0.5119 GB, free: 44.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009239/0.5458, allocations: 4.29 MB / 0.5161 GB, free: 42.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001451/0.546, allocations: 216.1 kB / 0.5163 GB, free: 42.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000854/0.5468, allocations: 301 kB / 0.5166 GB, free: 41.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01149/0.5583, allocations: 8.375 MB / 0.5248 GB, free: 35.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001238/0.5585, allocations: 47.64 kB / 0.5248 GB, free: 35.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003303/0.5588, allocations: 139.6 kB / 0.525 GB, free: 35.64 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001743/0.5606, allocations: 1.563 MB / 0.5265 GB, free: 34.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01003/0.5706, allocations: 6.631 MB / 0.533 GB, free: 27.45 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0335/0.6042, allocations: 32.73 MB / 0.5649 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004493/0.6087, allocations: 2.154 MB / 0.567 GB, free: 7.68 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001044/0.6098, allocations: 0.6754 MB / 0.5677 GB, free: 7 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005598/0.6154, allocations: 3.075 MB / 0.5707 GB, free: 3.883 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.424e-05/0.6155, allocations: 51.06 kB / 0.5707 GB, free: 3.824 MB / 398.1 MB Notification: Performance of pre-optimization done (n=114): time 3.406e-06/0.6155, allocations: 0 / 0.5707 GB, free: 3.824 MB / 398.1 MB Notification: Performance of matching and sorting (n=134): time 0.01787/0.6334, allocations: 7.833 MB / 0.5784 GB, free: 11.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000195/0.6336, allocations: 273.7 kB / 0.5787 GB, free: 11.59 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006392/0.64, allocations: 4.133 MB / 0.5827 GB, free: 7.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002023/0.6402, allocations: 46.36 kB / 0.5827 GB, free: 7.379 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002751/0.643, allocations: 3.075 MB / 0.5857 GB, free: 4.273 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006784/0.6437, allocations: 0.5584 MB / 0.5863 GB, free: 3.711 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001435/0.6451, allocations: 1.044 MB / 0.5873 GB, free: 2.656 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.6453, allocations: 309 kB / 0.5876 GB, free: 2.352 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002232/0.6475, allocations: 1.376 MB / 0.5889 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005195/0.6527, allocations: 4.752 MB / 0.5936 GB, free: 10.51 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008637/0.6614, allocations: 6.682 MB / 0.6001 GB, free: 2.168 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.25e-05/0.6615, allocations: 32 kB / 0.6001 GB, free: 2.137 MB / 430.1 MB Notification: Performance of matching and sorting (n=676) (initialization): time 0.01121/0.6728, allocations: 5.908 MB / 0.6059 GB, free: 12.22 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.947e-05/0.6729, allocations: 56 kB / 0.606 GB, free: 12.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001299/0.673, allocations: 120 kB / 0.6061 GB, free: 12.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001769/0.6732, allocations: 156 kB / 0.6062 GB, free: 11.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003503/0.6767, allocations: 1.229 MB / 0.6074 GB, free: 10.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002099/0.677, allocations: 227.2 kB / 0.6076 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003695/0.6807, allocations: 263.6 kB / 0.6079 GB, free: 10.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004966/0.6812, allocations: 316 kB / 0.6082 GB, free: 9.879 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.003286/0.6845, allocations: 2.026 MB / 0.6102 GB, free: 7.844 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007888/0.6853, allocations: 361.6 kB / 0.6105 GB, free: 7.488 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009787/0.6862, allocations: 406.2 kB / 0.6109 GB, free: 7.082 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.023e-05/0.6863, allocations: 12 kB / 0.6109 GB, free: 7.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.398e-05/0.6863, allocations: 4 kB / 0.6109 GB, free: 7.066 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.811e-05/0.6863, allocations: 11.91 kB / 0.6109 GB, free: 7.055 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.01143/0.6978, allocations: 5.317 MB / 0.6161 GB, free: 1.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.438e-05/0.6978, allocations: 15.98 kB / 0.6161 GB, free: 1.465 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009389/0.6988, allocations: 231.6 kB / 0.6164 GB, free: 1.238 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.824e-05/0.6988, allocations: 20.66 kB / 0.6164 GB, free: 1.219 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001218/0.699, allocations: 43.73 kB / 0.6164 GB, free: 1.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.742e-05/0.699, allocations: 27.94 kB / 0.6164 GB, free: 1.152 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.33e-05/0.699, allocations: 15.94 kB / 0.6165 GB, free: 1.137 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004456/0.7035, allocations: 2.917 MB / 0.6193 GB, free: 14.03 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001608/0.7051, allocations: 0.5375 MB / 0.6198 GB, free: 13.47 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008671/0.706, allocations: 44 kB / 0.6199 GB, free: 13.43 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001735/0.7077, allocations: 56.02 kB / 0.6199 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002182/0.708, allocations: 111.6 kB / 0.62 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001286/0.7081, allocations: 59.97 kB / 0.6201 GB, free: 13.21 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.006023/0.7141, allocations: 2.622 MB / 0.6227 GB, free: 10.57 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.7142, allocations: 0 / 0.6227 GB, free: 10.57 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005553/0.7197, allocations: 0.8163 MB / 0.6235 GB, free: 9.758 MB / 462.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.005373/0.7251, allocations: 3.571 MB / 0.6269 GB, free: 5.996 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005985/0.7311, allocations: 3.24 MB / 0.6301 GB, free: 2.789 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.564e-05/0.7312, allocations: 4 kB / 0.6301 GB, free: 2.785 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001093/0.7323, allocations: 0.6548 MB / 0.6307 GB, free: 2.133 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004562/0.7368, allocations: 0.5552 MB / 0.6313 GB, free: 1.598 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07205/0.8089, allocations: 38.75 MB / 0.6691 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005378/0.8143, allocations: 3.11 MB / 0.6722 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004313/0.8187, allocations: 1.635 MB / 0.6738 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002951/0.8217, allocations: 1.765 MB / 0.6755 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of SimCode: time 9.42e-07/0.8217, allocations: 0 / 0.6755 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3554/1.177, allocations: 61.46 MB / 0.7355 GB, free: 174.8 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.3/18.47, allocations: 3.062 kB / 0.7355 GB, free: 174.8 MB / 0.5294 GB (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)