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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 109.5 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 225.6 MB / 247.8 MB, free: 13.9 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.03244/0.03244, allocations: 6.579 MB / 309.3 MB, free: 3.281 MB / 238.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 71.88 kB / 430.2 MB, free: 17.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09448/0.09633, allocations: 53.64 MB / 483.8 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.SpindleDrive_test): time 0.01004/0.1064, allocations: 7.263 MB / 491.1 MB, free: 4.578 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005096/0.1115, allocations: 2.279 MB / 493.4 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005216/0.112, allocations: 31.94 kB / 493.4 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001701/0.1137, allocations: 0.8131 MB / 494.2 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001672/0.1154, allocations: 0.8439 MB / 495.1 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004921/0.1158, allocations: 215.5 kB / 495.3 MB, free: 396 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00219/0.118, allocations: 1.879 MB / 497.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001316/0.1193, allocations: 1.014 MB / 498.2 MB, free: 13.47 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009668/0.1203, allocations: 0.6731 MB / 498.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00134/0.1217, allocations: 1.043 MB / 499.9 MB, free: 11.75 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002385/0.1219, allocations: 132 kB / 0.4883 GB, free: 11.62 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001068/0.123, allocations: 0.6201 MB / 0.4889 GB, free: 11 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008062/0.1238, allocations: 0.8761 MB / 0.4898 GB, free: 10.12 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001002/0.1248, allocations: 1.094 MB / 0.4908 GB, free: 9.016 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003868/0.1286, allocations: 3.485 MB / 0.4942 GB, free: 5.516 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1286, allocations: 0 / 0.4942 GB, free: 5.516 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1286, allocations: 3.938 kB / 0.4942 GB, free: 5.512 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.611e-05/0.1287, allocations: 0 / 0.4942 GB, free: 5.512 MB / 366.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.003808/0.1325, allocations: 2.542 MB / 0.4967 GB, free: 2.906 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.421e-05/0.1325, allocations: 12.02 kB / 0.4967 GB, free: 2.895 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004694/0.133, allocations: 424.7 kB / 0.4971 GB, free: 2.469 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004915/0.1379, allocations: 1.567 MB / 0.4987 GB, free: 0.8984 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002205/0.1401, allocations: 1.041 MB / 0.4997 GB, free: 15.81 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/0.1402, allocations: 118.8 kB / 0.4998 GB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002669/0.1405, allocations: 147.9 kB / 0.4999 GB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007336/0.1478, allocations: 5.523 MB / 0.5053 GB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.935e-05/0.1479, allocations: 27.75 kB / 0.5054 GB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001884/0.1481, allocations: 83.88 kB / 0.5054 GB, free: 9.457 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001851/0.1499, allocations: 1.264 MB / 0.5067 GB, free: 8.191 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007595/0.1575, allocations: 4.601 MB / 0.5112 GB, free: 3.582 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2252/0.3828, allocations: 22.09 MB / 0.5327 GB, free: 21.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002432/0.3852, allocations: 1.476 MB / 0.5342 GB, free: 20.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006333/0.3858, allocations: 412.7 kB / 0.5346 GB, free: 20.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003243/0.3861, allocations: 343 kB / 0.5349 GB, free: 19.74 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.3862, allocations: 42.23 kB / 0.5349 GB, free: 19.69 MB / 382.1 MB Notification: Performance of pre-optimization done (n=83): time 3.606e-06/0.3862, allocations: 0 / 0.5349 GB, free: 19.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=91): time 0.008321/0.3945, allocations: 4.368 MB / 0.5392 GB, free: 17.39 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/0.3945, allocations: 142.3 kB / 0.5393 GB, free: 17.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003418/0.398, allocations: 2.562 MB / 0.5418 GB, free: 16.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.152e-05/0.398, allocations: 36.45 kB / 0.5419 GB, free: 16.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009262/0.3989, allocations: 2.027 MB / 0.5439 GB, free: 14.8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002329/0.3992, allocations: 399.3 kB / 0.5442 GB, free: 14.53 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008623/0.4, allocations: 0.8278 MB / 0.545 GB, free: 14.11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.042e-05/0.4001, allocations: 305.1 kB / 0.5453 GB, free: 13.81 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00145/0.4015, allocations: 1.077 MB / 0.5464 GB, free: 13.49 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002295/0.4038, allocations: 3.794 MB / 0.5501 GB, free: 9.391 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004037/0.4079, allocations: 5.338 MB / 0.5553 GB, free: 4.422 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.953e-05/0.4079, allocations: 27.91 kB / 0.5553 GB, free: 4.422 MB / 382.1 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.005419/0.4133, allocations: 4.635 MB / 0.5599 GB, free: 2.211 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.726e-05/0.4134, allocations: 47.38 kB / 0.5599 GB, free: 2.211 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.055e-05/0.4135, allocations: 99.22 kB / 0.56 GB, free: 2.148 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.619e-05/0.4135, allocations: 128 kB / 0.5601 GB, free: 2.023 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00205/0.4156, allocations: 0.9402 MB / 0.561 GB, free: 1.082 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.839e-05/0.4157, allocations: 191.3 kB / 0.5612 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00216/0.4178, allocations: 199.7 kB / 0.5614 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002103/0.4181, allocations: 260 kB / 0.5617 GB, free: 456 kB / 382.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.001668/0.4197, allocations: 1.286 MB / 0.5629 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000447/0.4202, allocations: 218.5 kB / 0.5631 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004389/0.4206, allocations: 243.9 kB / 0.5634 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.266e-05/0.4206, allocations: 12 kB / 0.5634 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.539e-05/0.4206, allocations: 4 kB / 0.5634 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.4207, allocations: 11.92 kB / 0.5634 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005473/0.4261, allocations: 3.109 MB / 0.5664 GB, free: 11.42 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.29e-05/0.4261, allocations: 8.875 kB / 0.5664 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005586/0.4267, allocations: 136.5 kB / 0.5666 GB, free: 11.28 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-05/0.4267, allocations: 12 kB / 0.5666 GB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.177e-05/0.4268, allocations: 31.94 kB / 0.5666 GB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-05/0.4268, allocations: 11.94 kB / 0.5666 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.858e-06/0.4268, allocations: 11.94 kB / 0.5666 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002667/0.4295, allocations: 2.085 MB / 0.5687 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008405/0.4303, allocations: 366.9 kB / 0.569 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001894/0.4305, allocations: 26.12 kB / 0.569 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000614/0.4311, allocations: 27.97 kB / 0.5691 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/0.4312, allocations: 67.81 kB / 0.5691 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.996e-05/0.4313, allocations: 32 kB / 0.5692 GB, free: 8.523 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00229/0.4336, allocations: 1.572 MB / 0.5707 GB, free: 6.938 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4336, allocations: 0 / 0.5707 GB, free: 6.938 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002998/0.4366, allocations: 0.5316 MB / 0.5712 GB, free: 6.41 MB / 398.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.003186/0.4398, allocations: 2.715 MB / 0.5739 GB, free: 3.594 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004287/0.444, allocations: 2.433 MB / 0.5762 GB, free: 1.184 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.203e-06/0.444, allocations: 0 / 0.5762 GB, free: 1.184 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006904/0.4447, allocations: 445.6 kB / 0.5767 GB, free: 0.75 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001529/0.4463, allocations: 206.6 kB / 0.5769 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05471/0.501, allocations: 25.39 MB / 0.6017 GB, free: 3.574 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002659/0.5036, allocations: 2.035 MB / 0.6036 GB, free: 1.508 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004149/0.5078, allocations: 1.312 MB / 0.6049 GB, free: 192 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001922/0.5097, allocations: 0.9486 MB / 0.6058 GB, free: 15.24 MB / 446.1 MB Notification: Performance of SimCode: time 1.102e-06/0.5097, allocations: 0 / 0.6058 GB, free: 15.24 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1037/0.6134, allocations: 32.46 MB / 0.6375 GB, free: 15.01 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.67/14.29, allocations: 15.84 kB / 0.6376 GB, free: 15 MB / 478.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 & /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: 16.75356676802039] Failed to read output from testmodel.py, exit status != 0: 14.37750773690641 14.397888046 14.265373396 Calling exit ...