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.001504/0.001504, allocations: 114.5 kB / 18.94 MB, free: 2.957 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.001846/0.001846, allocations: 216 kB / 22.25 MB, free: 5.117 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.595/1.595, allocations: 230.6 MB / 256 MB, free: 8.035 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.03404/0.03404, allocations: 6.574 MB / 319 MB, free: 12.67 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.001925/0.001925, allocations: 68.19 kB / 443.9 MB, free: 5.367 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1553, allocations: 54.86 MB / 498.7 MB, free: 14.42 MB / 366.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ElectricCylinder_test): time 0.0177/0.173, allocations: 11.71 MB / 0.4985 GB, free: 2.66 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01167/0.1846, allocations: 4.448 MB / 0.5028 GB, free: 14.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003155/0.1878, allocations: 91.44 kB / 0.5029 GB, free: 14.11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006015/0.1938, allocations: 2.468 MB / 0.5053 GB, free: 11.63 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009247/0.2031, allocations: 1.973 MB / 0.5073 GB, free: 9.652 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00312/0.2062, allocations: 0.78 MB / 0.508 GB, free: 8.871 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01087/0.217, allocations: 5.653 MB / 0.5135 GB, free: 3.207 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007021/0.2241, allocations: 2.902 MB / 0.5164 GB, free: 260 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.4157/0.6398, allocations: 1.703 MB / 0.518 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006122/0.6459, allocations: 2.423 MB / 0.5204 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002132/0.648, allocations: 399.2 kB / 0.5208 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004042/0.6521, allocations: 1.183 MB / 0.5219 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003554/0.6556, allocations: 2.007 MB / 0.5239 GB, free: 9.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004862/0.6605, allocations: 2.401 MB / 0.5262 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01456/0.675, allocations: 7.714 MB / 0.5338 GB, free: 7.801 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.836e-06/0.675, allocations: 1.25 kB / 0.5338 GB, free: 7.801 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.675, allocations: 0 / 0.5338 GB, free: 7.801 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004013/0.6754, allocations: 2.938 kB / 0.5338 GB, free: 7.801 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.01894/0.6944, allocations: 5.009 MB / 0.5387 GB, free: 5.555 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.939e-05/0.6944, allocations: 9.062 kB / 0.5387 GB, free: 5.555 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001675/0.6961, allocations: 0.6326 MB / 0.5393 GB, free: 5.258 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09094/0.7871, allocations: 9.272 MB / 0.5484 GB, free: 1.719 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01054/0.7976, allocations: 4.01 MB / 0.5523 GB, free: 15.37 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001764/0.7978, allocations: 214.2 kB / 0.5525 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001354/0.7991, allocations: 300.2 kB / 0.5528 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0167/0.8158, allocations: 8.388 MB / 0.561 GB, free: 7.516 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001695/0.816, allocations: 38.86 kB / 0.561 GB, free: 7.492 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004143/0.8164, allocations: 145 kB / 0.5611 GB, free: 7.383 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002474/0.8189, allocations: 1.56 MB / 0.5627 GB, free: 5.844 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01473/0.8336, allocations: 6.633 MB / 0.5691 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05631/0.8899, allocations: 32.62 MB / 0.601 GB, free: 14.13 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005123/0.8951, allocations: 1.625 MB / 0.6026 GB, free: 12.49 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001246/0.8963, allocations: 0.6232 MB / 0.6032 GB, free: 11.86 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007966/0.9043, allocations: 2.611 MB / 0.6057 GB, free: 9.246 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.664e-05/0.9043, allocations: 50.34 kB / 0.6058 GB, free: 9.191 MB / 446.1 MB Notification: Performance of pre-optimization done (n=114): time 5.29e-06/0.9043, allocations: 0 / 0.6058 GB, free: 9.191 MB / 446.1 MB Notification: Performance of matching and sorting (n=134): time 0.018/0.9223, allocations: 7.679 MB / 0.6133 GB, free: 1.48 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001956/0.9225, allocations: 276.7 kB / 0.6135 GB, free: 1.148 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007213/0.9297, allocations: 4.129 MB / 0.6176 GB, free: 12.99 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003002/0.93, allocations: 45.7 kB / 0.6176 GB, free: 12.94 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002989/0.933, allocations: 3.07 MB / 0.6206 GB, free: 9.883 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008081/0.9338, allocations: 0.5519 MB / 0.6212 GB, free: 9.336 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001516/0.9354, allocations: 1.047 MB / 0.6222 GB, free: 8.281 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.9355, allocations: 305.1 kB / 0.6225 GB, free: 7.98 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00225/0.9378, allocations: 1.376 MB / 0.6238 GB, free: 6.598 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00561/0.9434, allocations: 4.758 MB / 0.6285 GB, free: 200 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01094/0.9543, allocations: 6.677 MB / 0.635 GB, free: 8.352 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001722/0.9545, allocations: 36 kB / 0.635 GB, free: 8.316 MB / 478.1 MB Notification: Performance of matching and sorting (n=676) (initialization): time 0.01462/0.9691, allocations: 5.915 MB / 0.6408 GB, free: 2.527 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.648e-05/0.9692, allocations: 56 kB / 0.6408 GB, free: 2.473 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001679/0.9694, allocations: 124.8 kB / 0.641 GB, free: 2.352 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001608/0.9695, allocations: 156 kB / 0.6411 GB, free: 2.199 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004117/0.9736, allocations: 1.232 MB / 0.6423 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002118/0.9738, allocations: 231.1 kB / 0.6425 GB, free: 0.7383 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005315/0.9792, allocations: 252.9 kB / 0.6428 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001062/0.9802, allocations: 320 kB / 0.6431 GB, free: 184 kB / 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.005512/0.9857, allocations: 2.023 MB / 0.6451 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001057/0.9868, allocations: 369.6 kB / 0.6454 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001049/0.9878, allocations: 398.2 kB / 0.6458 GB, free: 13.39 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.344e-05/0.9879, allocations: 24.95 kB / 0.6458 GB, free: 13.37 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.375e-05/0.9879, allocations: 0 / 0.6458 GB, free: 13.37 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.432e-05/0.9879, allocations: 7.969 kB / 0.6458 GB, free: 13.36 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.01155/0.9994, allocations: 5.278 MB / 0.651 GB, free: 7.855 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-05/0.9995, allocations: 12 kB / 0.651 GB, free: 7.844 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009485/1, allocations: 236.5 kB / 0.6512 GB, free: 7.613 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.443e-05/1, allocations: 20 kB / 0.6512 GB, free: 7.594 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-05/1.001, allocations: 36 kB / 0.6513 GB, free: 7.559 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.627e-05/1.001, allocations: 29.7 kB / 0.6513 GB, free: 7.531 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.742e-05/1.001, allocations: 19.88 kB / 0.6513 GB, free: 7.512 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004763/1.005, allocations: 2.916 MB / 0.6542 GB, free: 4.414 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002042/1.007, allocations: 477.3 kB / 0.6546 GB, free: 3.945 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004039/1.008, allocations: 42.38 kB / 0.6547 GB, free: 3.906 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001105/1.009, allocations: 60.02 kB / 0.6547 GB, free: 3.848 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002165/1.009, allocations: 115.5 kB / 0.6548 GB, free: 3.734 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001028/1.009, allocations: 55.05 kB / 0.6549 GB, free: 3.684 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005675/1.015, allocations: 2.626 MB / 0.6574 GB, free: 1.047 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.01e-07/1.015, allocations: 0 / 0.6574 GB, free: 1.047 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006256/1.021, allocations: 0.7968 MB / 0.6582 GB, free: 256 kB / 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.005009/1.026, allocations: 3.565 MB / 0.6617 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006248/1.032, allocations: 3.126 MB / 0.6648 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.629e-05/1.032, allocations: 4.438 kB / 0.6648 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001089/1.034, allocations: 0.6192 MB / 0.6654 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00376/1.037, allocations: 0.5464 MB / 0.6659 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0777/1.115, allocations: 38.72 MB / 0.7037 GB, free: 12.23 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004372/1.119, allocations: 3.114 MB / 0.7067 GB, free: 9.082 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004202/1.124, allocations: 1.631 MB / 0.7083 GB, free: 7.441 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003476/1.127, allocations: 1.768 MB / 0.7101 GB, free: 5.672 MB / 0.545 GB Notification: Performance of SimCode: time 1.914e-06/1.127, allocations: 0 / 0.7101 GB, free: 5.672 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4852/1.612, allocations: 66.05 MB / 0.7746 GB, free: 181.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.98/21.59, allocations: 6.672 kB / 0.7746 GB, free: 181.5 MB / 0.5606 GB " [Timeout remaining time 638] (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: 24.805918005999956] Failed to read output from testmodel.py, exit status != 0: 21.737785664000057 21.753112568 21.074762038 Calling exit ...