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.001445/0.001445, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001565/0.001565, allocations: 214.8 kB / 23.04 MB, free: 5.074 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.314/1.314, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 179] 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.03185/0.03185, allocations: 6.585 MB / 319.8 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(StewartPlatform.Tests.SpindleDrive_test,fileNamePrefix="StewartPlatform_StewartPlatform_Tests_SpindleDrive_test",fmuType="cs",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.001831/0.001831, allocations: 65.61 kB / 444.7 MB, free: 5.336 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1061, allocations: 54.87 MB / 499.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.SpindleDrive_test): time 0.008924/0.115, allocations: 7.293 MB / 0.4949 GB, free: 7.055 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004324/0.1193, allocations: 2.356 MB / 0.4972 GB, free: 4.691 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004093/0.1197, allocations: 35.88 kB / 0.4973 GB, free: 4.656 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001676/0.1214, allocations: 0.8365 MB / 0.4981 GB, free: 3.816 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001521/0.1229, allocations: 0.8362 MB / 0.4989 GB, free: 2.977 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004698/0.1234, allocations: 223.5 kB / 0.4991 GB, free: 2.758 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001958/0.1253, allocations: 1.851 MB / 0.5009 GB, free: 0.9023 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001136/0.1265, allocations: 1.079 MB / 0.502 GB, free: 15.81 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007453/0.1272, allocations: 0.6848 MB / 0.5027 GB, free: 15.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001239/0.1285, allocations: 1.039 MB / 0.5037 GB, free: 14.08 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001811/0.1286, allocations: 128 kB / 0.5038 GB, free: 13.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009286/0.1296, allocations: 0.6357 MB / 0.5044 GB, free: 13.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007452/0.1303, allocations: 0.8605 MB / 0.5053 GB, free: 12.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008527/0.1312, allocations: 1.075 MB / 0.5063 GB, free: 11.37 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003397/0.1346, allocations: 3.465 MB / 0.5097 GB, free: 7.891 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1346, allocations: 0 / 0.5097 GB, free: 7.891 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.298e-06/0.1346, allocations: 3.984 kB / 0.5097 GB, free: 7.887 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.731e-05/0.1346, allocations: 0 / 0.5097 GB, free: 7.887 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.003462/0.1381, allocations: 2.44 MB / 0.5121 GB, free: 5.402 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.1381, allocations: 8.031 kB / 0.5121 GB, free: 5.395 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.556e-05/0.1382, allocations: 55.06 kB / 0.5121 GB, free: 5.34 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004339/0.1386, allocations: 432.7 kB / 0.5125 GB, free: 4.906 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005049/0.1436, allocations: 1.575 MB / 0.5141 GB, free: 3.328 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001673/0.1453, allocations: 0.9844 MB / 0.515 GB, free: 2.312 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.205e-05/0.1454, allocations: 114.7 kB / 0.5152 GB, free: 2.199 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002635/0.1457, allocations: 143.9 kB / 0.5153 GB, free: 2.059 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1988/0.3445, allocations: 5.531 MB / 0.5207 GB, free: 27.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.177e-05/0.3446, allocations: 28.14 kB / 0.5207 GB, free: 27.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001805/0.3447, allocations: 75.56 kB / 0.5208 GB, free: 27.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001892/0.3466, allocations: 1.259 MB / 0.522 GB, free: 27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007286/0.3539, allocations: 4.608 MB / 0.5265 GB, free: 26.38 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01855/0.3725, allocations: 22 MB / 0.548 GB, free: 9.766 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002104/0.3746, allocations: 1.018 MB / 0.549 GB, free: 9.395 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005089/0.3751, allocations: 408 kB / 0.5494 GB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002459/0.3753, allocations: 109.5 kB / 0.5495 GB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.3754, allocations: 45.91 kB / 0.5495 GB, free: 9.109 MB / 382.1 MB Notification: Performance of pre-optimization done (n=83): time 3.176e-06/0.3754, allocations: 1.969 kB / 0.5495 GB, free: 9.109 MB / 382.1 MB Notification: Performance of matching and sorting (n=91): time 0.007086/0.3824, allocations: 4.228 MB / 0.5537 GB, free: 6.598 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.052e-05/0.3825, allocations: 140.4 kB / 0.5538 GB, free: 6.438 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002316/0.3848, allocations: 2.547 MB / 0.5563 GB, free: 5.125 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.718e-05/0.3849, allocations: 37.58 kB / 0.5563 GB, free: 5.086 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007117/0.3856, allocations: 2.024 MB / 0.5583 GB, free: 3.309 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000184/0.3858, allocations: 406.3 kB / 0.5587 GB, free: 2.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006666/0.3864, allocations: 0.8228 MB / 0.5595 GB, free: 2.504 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.89e-05/0.3865, allocations: 301.1 kB / 0.5598 GB, free: 2.207 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001193/0.3877, allocations: 1.078 MB / 0.5608 GB, free: 1.477 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003241/0.3909, allocations: 3.794 MB / 0.5645 GB, free: 12.32 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005908/0.3968, allocations: 5.332 MB / 0.5697 GB, free: 5.629 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.07e-05/0.3968, allocations: 24 kB / 0.5698 GB, free: 5.605 MB / 398.1 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.006826/0.4037, allocations: 4.642 MB / 0.5743 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.477e-05/0.4037, allocations: 48 kB / 0.5743 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.893e-05/0.4038, allocations: 96 kB / 0.5744 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001306/0.404, allocations: 131.9 kB / 0.5746 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002455/0.4064, allocations: 0.9398 MB / 0.5755 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001796/0.4066, allocations: 188.1 kB / 0.5757 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001949/0.4085, allocations: 203.7 kB / 0.5759 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003276/0.4089, allocations: 260 kB / 0.5761 GB, free: 15.12 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.001687/0.4106, allocations: 1.286 MB / 0.5774 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003059/0.4109, allocations: 219 kB / 0.5776 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004265/0.4113, allocations: 251.8 kB / 0.5778 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.86e-05/0.4113, allocations: 8 kB / 0.5778 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.388e-05/0.4113, allocations: 4 kB / 0.5778 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.4113, allocations: 5.016 kB / 0.5778 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004718/0.416, allocations: 3.076 MB / 0.5808 GB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/0.4161, allocations: 4 kB / 0.5808 GB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005256/0.4166, allocations: 143.7 kB / 0.581 GB, free: 9.988 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.08e-05/0.4166, allocations: 8 kB / 0.581 GB, free: 9.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.758e-05/0.4166, allocations: 20 kB / 0.581 GB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.149e-05/0.4167, allocations: 11.98 kB / 0.581 GB, free: 9.949 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.4167, allocations: 11.94 kB / 0.581 GB, free: 9.938 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002508/0.4192, allocations: 2.106 MB / 0.5831 GB, free: 7.746 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005218/0.4197, allocations: 295 kB / 0.5834 GB, free: 7.461 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001739/0.4199, allocations: 20 kB / 0.5834 GB, free: 7.441 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005994/0.4205, allocations: 31.97 kB / 0.5834 GB, free: 7.41 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/0.4206, allocations: 67.78 kB / 0.5835 GB, free: 7.344 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.916e-05/0.4206, allocations: 36 kB / 0.5835 GB, free: 7.309 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001992/0.4226, allocations: 1.572 MB / 0.585 GB, free: 5.723 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4226, allocations: 0 / 0.585 GB, free: 5.723 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002554/0.4252, allocations: 0.5135 MB / 0.5855 GB, free: 5.211 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.002918/0.4281, allocations: 2.705 MB / 0.5882 GB, free: 2.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003684/0.4318, allocations: 2.442 MB / 0.5906 GB, free: 15.98 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.4318, allocations: 0 / 0.5906 GB, free: 15.98 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006702/0.4325, allocations: 453.7 kB / 0.591 GB, free: 15.55 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/0.4337, allocations: 204.4 kB / 0.5912 GB, free: 15.35 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03453/0.4682, allocations: 25.37 MB / 0.616 GB, free: 2.387 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002133/0.4703, allocations: 2.047 MB / 0.618 GB, free: 316 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002623/0.473, allocations: 1.312 MB / 0.6193 GB, free: 14.98 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001136/0.4741, allocations: 0.9444 MB / 0.6202 GB, free: 14.04 MB / 462.1 MB Notification: Performance of SimCode: time 1.242e-06/0.4741, allocations: 0 / 0.6202 GB, free: 14.04 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0693/0.5434, allocations: 35.83 MB / 0.6552 GB, free: 10.46 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.63/16.17, allocations: 4.062 kB / 0.6552 GB, free: 10.46 MB / 494.1 MB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_StewartPlatform_StewartPlatform_Tests_SpindleDrive_test_fmu --startTime=0 --stopTime=10 --stepSize=0.02 --timeout=50 --tolerance=1e-06 StewartPlatform_StewartPlatform_Tests_SpindleDrive_test.fmu > StewartPlatform_StewartPlatform.Tests.SpindleDrive_test.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.656192463007756] Failed to read output from testmodel.py, exit status != 0: 16.361291980021633 16.376416751 16.238873161 Calling exit ...