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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 97.88 kB / 19.73 MB, free: 2.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001547/0.001547, allocations: 214.6 kB / 23.03 MB, free: 4.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.307/1.307, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.03119/0.03119, allocations: 6.575 MB / 319.8 MB, free: 12.43 MB / 254.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(StewartPlatform.Tests.ElectricCylinder_test,fileNamePrefix="StewartPlatform_StewartPlatform_Tests_ElectricCylinder_test",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(StewartPlatform.Tests.ElectricCylinder_test,fileNamePrefix="StewartPlatform_StewartPlatform_Tests_ElectricCylinder_test",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: StewartPlatform requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001752/0.001752, allocations: 67.89 kB / 444.6 MB, free: 4.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09171/0.09346, allocations: 54.85 MB / 499.4 MB, free: 13.93 MB / 366.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ElectricCylinder_test): time 0.01138/0.1048, allocations: 10.19 MB / 0.4977 GB, free: 3.691 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007588/0.1124, allocations: 4.191 MB / 0.5018 GB, free: 15.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009804/0.1134, allocations: 87.5 kB / 0.5019 GB, free: 15.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004127/0.1175, allocations: 2.355 MB / 0.5042 GB, free: 13.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003826/0.1214, allocations: 1.985 MB / 0.5061 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001322/0.1227, allocations: 0.7645 MB / 0.5069 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006605/0.1293, allocations: 5.655 MB / 0.5124 GB, free: 4.617 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003196/0.1325, allocations: 2.909 MB / 0.5152 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1891/0.3216, allocations: 1.704 MB / 0.5169 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003538/0.3251, allocations: 2.421 MB / 0.5192 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000825/0.326, allocations: 397.4 kB / 0.5196 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001979/0.3279, allocations: 1.059 MB / 0.5207 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00178/0.3297, allocations: 2.016 MB / 0.5226 GB, free: 9.969 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001785/0.3315, allocations: 1.815 MB / 0.5244 GB, free: 9.406 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007999/0.3395, allocations: 7.745 MB / 0.532 GB, free: 8.371 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3395, allocations: 0 / 0.532 GB, free: 8.371 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3395, allocations: 0 / 0.532 GB, free: 8.371 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001695/0.3397, allocations: 1.562 kB / 0.532 GB, free: 8.371 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.0104/0.3501, allocations: 5.005 MB / 0.5369 GB, free: 6.402 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.3501, allocations: 13.75 kB / 0.5369 GB, free: 6.402 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001342/0.3503, allocations: 92.31 kB / 0.537 GB, free: 6.395 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007513/0.351, allocations: 0.6314 MB / 0.5376 GB, free: 6.324 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0862/0.4372, allocations: 9.268 MB / 0.5466 GB, free: 3.312 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008406/0.4456, allocations: 4.029 MB / 0.5506 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001196/0.4457, allocations: 210.7 kB / 0.5508 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007444/0.4465, allocations: 296.1 kB / 0.551 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01216/0.4586, allocations: 8.534 MB / 0.5594 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001134/0.4588, allocations: 47.97 kB / 0.5594 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003536/0.4591, allocations: 140.2 kB / 0.5596 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002216/0.4613, allocations: 1.56 MB / 0.5611 GB, free: 8.344 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0114/0.4727, allocations: 6.63 MB / 0.5676 GB, free: 1.871 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03604/0.5088, allocations: 30.82 MB / 0.5976 GB, free: 2.543 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003795/0.5126, allocations: 1.624 MB / 0.5992 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008626/0.5134, allocations: 0.6126 MB / 0.5998 GB, free: 292 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004243/0.5177, allocations: 2.385 MB / 0.6022 GB, free: 13.89 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.508e-05/0.5177, allocations: 47.06 kB / 0.6022 GB, free: 13.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=114): time 3.636e-06/0.5177, allocations: 2.812 kB / 0.6022 GB, free: 13.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=134): time 0.01545/0.5332, allocations: 7.685 MB / 0.6097 GB, free: 6.121 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001513/0.5333, allocations: 272.7 kB / 0.61 GB, free: 5.793 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005721/0.539, allocations: 4.129 MB / 0.614 GB, free: 1.641 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001082/0.5392, allocations: 45.7 kB / 0.6141 GB, free: 1.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002208/0.5414, allocations: 3.072 MB / 0.6171 GB, free: 14.52 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000492/0.5419, allocations: 0.5539 MB / 0.6176 GB, free: 13.97 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001264/0.5431, allocations: 1.05 MB / 0.6186 GB, free: 12.92 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.5432, allocations: 305.1 kB / 0.6189 GB, free: 12.62 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001916/0.5451, allocations: 1.382 MB / 0.6203 GB, free: 11.23 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004416/0.5496, allocations: 4.877 MB / 0.625 GB, free: 4.676 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007004/0.5566, allocations: 6.686 MB / 0.6316 GB, free: 12.82 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.236e-05/0.5566, allocations: 32 kB / 0.6316 GB, free: 12.79 MB / 478.1 MB Notification: Performance of matching and sorting (n=676) (initialization): time 0.008603/0.5652, allocations: 5.917 MB / 0.6374 GB, free: 7.047 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.087e-05/0.5653, allocations: 56 kB / 0.6374 GB, free: 6.992 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000109/0.5654, allocations: 120 kB / 0.6375 GB, free: 6.875 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000145/0.5656, allocations: 163.7 kB / 0.6377 GB, free: 6.719 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003103/0.5687, allocations: 1.225 MB / 0.6389 GB, free: 5.492 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001737/0.5688, allocations: 234.5 kB / 0.6391 GB, free: 5.266 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002936/0.5718, allocations: 251.7 kB / 0.6393 GB, free: 5.02 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003701/0.5721, allocations: 320 kB / 0.6396 GB, free: 4.707 MB / 478.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.002943/0.5751, allocations: 2.024 MB / 0.6416 GB, free: 2.672 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005888/0.5757, allocations: 369.5 kB / 0.642 GB, free: 2.309 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006941/0.5764, allocations: 402.2 kB / 0.6424 GB, free: 1.906 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.39e-05/0.5764, allocations: 18.53 kB / 0.6424 GB, free: 1.891 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.5764, allocations: 0 / 0.6424 GB, free: 1.891 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/0.5764, allocations: 11.97 kB / 0.6424 GB, free: 1.879 MB / 478.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.007763/0.5842, allocations: 4.944 MB / 0.6472 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.799e-05/0.5842, allocations: 16.94 kB / 0.6472 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008238/0.585, allocations: 239.6 kB / 0.6475 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.22e-05/0.585, allocations: 20 kB / 0.6475 GB, free: 12.47 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.028e-05/0.5851, allocations: 32 kB / 0.6475 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-05/0.5851, allocations: 27.92 kB / 0.6475 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-05/0.5851, allocations: 15.94 kB / 0.6476 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003443/0.5886, allocations: 2.925 MB / 0.6504 GB, free: 9.289 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001042/0.5896, allocations: 477.3 kB / 0.6509 GB, free: 8.82 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003346/0.59, allocations: 39.11 kB / 0.6509 GB, free: 8.785 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009922/0.591, allocations: 55.95 kB / 0.651 GB, free: 8.73 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001581/0.5911, allocations: 115.5 kB / 0.6511 GB, free: 8.617 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.93e-05/0.5912, allocations: 56.06 kB / 0.6511 GB, free: 8.562 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003798/0.595, allocations: 2.63 MB / 0.6537 GB, free: 5.922 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.595, allocations: 3.938 kB / 0.6537 GB, free: 5.918 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003596/0.5986, allocations: 0.7968 MB / 0.6545 GB, free: 5.121 MB / 494.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.003732/0.6023, allocations: 3.567 MB / 0.658 GB, free: 1.371 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004613/0.6069, allocations: 3.125 MB / 0.661 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.74e-06/0.6069, allocations: 0 / 0.661 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008372/0.6078, allocations: 0.6153 MB / 0.6616 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002587/0.6104, allocations: 0.541 MB / 0.6621 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0505/0.6609, allocations: 38.72 MB / 0.6999 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00327/0.6641, allocations: 2.564 MB / 0.7024 GB, free: 14.52 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003529/0.6677, allocations: 1.639 MB / 0.7041 GB, free: 12.87 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002142/0.6698, allocations: 1.765 MB / 0.7058 GB, free: 11.11 MB / 0.545 GB Notification: Performance of SimCode: time 8.22e-07/0.6698, allocations: 0 / 0.7058 GB, free: 11.11 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2814/0.9512, allocations: 63.95 MB / 0.7682 GB, free: 189.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.54/19.49, allocations: 8.938 kB / 0.7682 GB, free: 189.8 MB / 0.5606 GB " [Timeout remaining time 640] (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 --stepSize=0.002 --timeout=50 --tolerance=1e-06 StewartPlatform_StewartPlatform_Tests_ElectricCylinder_test.fmu > StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.452527471003123] Failed to read output from testmodel.py, exit status != 0: 19.686482979916036 19.69601957 19.354400321 Calling exit ...