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.001244/0.001244, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001457/0.001457, allocations: 219.2 kB / 23.03 MB, free: 4.922 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.352/1.352, allocations: 230.6 MB / 256.8 MB, free: 7.824 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.03161/0.03161, allocations: 6.567 MB / 319.8 MB, free: 12.44 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.001771/0.001771, allocations: 67.91 kB / 444.6 MB, free: 4.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09/0.09177, allocations: 54.84 MB / 499.4 MB, free: 13.93 MB / 366.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.SpindleDrive_test): time 0.007706/0.09947, allocations: 6.457 MB / 0.494 GB, free: 7.438 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003942/0.1034, allocations: 2.197 MB / 0.4962 GB, free: 5.234 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003679/0.1038, allocations: 39.88 kB / 0.4962 GB, free: 5.195 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001547/0.1053, allocations: 0.8015 MB / 0.497 GB, free: 4.391 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001477/0.1068, allocations: 0.8362 MB / 0.4978 GB, free: 3.551 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004578/0.1073, allocations: 223.5 kB / 0.498 GB, free: 3.332 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001873/0.1091, allocations: 1.86 MB / 0.4999 GB, free: 1.469 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001114/0.1103, allocations: 1.079 MB / 0.5009 GB, free: 384 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007076/0.111, allocations: 0.6887 MB / 0.5016 GB, free: 15.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001158/0.1121, allocations: 1.043 MB / 0.5026 GB, free: 14.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002052/0.1123, allocations: 128 kB / 0.5027 GB, free: 14.51 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007986/0.1131, allocations: 0.5148 MB / 0.5032 GB, free: 14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006896/0.1138, allocations: 0.8644 MB / 0.5041 GB, free: 13.13 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006817/0.1145, allocations: 0.7603 MB / 0.5048 GB, free: 12.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003166/0.1177, allocations: 3.473 MB / 0.5082 GB, free: 8.875 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1177, allocations: 0 / 0.5082 GB, free: 8.875 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1177, allocations: 0 / 0.5082 GB, free: 8.875 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.035e-05/0.1177, allocations: 4 kB / 0.5082 GB, free: 8.871 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.0033/0.121, allocations: 2.44 MB / 0.5106 GB, free: 6.387 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.121, allocations: 12.03 kB / 0.5106 GB, free: 6.375 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.446e-05/0.1211, allocations: 51.06 kB / 0.5106 GB, free: 6.324 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004198/0.1215, allocations: 436.7 kB / 0.5111 GB, free: 5.887 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004771/0.1263, allocations: 1.571 MB / 0.5126 GB, free: 4.312 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001614/0.1279, allocations: 0.9806 MB / 0.5136 GB, free: 3.301 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.354e-05/0.128, allocations: 118.7 kB / 0.5137 GB, free: 3.184 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000265/0.1283, allocations: 143.9 kB / 0.5138 GB, free: 3.043 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.175/0.3033, allocations: 5.523 MB / 0.5192 GB, free: 27.22 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.15e-05/0.3033, allocations: 31.2 kB / 0.5192 GB, free: 27.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00017/0.3035, allocations: 73.59 kB / 0.5193 GB, free: 27.2 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001622/0.3051, allocations: 1.263 MB / 0.5205 GB, free: 27.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006586/0.3117, allocations: 4.601 MB / 0.525 GB, free: 26.88 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01677/0.3285, allocations: 21.24 MB / 0.5458 GB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002066/0.3305, allocations: 1.01 MB / 0.5468 GB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005053/0.331, allocations: 407.7 kB / 0.5471 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002241/0.3313, allocations: 107.2 kB / 0.5472 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.3313, allocations: 53.14 kB / 0.5473 GB, free: 10.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=83): time 3.277e-06/0.3313, allocations: 2.5 kB / 0.5473 GB, free: 10.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=91): time 0.006995/0.3383, allocations: 4.222 MB / 0.5514 GB, free: 7.926 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.3383, allocations: 138.4 kB / 0.5516 GB, free: 7.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002471/0.3408, allocations: 2.56 MB / 0.5541 GB, free: 6.535 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.041e-05/0.3408, allocations: 37.7 kB / 0.5541 GB, free: 6.496 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006807/0.3415, allocations: 2.018 MB / 0.5561 GB, free: 4.723 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000188/0.3417, allocations: 407.5 kB / 0.5565 GB, free: 4.398 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000643/0.3423, allocations: 0.8246 MB / 0.5573 GB, free: 3.922 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.489e-05/0.3424, allocations: 304.8 kB / 0.5575 GB, free: 3.625 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00116/0.3435, allocations: 1.076 MB / 0.5586 GB, free: 3.004 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002509/0.346, allocations: 3.794 MB / 0.5623 GB, free: 13.84 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005522/0.3516, allocations: 5.337 MB / 0.5675 GB, free: 7.16 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.939e-05/0.3516, allocations: 24 kB / 0.5675 GB, free: 7.137 MB / 398.1 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.006483/0.3581, allocations: 4.626 MB / 0.5721 GB, free: 2.508 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.073e-05/0.3582, allocations: 52.22 kB / 0.5721 GB, free: 2.457 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.568e-05/0.3582, allocations: 99.98 kB / 0.5722 GB, free: 2.359 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001324/0.3584, allocations: 128 kB / 0.5723 GB, free: 2.234 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002316/0.3607, allocations: 0.9396 MB / 0.5732 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001389/0.3608, allocations: 193 kB / 0.5734 GB, free: 1.105 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001956/0.3628, allocations: 203.7 kB / 0.5736 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002819/0.3631, allocations: 260 kB / 0.5739 GB, free: 0.6523 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.001541/0.3646, allocations: 1.278 MB / 0.5751 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002889/0.3649, allocations: 222.5 kB / 0.5753 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003599/0.3653, allocations: 251.8 kB / 0.5756 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.8e-05/0.3653, allocations: 11.59 kB / 0.5756 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-05/0.3653, allocations: 4 kB / 0.5756 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.3653, allocations: 0 / 0.5756 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00434/0.3696, allocations: 2.864 MB / 0.5784 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.285e-06/0.3696, allocations: 4 kB / 0.5784 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005111/0.3702, allocations: 136.5 kB / 0.5785 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.196e-05/0.3702, allocations: 16 kB / 0.5785 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.536e-05/0.3702, allocations: 20 kB / 0.5785 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.481e-05/0.3702, allocations: 16.8 kB / 0.5786 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.554e-05/0.3702, allocations: 11.94 kB / 0.5786 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00235/0.3726, allocations: 2.1 MB / 0.5806 GB, free: 9.523 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004695/0.3731, allocations: 290.4 kB / 0.5809 GB, free: 9.238 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000182/0.3732, allocations: 20 kB / 0.5809 GB, free: 9.219 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005878/0.3738, allocations: 37.2 kB / 0.581 GB, free: 9.188 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.3739, allocations: 67.72 kB / 0.581 GB, free: 9.121 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.868e-05/0.374, allocations: 42.62 kB / 0.5811 GB, free: 9.082 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001893/0.3759, allocations: 1.572 MB / 0.5826 GB, free: 7.496 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3759, allocations: 0 / 0.5826 GB, free: 7.496 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002466/0.3784, allocations: 0.5136 MB / 0.5831 GB, free: 6.984 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.002741/0.3811, allocations: 2.703 MB / 0.5857 GB, free: 4.188 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003502/0.3846, allocations: 2.445 MB / 0.5881 GB, free: 1.762 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.3846, allocations: 0 / 0.5881 GB, free: 1.762 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006081/0.3852, allocations: 447 kB / 0.5886 GB, free: 1.328 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/0.3864, allocations: 220.2 kB / 0.5888 GB, free: 1.121 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02973/0.4161, allocations: 25.35 MB / 0.6135 GB, free: 4.168 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001704/0.4178, allocations: 1.463 MB / 0.615 GB, free: 2.672 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002579/0.4204, allocations: 1.316 MB / 0.6162 GB, free: 1.348 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001096/0.4215, allocations: 0.9406 MB / 0.6172 GB, free: 416 kB / 446.1 MB Notification: Performance of SimCode: time 1.132e-06/0.4215, allocations: 0 / 0.6172 GB, free: 416 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06478/0.4863, allocations: 33.45 MB / 0.6498 GB, free: 15.5 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.25/15.73, allocations: 9.734 kB / 0.6498 GB, free: 15.49 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.202334219939075] Failed to read output from testmodel.py, exit status != 0: 15.909008758957498 15.933275354 15.811321827 Calling exit ...