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.0007484/0.0007483, allocations: 103 kB / 15.06 MB, free: 1.098 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.0008577/0.0008577, allocations: 173.3 kB / 15.95 MB, free: 212 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.485/1.485, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.2155/0.2155, allocations: 6.47 MB / 297.4 MB, free: 3.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003814/0.0003814, allocations: 8 kB / 359.9 MB, free: 188 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1386, allocations: 51.84 MB / 411.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ElectricCylinder_test): time 0.2772/0.4159, allocations: 33.83 MB / 445.6 MB, free: 27.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02432/0.4402, allocations: 9.14 MB / 454.7 MB, free: 21.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0119/0.4522, allocations: 172.9 kB / 454.9 MB, free: 21.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007399/0.4596, allocations: 1.706 MB / 456.6 MB, free: 20.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02442/0.4841, allocations: 4.971 MB / 461.5 MB, free: 18.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005188/0.4893, allocations: 0.6042 MB / 462.1 MB, free: 17.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.07861/0.5679, allocations: 48.21 MB / 0.4984 GB, free: 6.422 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009247/0.5772, allocations: 4.067 MB / 0.5024 GB, free: 2.336 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003445/0.5807, allocations: 1.121 MB / 0.5035 GB, free: 1.211 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003567/0.5844, allocations: 1.515 MB / 0.5049 GB, free: 15.69 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0013/0.5857, allocations: 148 kB / 0.5051 GB, free: 15.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002959/0.5887, allocations: 0.8271 MB / 0.5059 GB, free: 14.72 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003042/0.5917, allocations: 1.566 MB / 0.5074 GB, free: 13.15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002049/0.5938, allocations: 0.8546 MB / 0.5083 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009014/0.6028, allocations: 6.03 MB / 0.5141 GB, free: 6.246 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.6029, allocations: 4 kB / 0.5141 GB, free: 6.242 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.719e-06/0.6029, allocations: 0 / 0.5141 GB, free: 6.242 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003464/0.6033, allocations: 0 / 0.5141 GB, free: 6.242 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.01414/0.6174, allocations: 4.161 MB / 0.5182 GB, free: 2.008 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.973e-05/0.6175, allocations: 8.031 kB / 0.5182 GB, free: 2 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002827/0.6203, allocations: 0.6284 MB / 0.5188 GB, free: 1.359 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1017/0.7221, allocations: 11.53 MB / 0.5301 GB, free: 5.805 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01213/0.7343, allocations: 3.749 MB / 0.5338 GB, free: 2 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003531/0.7347, allocations: 213.5 kB / 0.534 GB, free: 1.789 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001905/0.7366, allocations: 295.7 kB / 0.5342 GB, free: 1.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0197/0.7564, allocations: 8.417 MB / 0.5425 GB, free: 8.465 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002008/0.7566, allocations: 47.55 kB / 0.5425 GB, free: 8.418 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004308/0.757, allocations: 139.9 kB / 0.5426 GB, free: 8.281 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00264/0.7597, allocations: 1.564 MB / 0.5442 GB, free: 6.715 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01542/0.7751, allocations: 6.673 MB / 0.5507 GB, free: 40 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2817/1.057, allocations: 32.95 MB / 0.5829 GB, free: 116.1 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003662/1.061, allocations: 2.151 MB / 0.585 GB, free: 115.4 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004833/1.065, allocations: 3.118 MB / 0.588 GB, free: 114.1 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/1.066, allocations: 48.28 kB / 0.5881 GB, free: 114 MB / 446.1 MB Notification: Performance of pre-optimization done (n=114): time 3.687e-06/1.066, allocations: 0 / 0.5881 GB, free: 114 MB / 446.1 MB Notification: Performance of matching and sorting (n=134): time 0.01531/1.081, allocations: 7.894 MB / 0.5958 GB, free: 111 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.594e-05/1.081, allocations: 273.2 kB / 0.596 GB, free: 110.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004288/1.085, allocations: 4.38 MB / 0.6003 GB, free: 110.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.725e-05/1.085, allocations: 45.42 kB / 0.6003 GB, free: 110.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0013/1.087, allocations: 2.969 MB / 0.6032 GB, free: 108.6 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003041/1.087, allocations: 0.5328 MB / 0.6038 GB, free: 108.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/1.087, allocations: 105.2 kB / 0.6039 GB, free: 108.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001977/1.087, allocations: 0.5201 MB / 0.6044 GB, free: 107.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001645/1.089, allocations: 1.355 MB / 0.6057 GB, free: 107.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00292/1.092, allocations: 4.712 MB / 0.6103 GB, free: 102.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002854/1.095, allocations: 2.527 MB / 0.6128 GB, free: 101.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.22e-05/1.095, allocations: 32.97 kB / 0.6128 GB, free: 101.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=676) (initialization): time 0.007425/1.102, allocations: 5.858 MB / 0.6185 GB, free: 99.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.639e-05/1.102, allocations: 55.94 kB / 0.6186 GB, free: 99.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001412/1.102, allocations: 120 kB / 0.6187 GB, free: 99.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002118/1.103, allocations: 176.4 kB / 0.6189 GB, free: 99.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003313/1.106, allocations: 1.224 MB / 0.6201 GB, free: 99.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001758/1.106, allocations: 235.9 kB / 0.6203 GB, free: 99.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003396/1.11, allocations: 252.2 kB / 0.6205 GB, free: 99.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004348/1.11, allocations: 321.8 kB / 0.6208 GB, free: 99 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.0032/1.113, allocations: 2.026 MB / 0.6228 GB, free: 98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007156/1.114, allocations: 345.2 kB / 0.6231 GB, free: 97.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005721/1.115, allocations: 398.2 kB / 0.6235 GB, free: 97.63 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-05/1.115, allocations: 19.39 kB / 0.6235 GB, free: 97.63 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.888e-05/1.115, allocations: 1.281 kB / 0.6235 GB, free: 97.63 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/1.115, allocations: 8.172 kB / 0.6235 GB, free: 97.63 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.007502/1.122, allocations: 5.398 MB / 0.6288 GB, free: 95.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.822e-05/1.122, allocations: 13.22 kB / 0.6288 GB, free: 95.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000807/1.123, allocations: 235 kB / 0.629 GB, free: 95.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.319e-05/1.123, allocations: 18.75 kB / 0.6291 GB, free: 95.04 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.26e-05/1.123, allocations: 34.78 kB / 0.6291 GB, free: 95.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.995e-05/1.123, allocations: 28.81 kB / 0.6291 GB, free: 95.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.42e-05/1.123, allocations: 18.28 kB / 0.6291 GB, free: 95.01 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003391/1.127, allocations: 4.358 MB / 0.6334 GB, free: 91.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001093/1.128, allocations: 0.541 MB / 0.6339 GB, free: 91.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003076/1.128, allocations: 39.11 kB / 0.634 GB, free: 91.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/1.129, allocations: 64.61 kB / 0.634 GB, free: 91.02 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001527/1.129, allocations: 112.4 kB / 0.6341 GB, free: 90.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.378e-05/1.129, allocations: 55.45 kB / 0.6342 GB, free: 90.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003705/1.133, allocations: 2.821 MB / 0.6369 GB, free: 89.97 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.51e-07/1.133, allocations: 0 / 0.6369 GB, free: 89.97 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004064/1.137, allocations: 0.838 MB / 0.6378 GB, free: 89.87 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.003727/1.141, allocations: 7.988 MB / 0.6456 GB, free: 82.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004442/1.145, allocations: 3.175 MB / 0.6487 GB, free: 81.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/1.145, allocations: 0 / 0.6487 GB, free: 81.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007736/1.146, allocations: 0.6747 MB / 0.6493 GB, free: 81.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00221/1.148, allocations: 0.5088 MB / 0.6498 GB, free: 81.47 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3953/1.544, allocations: 112.4 MB / 0.7595 GB, free: 132.1 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00352/1.547, allocations: 3.196 MB / 0.7627 GB, free: 131.1 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004389/1.552, allocations: 1.649 MB / 0.7643 GB, free: 131.1 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002456/1.554, allocations: 1.768 MB / 0.766 GB, free: 129.6 MB / 462.1 MB Notification: Performance of SimCode: time 1.282e-06/1.554, allocations: 0 / 0.766 GB, free: 129.6 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1212/1.675, allocations: 68.93 MB / 0.8333 GB, free: 85.36 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001536/1.675, allocations: 170.8 kB / 0.8335 GB, free: 85.13 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.23/6.906, allocations: 0 / 0.8335 GB, free: 85.13 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/linux/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) Environment - environmentSimulation: