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.001286/0.001286, allocations: 110.4 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.00169/0.00169, allocations: 214.6 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.57/1.57, allocations: 230.6 MB / 256 MB, free: 7.996 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.03252/0.03252, allocations: 6.586 MB / 319 MB, free: 12.64 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.001963/0.001963, allocations: 71.89 kB / 443.9 MB, free: 5.359 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1537, allocations: 54.86 MB / 498.8 MB, free: 14.42 MB / 366.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.SpindleDrive_test): time 0.01266/0.1664, allocations: 7.278 MB / 0.4942 GB, free: 7.102 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00806/0.1744, allocations: 2.367 MB / 0.4965 GB, free: 4.73 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002041/0.1765, allocations: 35.88 kB / 0.4965 GB, free: 4.695 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003318/0.1798, allocations: 0.8403 MB / 0.4973 GB, free: 3.852 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00391/0.1837, allocations: 0.8324 MB / 0.4981 GB, free: 3.016 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009722/0.1847, allocations: 227.5 kB / 0.4984 GB, free: 2.793 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004428/0.1891, allocations: 1.851 MB / 0.5002 GB, free: 0.9375 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002297/0.1914, allocations: 1.083 MB / 0.5012 GB, free: 15.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001515/0.1929, allocations: 0.677 MB / 0.5019 GB, free: 15.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001918/0.1948, allocations: 1.047 MB / 0.5029 GB, free: 14.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003484/0.1952, allocations: 128 kB / 0.503 GB, free: 13.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001589/0.1968, allocations: 0.624 MB / 0.5036 GB, free: 13.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001089/0.1979, allocations: 0.8644 MB / 0.5045 GB, free: 12.49 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001298/0.1992, allocations: 1.075 MB / 0.5055 GB, free: 11.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005341/0.2045, allocations: 3.469 MB / 0.5089 GB, free: 7.926 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.535e-06/0.2045, allocations: 0 / 0.5089 GB, free: 7.926 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.2045, allocations: 4 kB / 0.5089 GB, free: 7.922 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.92e-05/0.2046, allocations: 0 / 0.5089 GB, free: 7.922 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.004962/0.2095, allocations: 2.432 MB / 0.5113 GB, free: 5.445 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.557e-05/0.2096, allocations: 12.03 kB / 0.5113 GB, free: 5.434 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004899/0.2101, allocations: 432.7 kB / 0.5117 GB, free: 5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004963/0.215, allocations: 1.579 MB / 0.5133 GB, free: 3.418 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002371/0.2174, allocations: 0.9805 MB / 0.5142 GB, free: 2.406 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.915e-05/0.2175, allocations: 110.9 kB / 0.5143 GB, free: 2.297 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002959/0.2178, allocations: 151.9 kB / 0.5145 GB, free: 2.148 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4002/0.618, allocations: 5.525 MB / 0.5199 GB, free: 27.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001029/0.6181, allocations: 26.11 kB / 0.5199 GB, free: 27.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002312/0.6183, allocations: 76.02 kB / 0.52 GB, free: 27.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002707/0.621, allocations: 1.266 MB / 0.5212 GB, free: 27.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01113/0.6322, allocations: 4.597 MB / 0.5257 GB, free: 26.83 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02933/0.6615, allocations: 22 MB / 0.5472 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002912/0.6644, allocations: 1.014 MB / 0.5482 GB, free: 9.746 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007237/0.6651, allocations: 405.5 kB / 0.5486 GB, free: 9.547 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003226/0.6655, allocations: 118.5 kB / 0.5487 GB, free: 9.508 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.749e-05/0.6655, allocations: 41.22 kB / 0.5487 GB, free: 9.461 MB / 382.1 MB Notification: Performance of pre-optimization done (n=83): time 7.323e-06/0.6655, allocations: 2.766 kB / 0.5487 GB, free: 9.461 MB / 382.1 MB Notification: Performance of matching and sorting (n=91): time 0.008868/0.6744, allocations: 4.233 MB / 0.5529 GB, free: 6.832 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.221e-05/0.6745, allocations: 136.4 kB / 0.553 GB, free: 6.672 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003175/0.6776, allocations: 2.557 MB / 0.5555 GB, free: 5.293 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.383e-05/0.6777, allocations: 37.58 kB / 0.5555 GB, free: 5.254 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001003/0.6787, allocations: 2.02 MB / 0.5575 GB, free: 3.477 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000288/0.679, allocations: 398.7 kB / 0.5579 GB, free: 3.156 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008223/0.6798, allocations: 0.8215 MB / 0.5587 GB, free: 2.684 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.244e-05/0.6799, allocations: 313.1 kB / 0.559 GB, free: 2.379 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001407/0.6813, allocations: 1.07 MB / 0.56 GB, free: 1.887 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003783/0.685, allocations: 3.793 MB / 0.5637 GB, free: 12.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007045/0.6921, allocations: 5.335 MB / 0.5689 GB, free: 6.062 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.842e-05/0.6922, allocations: 33.97 kB / 0.569 GB, free: 6.031 MB / 398.1 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.008435/0.7006, allocations: 4.627 MB / 0.5735 GB, free: 1.398 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.604e-05/0.7007, allocations: 48 kB / 0.5735 GB, free: 1.352 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001045/0.7008, allocations: 96 kB / 0.5736 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001424/0.7009, allocations: 128 kB / 0.5737 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002577/0.7035, allocations: 0.9435 MB / 0.5747 GB, free: 192 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001533/0.7036, allocations: 183.8 kB / 0.5748 GB, free: 8 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002851/0.7065, allocations: 207.7 kB / 0.575 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003466/0.7068, allocations: 267.9 kB / 0.5753 GB, free: 15.54 MB / 414.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.002153/0.709, allocations: 1.281 MB / 0.5765 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005337/0.7095, allocations: 218.5 kB / 0.5767 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004821/0.71, allocations: 247.8 kB / 0.577 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.408e-05/0.71, allocations: 12 kB / 0.577 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.006e-05/0.7101, allocations: 4 kB / 0.577 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.7101, allocations: 7.984 kB / 0.577 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005648/0.7157, allocations: 3.079 MB / 0.58 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.229e-05/0.7157, allocations: 4 kB / 0.58 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005562/0.7163, allocations: 139.8 kB / 0.5802 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-05/0.7163, allocations: 8.719 kB / 0.5802 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.805e-05/0.7163, allocations: 20 kB / 0.5802 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.718e-05/0.7164, allocations: 21.98 kB / 0.5802 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.008e-05/0.7164, allocations: 11.94 kB / 0.5802 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002855/0.7192, allocations: 2.098 MB / 0.5823 GB, free: 8.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008301/0.7201, allocations: 290.3 kB / 0.5825 GB, free: 7.895 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001913/0.7203, allocations: 24 kB / 0.5826 GB, free: 7.871 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006011/0.7209, allocations: 27.97 kB / 0.5826 GB, free: 7.844 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/0.721, allocations: 75.72 kB / 0.5827 GB, free: 7.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.999e-05/0.7211, allocations: 34.03 kB / 0.5827 GB, free: 7.738 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002502/0.7236, allocations: 1.572 MB / 0.5842 GB, free: 6.152 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7236, allocations: 0 / 0.5842 GB, free: 6.152 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003574/0.7271, allocations: 0.5116 MB / 0.5847 GB, free: 5.641 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.003555/0.7307, allocations: 2.709 MB / 0.5874 GB, free: 2.836 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004633/0.7353, allocations: 2.441 MB / 0.5898 GB, free: 424 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.705e-06/0.7353, allocations: 0 / 0.5898 GB, free: 424 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000731/0.7361, allocations: 443.3 kB / 0.5902 GB, free: 15.98 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001765/0.7378, allocations: 213.1 kB / 0.5904 GB, free: 15.78 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0404/0.7782, allocations: 25.36 MB / 0.6151 GB, free: 2.828 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002089/0.7803, allocations: 2.043 MB / 0.6171 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002755/0.7831, allocations: 1.312 MB / 0.6184 GB, free: 15.43 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001204/0.7843, allocations: 0.9445 MB / 0.6193 GB, free: 14.48 MB / 462.1 MB Notification: Performance of SimCode: time 1.323e-06/0.7843, allocations: 0 / 0.6193 GB, free: 14.48 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08593/0.8702, allocations: 35.8 MB / 0.6543 GB, free: 10.95 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.23/17.1, allocations: 21.98 kB / 0.6543 GB, free: 10.93 MB / 494.1 MB " [Timeout remaining time 643] (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: 20.17647957500003] Failed to read output from testmodel.py, exit status != 0: 17.22752501900004 17.243121085 17.03533133 Calling exit ...