Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr StewartPlatform_StewartPlatform.Tests.SpindleDrive_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.001295/0.001295, allocations: 105.1 kB / 18.99 MB, free: 2.766 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.001461/0.001461, allocations: 220 kB / 22.29 MB, free: 5.145 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.556/1.556, allocations: 230.6 MB / 256.1 MB, free: 7.781 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.04551/0.04551, allocations: 6.575 MB / 319.1 MB, free: 12.39 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.SpindleDrive_test,fileNamePrefix="StewartPlatform_StewartPlatform_Tests_SpindleDrive_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(StewartPlatform.Tests.SpindleDrive_test,fileNamePrefix="StewartPlatform_StewartPlatform_Tests_SpindleDrive_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.001995/0.001995, allocations: 71.91 kB / 443.9 MB, free: 4.773 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1418, allocations: 54.87 MB / 498.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.SpindleDrive_test): time 0.01045/0.1523, allocations: 6.476 MB / 0.4934 GB, free: 7.312 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005447/0.1577, allocations: 2.208 MB / 0.4955 GB, free: 5.098 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008253/0.1586, allocations: 35.88 kB / 0.4956 GB, free: 5.062 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001835/0.1604, allocations: 0.8092 MB / 0.4964 GB, free: 4.25 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002003/0.1624, allocations: 0.8401 MB / 0.4972 GB, free: 3.406 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006188/0.163, allocations: 215.5 kB / 0.4974 GB, free: 3.195 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002422/0.1654, allocations: 1.86 MB / 0.4992 GB, free: 1.332 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001366/0.1668, allocations: 1.079 MB / 0.5003 GB, free: 244 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009697/0.1678, allocations: 0.6848 MB / 0.5009 GB, free: 15.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001394/0.1692, allocations: 0.9924 MB / 0.5019 GB, free: 14.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002441/0.1694, allocations: 128 kB / 0.502 GB, free: 14.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001037/0.1705, allocations: 0.5109 MB / 0.5025 GB, free: 13.92 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008426/0.1713, allocations: 0.8644 MB / 0.5034 GB, free: 13.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008413/0.1721, allocations: 0.7603 MB / 0.5041 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004128/0.1763, allocations: 3.481 MB / 0.5075 GB, free: 8.789 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.1763, allocations: 0 / 0.5075 GB, free: 8.789 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.1763, allocations: 0 / 0.5075 GB, free: 8.789 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.762e-05/0.1763, allocations: 0 / 0.5075 GB, free: 8.789 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: 884 * Number of variables: 884 Notification: Performance of Generate backend data structure: time 0.004555/0.1809, allocations: 2.44 MB / 0.5099 GB, free: 6.305 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.126e-05/0.1809, allocations: 8.031 kB / 0.5099 GB, free: 6.297 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005903/0.1815, allocations: 428.7 kB / 0.5103 GB, free: 5.867 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005868/0.1874, allocations: 1.59 MB / 0.5119 GB, free: 4.273 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003192/0.1906, allocations: 0.9806 MB / 0.5128 GB, free: 3.262 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001813/0.1908, allocations: 114.9 kB / 0.5129 GB, free: 3.148 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006929/0.1915, allocations: 147.8 kB / 0.5131 GB, free: 3.004 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3439/0.5353, allocations: 5.529 MB / 0.5185 GB, free: 26.99 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.861e-05/0.5354, allocations: 33.08 kB / 0.5185 GB, free: 26.97 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002419/0.5357, allocations: 75.41 kB / 0.5186 GB, free: 26.97 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00255/0.5382, allocations: 1.265 MB / 0.5198 GB, free: 26.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01177/0.55, allocations: 4.597 MB / 0.5243 GB, free: 26.64 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03141/0.5814, allocations: 21.31 MB / 0.5451 GB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003564/0.585, allocations: 1.049 MB / 0.5461 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001009/0.586, allocations: 407.5 kB / 0.5465 GB, free: 9.883 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004004/0.5864, allocations: 113.1 kB / 0.5466 GB, free: 9.867 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.942e-05/0.5864, allocations: 38.91 kB / 0.5467 GB, free: 9.824 MB / 382.1 MB Notification: Performance of pre-optimization done (n=83): time 5.841e-06/0.5864, allocations: 0 / 0.5467 GB, free: 9.824 MB / 382.1 MB Notification: Performance of matching and sorting (n=91): time 0.01326/0.5997, allocations: 4.334 MB / 0.5509 GB, free: 7.699 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.058e-05/0.5998, allocations: 142.7 kB / 0.551 GB, free: 7.539 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004169/0.604, allocations: 2.718 MB / 0.5537 GB, free: 6.176 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001591/0.6041, allocations: 39.23 kB / 0.5537 GB, free: 6.137 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001156/0.6053, allocations: 2.028 MB / 0.5557 GB, free: 4.359 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003577/0.6056, allocations: 395.8 kB / 0.5561 GB, free: 4.039 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009596/0.6066, allocations: 0.8309 MB / 0.5569 GB, free: 3.562 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.803e-05/0.6067, allocations: 301.1 kB / 0.5572 GB, free: 3.266 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001717/0.6084, allocations: 1.075 MB / 0.5582 GB, free: 2.539 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003852/0.6122, allocations: 3.798 MB / 0.5619 GB, free: 13.37 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00797/0.6202, allocations: 5.329 MB / 0.5671 GB, free: 6.715 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001716/0.6204, allocations: 31.94 kB / 0.5672 GB, free: 6.684 MB / 398.1 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.01131/0.6317, allocations: 4.631 MB / 0.5717 GB, free: 2.047 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001828/0.6319, allocations: 48 kB / 0.5717 GB, free: 2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002769/0.6321, allocations: 96 kB / 0.5718 GB, free: 1.906 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002228/0.6324, allocations: 124 kB / 0.572 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003369/0.6357, allocations: 0.9435 MB / 0.5729 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002306/0.636, allocations: 187.3 kB / 0.5731 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003848/0.6398, allocations: 207.6 kB / 0.5733 GB, free: 464 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008424/0.6406, allocations: 256.2 kB / 0.5735 GB, free: 208 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 442 * Number of states: 0 () * Number of discrete variables: 18 (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],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (509): * Single equations (assignments): 506 * 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.003519/0.6442, allocations: 1.285 MB / 0.5748 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009694/0.6451, allocations: 218.5 kB / 0.575 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009099/0.646, allocations: 247.8 kB / 0.5752 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.724e-05/0.6461, allocations: 12 kB / 0.5752 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.855e-05/0.6461, allocations: 0 / 0.5752 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.602e-05/0.6461, allocations: 7.984 kB / 0.5752 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006988/0.6531, allocations: 2.888 MB / 0.578 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-05/0.6531, allocations: 4.094 kB / 0.578 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005991/0.6537, allocations: 143.8 kB / 0.5782 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.718e-05/0.6537, allocations: 8.812 kB / 0.5782 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-05/0.6538, allocations: 25.48 kB / 0.5782 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.85e-05/0.6538, allocations: 17.56 kB / 0.5782 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.506e-06/0.6538, allocations: 11.94 kB / 0.5782 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003133/0.657, allocations: 2.095 MB / 0.5803 GB, free: 9.051 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009454/0.6579, allocations: 295.4 kB / 0.5806 GB, free: 8.762 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000186/0.6581, allocations: 21.7 kB / 0.5806 GB, free: 8.746 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006375/0.6587, allocations: 31.97 kB / 0.5806 GB, free: 8.715 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/0.6589, allocations: 75.59 kB / 0.5807 GB, free: 8.641 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-05/0.6589, allocations: 32 kB / 0.5807 GB, free: 8.609 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002507/0.6615, allocations: 1.572 MB / 0.5823 GB, free: 7.023 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6615, allocations: 0 / 0.5823 GB, free: 7.023 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003616/0.6651, allocations: 0.5078 MB / 0.5828 GB, free: 6.516 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (prismatic.s,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 (73): * Single equations (assignments): 70 * 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.003396/0.6685, allocations: 2.715 MB / 0.5854 GB, free: 3.707 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004655/0.6731, allocations: 2.44 MB / 0.5878 GB, free: 1.285 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/0.6731, allocations: 0 / 0.5878 GB, free: 1.285 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007148/0.6738, allocations: 446.3 kB / 0.5882 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001732/0.6756, allocations: 212.1 kB / 0.5884 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04351/0.7191, allocations: 25.36 MB / 0.6132 GB, free: 3.691 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003019/0.7221, allocations: 1.465 MB / 0.6146 GB, free: 2.199 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003615/0.7257, allocations: 1.312 MB / 0.6159 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001756/0.7275, allocations: 0.9445 MB / 0.6168 GB, free: 15.93 MB / 462.1 MB Notification: Performance of SimCode: time 1.372e-06/0.7275, allocations: 0 / 0.6168 GB, free: 15.93 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0836/0.8111, allocations: 33.65 MB / 0.6497 GB, free: 14.76 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.5/14.31, allocations: 6.281 kB / 0.6497 GB, free: 14.75 MB / 494.1 MB " [Timeout remaining time 646] (rm -f StewartPlatform_StewartPlatform.Tests.SpindleDrive_test.pipe ; mkfifo StewartPlatform_StewartPlatform.Tests.SpindleDrive_test.pipe ; head -c 1048576 < StewartPlatform_StewartPlatform.Tests.SpindleDrive_test.pipe >> ../files/StewartPlatform_StewartPlatform.Tests.SpindleDrive_test.sim & python3 -m fmpy simulate --output-file StewartPlatform_StewartPlatform.Tests.SpindleDrive_test_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 StewartPlatform_StewartPlatform_Tests_SpindleDrive_test.fmu > StewartPlatform_StewartPlatform.Tests.SpindleDrive_test.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.37977395404596] Failed to read output from testmodel.py, exit status != 0: 14.442557539907284 14.463359297 14.283237475 Calling exit ...