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.001577/0.001577, allocations: 80.22 kB / 19 MB, free: 2.867 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.002155/0.002155, allocations: 156.7 kB / 22.25 MB, free: 5.133 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.523/1.523, allocations: 177.2 MB / 202.6 MB, free: 9.266 MB / 190.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.03297/0.03297, allocations: 5.067 MB / 264.1 MB, free: 11.85 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="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: 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.002487/0.002487, allocations: 73.3 kB / 388.9 MB, free: 13.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1608, allocations: 54.84 MB / 443.7 MB, free: 6.457 MB / 366.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ElectricCylinder_test): time 0.3944/0.5552, allocations: 10.23 MB / 453.9 MB, free: 13.45 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01117/0.5664, allocations: 4.197 MB / 458.1 MB, free: 11.25 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00297/0.5693, allocations: 87.75 kB / 458.2 MB, free: 11.21 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005722/0.5751, allocations: 2.475 MB / 460.7 MB, free: 10.16 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008124/0.5832, allocations: 1.998 MB / 462.7 MB, free: 9.223 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002724/0.5859, allocations: 0.8517 MB / 463.5 MB, free: 8.828 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01094/0.5968, allocations: 5.664 MB / 469.2 MB, free: 6.605 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004528/0.6014, allocations: 2.881 MB / 472.1 MB, free: 4.91 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004631/0.606, allocations: 2.406 MB / 474.5 MB, free: 3.34 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004276/0.6103, allocations: 2.291 MB / 476.8 MB, free: 1.965 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001153/0.6114, allocations: 399.3 kB / 477.2 MB, free: 1.965 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002569/0.614, allocations: 1.05 MB / 478.2 MB, free: 1.629 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002001/0.616, allocations: 2.012 MB / 480.2 MB, free: 408 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002497/0.6185, allocations: 1.822 MB / 482.1 MB, free: 15.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01138/0.6299, allocations: 7.75 MB / 489.8 MB, free: 8.902 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.6299, allocations: 0 / 489.8 MB, free: 8.902 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.6299, allocations: 0 / 489.8 MB, free: 8.902 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003096/0.6302, allocations: 0 / 489.8 MB, free: 8.902 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.01664/0.6468, allocations: 5.03 MB / 494.8 MB, free: 3.812 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.926e-05/0.6469, allocations: 12.03 kB / 494.9 MB, free: 3.801 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001301/0.6482, allocations: 0.6247 MB / 495.5 MB, free: 3.164 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08626/0.7345, allocations: 9.709 MB / 0.4933 GB, free: 9.441 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01195/0.7464, allocations: 4.02 MB / 0.4973 GB, free: 5.371 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002062/0.7466, allocations: 217.9 kB / 0.4975 GB, free: 5.156 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009826/0.7476, allocations: 295.7 kB / 0.4978 GB, free: 4.867 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01513/0.7627, allocations: 8.542 MB / 0.5061 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001521/0.7629, allocations: 49.89 kB / 0.5062 GB, free: 11.62 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003944/0.7633, allocations: 143.2 kB / 0.5063 GB, free: 11.48 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002338/0.7656, allocations: 1.56 MB / 0.5078 GB, free: 9.922 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01476/0.7804, allocations: 6.63 MB / 0.5143 GB, free: 3.285 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04637/0.8267, allocations: 30.92 MB / 0.5445 GB, free: 3.406 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004219/0.831, allocations: 1.681 MB / 0.5461 GB, free: 1.691 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009645/0.8319, allocations: 0.6133 MB / 0.5467 GB, free: 1.07 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005943/0.8379, allocations: 2.411 MB / 0.5491 GB, free: 14.63 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.225e-05/0.838, allocations: 47 kB / 0.5491 GB, free: 14.57 MB / 462.1 MB Notification: Performance of pre-optimization done (n=114): time 5.962e-06/0.838, allocations: 4 kB / 0.5491 GB, free: 14.57 MB / 462.1 MB Notification: Performance of matching and sorting (n=134): time 0.02162/0.8596, allocations: 7.932 MB / 0.5569 GB, free: 6.57 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002197/0.8598, allocations: 273.6 kB / 0.5571 GB, free: 6.242 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007153/0.867, allocations: 4.33 MB / 0.5614 GB, free: 1.887 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003061/0.8673, allocations: 41.7 kB / 0.5614 GB, free: 1.84 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003222/0.8705, allocations: 3.075 MB / 0.5644 GB, free: 14.73 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008946/0.8714, allocations: 0.5545 MB / 0.565 GB, free: 14.17 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001584/0.873, allocations: 1.048 MB / 0.566 GB, free: 13.11 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.8731, allocations: 305.1 kB / 0.5663 GB, free: 12.81 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002191/0.8753, allocations: 1.373 MB / 0.5676 GB, free: 11.43 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005553/0.8809, allocations: 4.878 MB / 0.5724 GB, free: 4.82 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01017/0.891, allocations: 6.68 MB / 0.5789 GB, free: 12.47 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002123/0.8912, allocations: 32 kB / 0.5789 GB, free: 12.44 MB / 494.1 MB Notification: Performance of matching and sorting (n=676) (initialization): time 0.01479/0.906, allocations: 5.909 MB / 0.5847 GB, free: 6.527 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.00012/0.9062, allocations: 62.95 kB / 0.5848 GB, free: 6.469 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001872/0.9063, allocations: 120.1 kB / 0.5849 GB, free: 6.352 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001833/0.9065, allocations: 159.8 kB / 0.585 GB, free: 6.199 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004285/0.9108, allocations: 1.225 MB / 0.5862 GB, free: 4.973 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002277/0.911, allocations: 231.1 kB / 0.5864 GB, free: 4.746 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00444/0.9155, allocations: 251.7 kB / 0.5867 GB, free: 4.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006498/0.9161, allocations: 323.9 kB / 0.587 GB, free: 4.184 MB / 494.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.004208/0.9203, allocations: 2.033 MB / 0.589 GB, free: 2.137 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009744/0.9213, allocations: 365.5 kB / 0.5893 GB, free: 1.777 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009269/0.9222, allocations: 402.2 kB / 0.5897 GB, free: 1.375 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.708e-05/0.9223, allocations: 16 kB / 0.5897 GB, free: 1.359 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.8e-05/0.9223, allocations: 4 kB / 0.5897 GB, free: 1.355 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.287e-05/0.9223, allocations: 7.969 kB / 0.5897 GB, free: 1.348 MB / 494.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.01096/0.9333, allocations: 4.977 MB / 0.5946 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.446e-05/0.9333, allocations: 12 kB / 0.5946 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009163/0.9342, allocations: 231.6 kB / 0.5948 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.346e-05/0.9342, allocations: 20 kB / 0.5948 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.489e-05/0.9343, allocations: 36 kB / 0.5949 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-05/0.9343, allocations: 27.92 kB / 0.5949 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.77e-05/0.9344, allocations: 15.94 kB / 0.5949 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004495/0.9388, allocations: 2.926 MB / 0.5978 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001655/0.9405, allocations: 473.3 kB / 0.5982 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003406/0.9408, allocations: 39.98 kB / 0.5983 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/0.9419, allocations: 60.02 kB / 0.5983 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002073/0.9421, allocations: 119.5 kB / 0.5984 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.627e-05/0.9422, allocations: 52 kB / 0.5985 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004912/0.9471, allocations: 2.626 MB / 0.601 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.9471, allocations: 0 / 0.601 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00598/0.9531, allocations: 0.7968 MB / 0.6018 GB, free: 4.539 MB / 0.4981 GB 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.005203/0.9583, allocations: 3.575 MB / 0.6053 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006808/0.9651, allocations: 3.127 MB / 0.6084 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.77e-05/0.9651, allocations: 4 kB / 0.6084 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001192/0.9663, allocations: 0.612 MB / 0.609 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005447/0.9717, allocations: 0.5484 MB / 0.6095 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08261/1.054, allocations: 38.7 MB / 0.6473 GB, free: 488 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.331/1.385, allocations: 2.569 MB / 0.6498 GB, free: 186.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005582/1.391, allocations: 1.641 MB / 0.6514 GB, free: 186.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003018/1.394, allocations: 1.76 MB / 0.6531 GB, free: 186.1 MB / 0.545 GB Notification: Performance of SimCode: time 2.024e-06/1.394, allocations: 3.562 kB / 0.6531 GB, free: 186.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1199/1.514, allocations: 62.13 MB / 0.7138 GB, free: 142.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.06/19.57, allocations: 11.92 kB / 0.7138 GB, free: 142.7 MB / 0.545 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 & python3 -m fmpy simulate --output-file StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 StewartPlatform_StewartPlatform_Tests_ElectricCylinder_test.fmu > StewartPlatform_StewartPlatform.Tests.ElectricCylinder_test.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.5543281477876] Failed to read output from testmodel.py, exit status != 0: 19.726154463831335 19.737794595 19.105193396 Calling exit ...