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.001479/0.001479, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.001562/0.001562, allocations: 215 kB / 20.13 MB, free: 2.949 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.355/1.355, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] 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.0302/0.0302, allocations: 6.575 MB / 316.1 MB, free: 1.199 MB / 238.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.001794/0.001794, allocations: 62.28 kB / 439.4 MB, free: 39.41 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08272/0.08451, allocations: 54.82 MB / 494.2 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ElectricCylinder_test): time 0.008646/0.09316, allocations: 11.67 MB / 0.494 GB, free: 15 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008229/0.1014, allocations: 4.432 MB / 0.4984 GB, free: 10.55 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00128/0.1027, allocations: 87.5 kB / 0.4984 GB, free: 10.47 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004225/0.1069, allocations: 2.46 MB / 0.5008 GB, free: 8 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004156/0.111, allocations: 1.971 MB / 0.5028 GB, free: 6.023 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001411/0.1125, allocations: 0.7683 MB / 0.5035 GB, free: 5.254 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00671/0.1192, allocations: 5.645 MB / 0.509 GB, free: 15.6 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003237/0.1224, allocations: 2.926 MB / 0.5119 GB, free: 12.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002252/0.1247, allocations: 1.706 MB / 0.5136 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002826/0.1275, allocations: 2.426 MB / 0.5159 GB, free: 8.473 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005877/0.1281, allocations: 400 kB / 0.5163 GB, free: 8.082 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00181/0.1299, allocations: 1.178 MB / 0.5175 GB, free: 6.902 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00176/0.1316, allocations: 2.014 MB / 0.5194 GB, free: 4.879 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002172/0.1338, allocations: 2.405 MB / 0.5218 GB, free: 2.461 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007869/0.1417, allocations: 7.706 MB / 0.5293 GB, free: 10.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1417, allocations: 0 / 0.5293 GB, free: 10.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1417, allocations: 0 / 0.5293 GB, free: 10.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000148/0.1418, allocations: 0 / 0.5293 GB, free: 10.73 MB / 398.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.0108/0.1526, allocations: 5.094 MB / 0.5343 GB, free: 5.555 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.1527, allocations: 8.031 kB / 0.5343 GB, free: 5.547 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001053/0.1528, allocations: 93.81 kB / 0.5344 GB, free: 5.453 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008502/0.1536, allocations: 0.6247 MB / 0.535 GB, free: 4.816 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09932/0.253, allocations: 9.279 MB / 0.544 GB, free: 11.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008724/0.2617, allocations: 4.08 MB / 0.548 GB, free: 7.387 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001779/0.2619, allocations: 221.4 kB / 0.5482 GB, free: 7.168 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007285/0.2626, allocations: 295.8 kB / 0.5485 GB, free: 6.879 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.013/0.2756, allocations: 8.376 MB / 0.5567 GB, free: 13.88 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000129/0.2757, allocations: 47.64 kB / 0.5567 GB, free: 13.83 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003781/0.2761, allocations: 135.9 kB / 0.5569 GB, free: 13.7 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002322/0.2784, allocations: 1.564 MB / 0.5584 GB, free: 12.14 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0122/0.2906, allocations: 6.63 MB / 0.5649 GB, free: 5.5 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2307/0.5213, allocations: 32.73 MB / 0.5968 GB, free: 68.52 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003968/0.5253, allocations: 2.075 MB / 0.5989 GB, free: 67.87 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009321/0.5262, allocations: 0.6182 MB / 0.5995 GB, free: 67.84 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004441/0.5306, allocations: 3.078 MB / 0.6025 GB, free: 66.51 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.07e-05/0.5307, allocations: 45 kB / 0.6025 GB, free: 66.47 MB / 446.1 MB Notification: Performance of pre-optimization done (n=114): time 3.045e-06/0.5307, allocations: 0 / 0.6025 GB, free: 66.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=134): time 0.01515/0.5458, allocations: 7.84 MB / 0.6102 GB, free: 63.32 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.26e-05/0.5459, allocations: 271.1 kB / 0.6104 GB, free: 63.01 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004592/0.5505, allocations: 4.135 MB / 0.6145 GB, free: 61.54 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001412/0.5507, allocations: 44.95 kB / 0.6145 GB, free: 61.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001331/0.552, allocations: 3.076 MB / 0.6175 GB, free: 59.33 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003678/0.5524, allocations: 0.5572 MB / 0.6181 GB, free: 58.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008911/0.5532, allocations: 1.046 MB / 0.6191 GB, free: 58.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.974e-05/0.5533, allocations: 305.1 kB / 0.6194 GB, free: 58.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001531/0.5548, allocations: 1.378 MB / 0.6207 GB, free: 57.53 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002488/0.5573, allocations: 4.747 MB / 0.6254 GB, free: 52.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004503/0.5618, allocations: 6.68 MB / 0.6319 GB, free: 45.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.174e-05/0.5619, allocations: 36 kB / 0.6319 GB, free: 45.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=676) (initialization): time 0.007316/0.5692, allocations: 5.929 MB / 0.6377 GB, free: 39.15 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.692e-05/0.5693, allocations: 56 kB / 0.6378 GB, free: 39.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.492e-05/0.5693, allocations: 116 kB / 0.6379 GB, free: 38.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001056/0.5694, allocations: 156.7 kB / 0.638 GB, free: 38.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0028/0.5722, allocations: 1.22 MB / 0.6392 GB, free: 37.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000101/0.5723, allocations: 231.1 kB / 0.6394 GB, free: 37.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003027/0.5754, allocations: 255.9 kB / 0.6397 GB, free: 37.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003257/0.5757, allocations: 324 kB / 0.64 GB, free: 36.81 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.002147/0.5778, allocations: 2.026 MB / 0.642 GB, free: 34.78 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005461/0.5784, allocations: 361.6 kB / 0.6423 GB, free: 34.42 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000602/0.579, allocations: 398 kB / 0.6427 GB, free: 34.03 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.916e-05/0.579, allocations: 16 kB / 0.6427 GB, free: 34.01 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.53e-05/0.579, allocations: 4 kB / 0.6427 GB, free: 34.01 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.579, allocations: 11.97 kB / 0.6427 GB, free: 34 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.006371/0.5854, allocations: 5.314 MB / 0.6479 GB, free: 28.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.399e-05/0.5854, allocations: 12 kB / 0.6479 GB, free: 28.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007391/0.5862, allocations: 231.6 kB / 0.6481 GB, free: 28.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-05/0.5862, allocations: 16 kB / 0.6482 GB, free: 28.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.463e-05/0.5862, allocations: 50.48 kB / 0.6482 GB, free: 28.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.216e-05/0.5863, allocations: 19.94 kB / 0.6482 GB, free: 28.13 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-06/0.5863, allocations: 19.94 kB / 0.6482 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002501/0.5888, allocations: 2.925 MB / 0.6511 GB, free: 25.01 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008964/0.5897, allocations: 0.5375 MB / 0.6516 GB, free: 24.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003013/0.59, allocations: 47.2 kB / 0.6517 GB, free: 24.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/0.591, allocations: 51.97 kB / 0.6517 GB, free: 24.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/0.5911, allocations: 115.6 kB / 0.6518 GB, free: 24.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.276e-05/0.5912, allocations: 52 kB / 0.6519 GB, free: 24.19 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002973/0.5941, allocations: 2.622 MB / 0.6544 GB, free: 21.56 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5941, allocations: 0 / 0.6544 GB, free: 21.56 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003813/0.5979, allocations: 0.8046 MB / 0.6552 GB, free: 20.75 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.002836/0.6008, allocations: 3.563 MB / 0.6587 GB, free: 17 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003856/0.6046, allocations: 3.117 MB / 0.6617 GB, free: 13.92 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/0.6047, allocations: 1.812 kB / 0.6617 GB, free: 13.92 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006998/0.6054, allocations: 0.6265 MB / 0.6624 GB, free: 13.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002854/0.6082, allocations: 0.5557 MB / 0.6629 GB, free: 12.78 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05083/0.659, allocations: 38.71 MB / 0.7007 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003623/0.6627, allocations: 3.112 MB / 0.7037 GB, free: 13.62 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00367/0.6663, allocations: 1.635 MB / 0.7053 GB, free: 11.98 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002364/0.6687, allocations: 1.761 MB / 0.7071 GB, free: 10.22 MB / 494.1 MB Notification: Performance of SimCode: time 1.223e-06/0.6687, allocations: 4 kB / 0.7071 GB, free: 10.22 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1045/0.7732, allocations: 61.85 MB / 0.7675 GB, free: 12.73 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.29/17.06, allocations: 2.344 kB / 0.7675 GB, free: 12.73 MB / 0.545 GB " [Timeout remaining time 643] (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: 20.18228090798948] Failed to read output from testmodel.py, exit status != 0: 17.221562396967784 17.235320708 17.090845401 Calling exit ...