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.00119/0.00119, allocations: 107.3 kB / 16.45 MB, free: 6.508 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.001495/0.001495, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.558/1.558, allocations: 230.6 MB / 252.8 MB, free: 9.137 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.03262/0.03262, allocations: 6.582 MB / 315.4 MB, free: 13.82 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.001981/0.001981, allocations: 71.89 kB / 438.7 MB, free: 8.719 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1351, allocations: 54.83 MB / 493.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.SpindleDrive_test): time 0.009708/0.1449, allocations: 7.251 MB / 0.489 GB, free: 10.52 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005182/0.15, allocations: 2.345 MB / 0.4913 GB, free: 8.164 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007754/0.1508, allocations: 35.88 kB / 0.4914 GB, free: 8.129 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001798/0.1526, allocations: 0.8365 MB / 0.4922 GB, free: 7.289 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00191/0.1545, allocations: 0.8284 MB / 0.493 GB, free: 6.457 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005964/0.1551, allocations: 223.5 kB / 0.4932 GB, free: 6.238 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003013/0.1581, allocations: 1.848 MB / 0.495 GB, free: 4.387 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001597/0.1597, allocations: 1.021 MB / 0.496 GB, free: 3.348 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001032/0.1608, allocations: 0.6887 MB / 0.4967 GB, free: 2.656 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00132/0.1621, allocations: 1.035 MB / 0.4977 GB, free: 1.617 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002588/0.1623, allocations: 128 kB / 0.4978 GB, free: 1.492 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001114/0.1635, allocations: 0.6239 MB / 0.4984 GB, free: 0.8672 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008201/0.1643, allocations: 0.8684 MB / 0.4993 GB, free: 15.99 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009871/0.1653, allocations: 1.075 MB / 0.5003 GB, free: 14.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003942/0.1692, allocations: 3.469 MB / 0.5037 GB, free: 11.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.1692, allocations: 0 / 0.5037 GB, free: 11.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.12e-07/0.1692, allocations: 0 / 0.5037 GB, free: 11.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.046e-05/0.1693, allocations: 0 / 0.5037 GB, free: 11.43 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.004143/0.1734, allocations: 2.515 MB / 0.5062 GB, free: 8.852 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.579e-05/0.1735, allocations: 12.03 kB / 0.5062 GB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004808/0.1739, allocations: 424.7 kB / 0.5066 GB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00528/0.1792, allocations: 1.579 MB / 0.5081 GB, free: 6.832 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002044/0.1813, allocations: 1.037 MB / 0.5091 GB, free: 5.754 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/0.1814, allocations: 118.9 kB / 0.5092 GB, free: 5.637 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002925/0.1817, allocations: 147.9 kB / 0.5094 GB, free: 5.492 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3018/0.4834, allocations: 5.519 MB / 0.5148 GB, free: 27.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001047/0.4836, allocations: 29.95 kB / 0.5148 GB, free: 27.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00025/0.4838, allocations: 75.86 kB / 0.5149 GB, free: 27.86 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002627/0.4864, allocations: 1.264 MB / 0.5161 GB, free: 27.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01197/0.4984, allocations: 4.593 MB / 0.5206 GB, free: 27.71 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03193/0.5303, allocations: 22.1 MB / 0.5422 GB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002938/0.5333, allocations: 1.472 MB / 0.5436 GB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007864/0.5341, allocations: 407.3 kB / 0.544 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004247/0.5345, allocations: 337.4 kB / 0.5443 GB, free: 9.957 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/0.5345, allocations: 41.97 kB / 0.5444 GB, free: 9.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=83): time 3.787e-06/0.5345, allocations: 1.406 kB / 0.5444 GB, free: 9.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=91): time 0.01038/0.5449, allocations: 4.379 MB / 0.5486 GB, free: 7.203 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.893e-05/0.545, allocations: 139.3 kB / 0.5488 GB, free: 7.043 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00409/0.5491, allocations: 2.549 MB / 0.5513 GB, free: 5.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001039/0.5492, allocations: 37.64 kB / 0.5513 GB, free: 5.691 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001113/0.5503, allocations: 2.018 MB / 0.5533 GB, free: 3.922 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003315/0.5506, allocations: 400.9 kB / 0.5537 GB, free: 3.602 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009002/0.5515, allocations: 0.8205 MB / 0.5545 GB, free: 3.125 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.941e-05/0.5516, allocations: 309.1 kB / 0.5547 GB, free: 2.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001291/0.5529, allocations: 1.079 MB / 0.5558 GB, free: 2.324 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00363/0.5565, allocations: 3.786 MB / 0.5595 GB, free: 13.98 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007611/0.5641, allocations: 5.348 MB / 0.5647 GB, free: 7.32 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.819e-05/0.5642, allocations: 28 kB / 0.5647 GB, free: 7.293 MB / 398.1 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.009157/0.5734, allocations: 4.637 MB / 0.5693 GB, free: 2.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.082e-05/0.5735, allocations: 47.94 kB / 0.5693 GB, free: 2.613 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001103/0.5736, allocations: 96 kB / 0.5694 GB, free: 2.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001355/0.5737, allocations: 132.1 kB / 0.5695 GB, free: 2.391 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002635/0.5763, allocations: 0.9473 MB / 0.5705 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001644/0.5765, allocations: 187.3 kB / 0.5706 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002807/0.5793, allocations: 203.7 kB / 0.5708 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003457/0.5797, allocations: 260 kB / 0.5711 GB, free: 0.8086 MB / 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.002224/0.5819, allocations: 1.275 MB / 0.5723 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005527/0.5824, allocations: 230.4 kB / 0.5726 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005158/0.5829, allocations: 247.8 kB / 0.5728 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.431e-05/0.583, allocations: 12 kB / 0.5728 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.038e-05/0.583, allocations: 0 / 0.5728 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.583, allocations: 3.984 kB / 0.5728 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005453/0.5885, allocations: 3.102 MB / 0.5758 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.065e-05/0.5885, allocations: 8.125 kB / 0.5758 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005864/0.589, allocations: 135.8 kB / 0.576 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-05/0.5891, allocations: 12 kB / 0.576 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.239e-05/0.5891, allocations: 23.98 kB / 0.576 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.476e-05/0.5891, allocations: 11.94 kB / 0.576 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-05/0.5891, allocations: 11.94 kB / 0.576 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002969/0.5921, allocations: 2.088 MB / 0.5781 GB, free: 9.418 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007692/0.5929, allocations: 363.5 kB / 0.5784 GB, free: 9.043 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001842/0.5931, allocations: 30 kB / 0.5784 GB, free: 9.016 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006362/0.5937, allocations: 31.98 kB / 0.5785 GB, free: 8.984 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000156/0.5939, allocations: 71.67 kB / 0.5785 GB, free: 8.914 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.657e-05/0.5939, allocations: 32 kB / 0.5786 GB, free: 8.883 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002605/0.5965, allocations: 1.574 MB / 0.5801 GB, free: 7.297 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5965, allocations: 0 / 0.5801 GB, free: 7.297 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003966/0.6005, allocations: 0.5097 MB / 0.5806 GB, free: 6.789 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.003514/0.604, allocations: 2.717 MB / 0.5833 GB, free: 3.973 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00603/0.61, allocations: 2.43 MB / 0.5856 GB, free: 1.566 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.861e-05/0.6101, allocations: 5.75 kB / 0.5856 GB, free: 1.562 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008801/0.6109, allocations: 453.9 kB / 0.5861 GB, free: 1.121 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003166/0.6141, allocations: 209.2 kB / 0.5863 GB, free: 0.918 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05365/0.6678, allocations: 25.35 MB / 0.611 GB, free: 3.984 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003547/0.6713, allocations: 2.043 MB / 0.613 GB, free: 1.906 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003528/0.6748, allocations: 1.308 MB / 0.6143 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001994/0.6768, allocations: 0.9472 MB / 0.6152 GB, free: 15.66 MB / 462.1 MB Notification: Performance of SimCode: time 1.833e-06/0.6768, allocations: 7.938 kB / 0.6152 GB, free: 15.65 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08173/0.7586, allocations: 32.43 MB / 0.6469 GB, free: 15.41 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.52/14.28, allocations: 8.062 kB / 0.6469 GB, free: 15.41 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.260241637995932] Failed to read output from testmodel.py, exit status != 0: 14.373243053996703 14.387784802 14.215612272 Calling exit ...