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.001177/0.001177, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001195/0.001195, allocations: 193.6 kB / 16.25 MB, free: 6.629 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.218/1.218, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.117/0.117, allocations: 6.484 MB / 296.5 MB, free: 2.645 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 63.89 kB / 358.3 MB, free: 492 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08161/0.0828, allocations: 50.86 MB / 409.2 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ElectricCylinder_test): time 0.1695/0.2524, allocations: 39.57 MB / 448.8 MB, free: 23.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01566/0.2681, allocations: 9.203 MB / 458 MB, free: 17.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006395/0.2745, allocations: 176.6 kB / 458.1 MB, free: 17.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0036/0.2782, allocations: 2.333 MB / 460.5 MB, free: 16.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003618/0.2818, allocations: 1.822 MB / 462.3 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001142/0.283, allocations: 0.7112 MB / 463 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005029/0.288, allocations: 5.94 MB / 468.9 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002832/0.2908, allocations: 3.703 MB / 472.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002051/0.2929, allocations: 1.698 MB / 474.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00264/0.2956, allocations: 2.5 MB / 476.8 MB, free: 9.977 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006076/0.2962, allocations: 404.2 kB / 477.2 MB, free: 9.973 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001715/0.2979, allocations: 1.181 MB / 478.4 MB, free: 9.754 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001393/0.2993, allocations: 1.991 MB / 480.4 MB, free: 9 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001919/0.3012, allocations: 2.433 MB / 482.8 MB, free: 7.297 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007688/0.3089, allocations: 7.571 MB / 490.4 MB, free: 4.539 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.309, allocations: 0 / 490.4 MB, free: 4.539 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.309, allocations: 0 / 490.4 MB, free: 4.539 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001812/0.3092, allocations: 3.938 kB / 490.4 MB, free: 4.535 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.01165/0.3208, allocations: 4.988 MB / 495.4 MB, free: 1.301 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.3209, allocations: 10.28 kB / 495.4 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009949/0.3219, allocations: 0.6275 MB / 496 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09364/0.4155, allocations: 9.245 MB / 0.4934 GB, free: 9.73 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00848/0.424, allocations: 4.211 MB / 0.4976 GB, free: 5.461 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001448/0.4242, allocations: 217.8 kB / 0.4978 GB, free: 5.246 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006677/0.4249, allocations: 299.6 kB / 0.4981 GB, free: 4.953 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01214/0.437, allocations: 8.38 MB / 0.5062 GB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00011/0.4372, allocations: 43.66 kB / 0.5063 GB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003475/0.4375, allocations: 135.9 kB / 0.5064 GB, free: 11.78 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002086/0.4396, allocations: 1.56 MB / 0.5079 GB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01085/0.4505, allocations: 6.634 MB / 0.5144 GB, free: 3.574 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03645/0.487, allocations: 32.81 MB / 0.5465 GB, free: 1.691 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003739/0.4908, allocations: 2.153 MB / 0.5486 GB, free: 15.39 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008274/0.4916, allocations: 0.6707 MB / 0.5492 GB, free: 14.71 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004357/0.496, allocations: 3.066 MB / 0.5522 GB, free: 11.5 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.496, allocations: 51.06 kB / 0.5523 GB, free: 11.45 MB / 430.1 MB Notification: Performance of pre-optimization done (n=114): time 3.326e-06/0.496, allocations: 0 / 0.5523 GB, free: 11.45 MB / 430.1 MB Notification: Performance of matching and sorting (n=134): time 0.01654/0.5126, allocations: 7.607 MB / 0.5597 GB, free: 3.719 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001696/0.5128, allocations: 281.6 kB / 0.56 GB, free: 3.379 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006292/0.5191, allocations: 4.121 MB / 0.564 GB, free: 15.23 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000292/0.5194, allocations: 49.69 kB / 0.564 GB, free: 15.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002242/0.5217, allocations: 2.969 MB / 0.5669 GB, free: 12.17 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006729/0.5224, allocations: 0.5325 MB / 0.5674 GB, free: 11.63 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001393/0.5238, allocations: 1.035 MB / 0.5685 GB, free: 10.58 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.5239, allocations: 301.1 kB / 0.5687 GB, free: 10.29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001929/0.5259, allocations: 1.38 MB / 0.5701 GB, free: 8.898 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004129/0.53, allocations: 4.748 MB / 0.5747 GB, free: 2.445 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1579/0.6879, allocations: 6.668 MB / 0.5812 GB, free: 120.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.527e-05/0.6881, allocations: 33.16 kB / 0.5813 GB, free: 120.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=676) (initialization): time 0.00763/0.6957, allocations: 5.894 MB / 0.587 GB, free: 119.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.416e-05/0.6958, allocations: 56.34 kB / 0.5871 GB, free: 119.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.064e-05/0.6959, allocations: 120 kB / 0.5872 GB, free: 119.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001057/0.696, allocations: 159.5 kB / 0.5873 GB, free: 119.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002648/0.6986, allocations: 1.23 MB / 0.5885 GB, free: 119.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001085/0.6988, allocations: 232 kB / 0.5888 GB, free: 119.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002765/0.7015, allocations: 254.3 kB / 0.589 GB, free: 119.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002655/0.7018, allocations: 321.4 kB / 0.5893 GB, free: 119 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.002218/0.704, allocations: 2.023 MB / 0.5913 GB, free: 118.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004236/0.7045, allocations: 345.2 kB / 0.5916 GB, free: 118.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005028/0.705, allocations: 407 kB / 0.592 GB, free: 117.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.715e-05/0.705, allocations: 13.41 kB / 0.592 GB, free: 117.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/0.705, allocations: 0 / 0.592 GB, free: 117.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.705, allocations: 6.797 kB / 0.592 GB, free: 117.9 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.005706/0.7107, allocations: 5.317 MB / 0.5972 GB, free: 115.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.086e-05/0.7107, allocations: 9.688 kB / 0.5972 GB, free: 115.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006791/0.7114, allocations: 240.3 kB / 0.5975 GB, free: 115.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.28e-05/0.7115, allocations: 19.06 kB / 0.5975 GB, free: 115.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.807e-05/0.7115, allocations: 37.88 kB / 0.5975 GB, free: 115.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-05/0.7115, allocations: 26.69 kB / 0.5975 GB, free: 115.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.246e-06/0.7115, allocations: 21.38 kB / 0.5976 GB, free: 115.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002191/0.7137, allocations: 2.895 MB / 0.6004 GB, free: 113.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000711/0.7145, allocations: 0.5201 MB / 0.6009 GB, free: 113.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003083/0.7148, allocations: 48.58 kB / 0.6009 GB, free: 113.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000967/0.7158, allocations: 55.08 kB / 0.601 GB, free: 113.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/0.7159, allocations: 111.4 kB / 0.6011 GB, free: 113.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.066e-05/0.716, allocations: 56.36 kB / 0.6012 GB, free: 113.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002949/0.7189, allocations: 2.625 MB / 0.6037 GB, free: 112.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.7189, allocations: 4 kB / 0.6037 GB, free: 112.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00379/0.7227, allocations: 0.813 MB / 0.6045 GB, free: 112.4 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.002873/0.7256, allocations: 3.552 MB / 0.608 GB, free: 110.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004475/0.7301, allocations: 3.346 MB / 0.6113 GB, free: 109 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-05/0.7301, allocations: 2.344 kB / 0.6113 GB, free: 109 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007921/0.7309, allocations: 0.6614 MB / 0.6119 GB, free: 108.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002924/0.7339, allocations: 0.5509 MB / 0.6124 GB, free: 108.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06032/0.7942, allocations: 46.08 MB / 0.6574 GB, free: 67.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002783/0.797, allocations: 3.116 MB / 0.6605 GB, free: 65.09 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003578/0.8006, allocations: 1.63 MB / 0.6621 GB, free: 64.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001773/0.8024, allocations: 1.769 MB / 0.6638 GB, free: 62.41 MB / 446.1 MB Notification: Performance of SimCode: time 9.52e-07/0.8024, allocations: 0 / 0.6638 GB, free: 62.41 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07872/0.8811, allocations: 64.51 MB / 0.7268 GB, free: 380 kB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001362/0.8813, allocations: 194.8 kB / 0.727 GB, free: 120 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.289/4.171, allocations: 0 / 0.727 GB, free: 120 kB / 446.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)