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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001886/0.001886, allocations: 108.7 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002151/0.002151, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 225.6 MB / 247.8 MB, free: 13.94 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.03227/0.03227, allocations: 6.581 MB / 309.3 MB, free: 3.34 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.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 71.89 kB / 430.2 MB, free: 17.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.106, allocations: 53.65 MB / 483.8 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ElectricCylinder_test): time 0.01419/0.1202, allocations: 11.68 MB / 495.5 MB, free: 208 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009768/0.1299, allocations: 4.393 MB / 499.9 MB, free: 11.8 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002194/0.1321, allocations: 71.75 kB / 500 MB, free: 11.73 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005091/0.1372, allocations: 2.472 MB / 0.4907 GB, free: 9.246 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005915/0.1431, allocations: 2.011 MB / 0.4926 GB, free: 7.23 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001988/0.1451, allocations: 0.7488 MB / 0.4934 GB, free: 6.48 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008943/0.1541, allocations: 5.555 MB / 0.4988 GB, free: 0.9141 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004476/0.1585, allocations: 2.954 MB / 0.5017 GB, free: 13.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003516/0.1621, allocations: 1.682 MB / 0.5033 GB, free: 12.22 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004076/0.1661, allocations: 2.426 MB / 0.5057 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009228/0.1671, allocations: 400 kB / 0.5061 GB, free: 9.395 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002357/0.1694, allocations: 1.202 MB / 0.5072 GB, free: 8.191 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002182/0.1716, allocations: 2.03 MB / 0.5092 GB, free: 6.156 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003154/0.1748, allocations: 2.409 MB / 0.5116 GB, free: 3.734 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2622/0.4369, allocations: 7.759 MB / 0.5192 GB, free: 16.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.4369, allocations: 0 / 0.5192 GB, free: 16.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.797e-06/0.4369, allocations: 1.125 kB / 0.5192 GB, free: 16.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000332/0.4373, allocations: 3.609 kB / 0.5192 GB, free: 16.41 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.01762/0.4549, allocations: 5.111 MB / 0.5242 GB, free: 14.35 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.4549, allocations: 9.969 kB / 0.5242 GB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002109/0.457, allocations: 0.6324 MB / 0.5248 GB, free: 14.28 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08931/0.5463, allocations: 9.269 MB / 0.5338 GB, free: 13.83 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01079/0.5571, allocations: 4.295 MB / 0.538 GB, free: 12.37 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002574/0.5574, allocations: 214.7 kB / 0.5382 GB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001514/0.5589, allocations: 300.9 kB / 0.5385 GB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01225/0.5712, allocations: 8.38 MB / 0.5467 GB, free: 7.086 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001454/0.5713, allocations: 48.34 kB / 0.5468 GB, free: 7.074 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000371/0.5717, allocations: 135.7 kB / 0.5469 GB, free: 7.008 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001861/0.5735, allocations: 1.555 MB / 0.5484 GB, free: 6.422 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01054/0.5841, allocations: 6.64 MB / 0.5549 GB, free: 304 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0458/0.6299, allocations: 32.73 MB / 0.5868 GB, free: 14.96 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004431/0.6343, allocations: 2.082 MB / 0.5889 GB, free: 12.76 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001008/0.6353, allocations: 0.612 MB / 0.5895 GB, free: 12.14 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006338/0.6416, allocations: 3.076 MB / 0.5925 GB, free: 8.934 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.018e-05/0.6417, allocations: 47.12 kB / 0.5925 GB, free: 8.879 MB / 430.1 MB Notification: Performance of pre-optimization done (n=114): time 4.278e-06/0.6417, allocations: 0 / 0.5925 GB, free: 8.879 MB / 430.1 MB Notification: Performance of matching and sorting (n=134): time 0.01757/0.6593, allocations: 7.836 MB / 0.6002 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001858/0.6595, allocations: 277.6 kB / 0.6004 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006265/0.6657, allocations: 4.131 MB / 0.6045 GB, free: 12.51 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001948/0.6659, allocations: 53.7 kB / 0.6045 GB, free: 12.45 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002599/0.6685, allocations: 3.077 MB / 0.6075 GB, free: 9.402 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005861/0.6691, allocations: 0.5523 MB / 0.6081 GB, free: 8.855 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001257/0.6704, allocations: 1.047 MB / 0.6091 GB, free: 7.801 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.6705, allocations: 303.9 kB / 0.6094 GB, free: 7.504 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002051/0.6725, allocations: 1.379 MB / 0.6107 GB, free: 6.121 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004819/0.6774, allocations: 4.754 MB / 0.6154 GB, free: 15.72 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007925/0.6853, allocations: 6.679 MB / 0.6219 GB, free: 7.879 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.818e-05/0.6854, allocations: 40 kB / 0.6219 GB, free: 7.84 MB / 462.1 MB Notification: Performance of matching and sorting (n=676) (initialization): time 0.01072/0.6961, allocations: 5.906 MB / 0.6277 GB, free: 2.379 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001239/0.6962, allocations: 56 kB / 0.6278 GB, free: 2.324 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002/0.6964, allocations: 121.8 kB / 0.6279 GB, free: 2.207 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001921/0.6966, allocations: 156 kB / 0.628 GB, free: 2.055 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003695/0.7003, allocations: 1.228 MB / 0.6292 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002291/0.7005, allocations: 231.1 kB / 0.6294 GB, free: 0.5977 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003663/0.7042, allocations: 255.8 kB / 0.6297 GB, free: 356 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006185/0.7048, allocations: 320 kB / 0.63 GB, free: 36 kB / 462.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.003919/0.7087, allocations: 2.026 MB / 0.632 GB, free: 14 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009289/0.7097, allocations: 365.6 kB / 0.6323 GB, free: 13.64 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001172/0.7108, allocations: 402.2 kB / 0.6327 GB, free: 13.24 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.565e-05/0.7109, allocations: 19.94 kB / 0.6327 GB, free: 13.22 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/0.7109, allocations: 4 kB / 0.6327 GB, free: 13.22 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.505e-05/0.7109, allocations: 7.984 kB / 0.6327 GB, free: 13.21 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.01209/0.723, allocations: 5.304 MB / 0.6379 GB, free: 7.68 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.021e-05/0.723, allocations: 12 kB / 0.6379 GB, free: 7.668 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009211/0.7239, allocations: 235.6 kB / 0.6381 GB, free: 7.438 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.801e-05/0.724, allocations: 16 kB / 0.6382 GB, free: 7.422 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001082/0.7241, allocations: 45.73 kB / 0.6382 GB, free: 7.379 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-05/0.7241, allocations: 23.88 kB / 0.6382 GB, free: 7.355 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.534e-05/0.7241, allocations: 19.94 kB / 0.6382 GB, free: 7.336 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004487/0.7286, allocations: 2.919 MB / 0.6411 GB, free: 4.234 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001785/0.7304, allocations: 0.5414 MB / 0.6416 GB, free: 3.672 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001027/0.7314, allocations: 36 kB / 0.6417 GB, free: 3.637 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001265/0.7327, allocations: 60.05 kB / 0.6417 GB, free: 3.578 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000185/0.7329, allocations: 115.6 kB / 0.6418 GB, free: 3.465 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.432e-05/0.733, allocations: 58.33 kB / 0.6419 GB, free: 3.41 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004562/0.7375, allocations: 2.626 MB / 0.6445 GB, free: 0.7734 MB / 478.1 MB Notification: Performance of sort global known variables: time 6e-08/0.7375, allocations: 0 / 0.6445 GB, free: 0.7734 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00524/0.7428, allocations: 0.8125 MB / 0.6452 GB, free: 15.96 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.004812/0.7476, allocations: 3.577 MB / 0.6487 GB, free: 12.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005693/0.7533, allocations: 3.12 MB / 0.6518 GB, free: 9.117 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/0.7533, allocations: 0 / 0.6518 GB, free: 9.117 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009689/0.7542, allocations: 0.6261 MB / 0.6524 GB, free: 8.496 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004161/0.7584, allocations: 0.5588 MB / 0.6529 GB, free: 7.957 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07514/0.8335, allocations: 38.72 MB / 0.6908 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00514/0.8387, allocations: 3.114 MB / 0.6938 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004003/0.8427, allocations: 1.639 MB / 0.6954 GB, free: 7.137 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002554/0.8452, allocations: 1.757 MB / 0.6971 GB, free: 5.379 MB / 0.5294 GB Notification: Performance of SimCode: time 1.312e-06/0.8452, allocations: 5.422 kB / 0.6971 GB, free: 5.375 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3309/1.176, allocations: 61.86 MB / 0.7575 GB, free: 178.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.16/18.34, allocations: 11.78 kB / 0.7575 GB, free: 178.8 MB / 0.545 GB " [Timeout remaining time 642] (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: 21.34213479142636] Failed to read output from testmodel.py, exit status != 0: 18.447883212007582 18.458066873 18.018745308 Calling exit ...