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.001446/0.001446, allocations: 118.9 kB / 17.17 MB, free: 5.977 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.001524/0.001524, allocations: 211.3 kB / 20.13 MB, free: 3.035 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.332/1.332, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.03055/0.03055, allocations: 6.578 MB / 316.1 MB, free: 1.219 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.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.001811/0.001811, allocations: 65.83 kB / 439.4 MB, free: 39.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07999/0.0818, allocations: 54.82 MB / 494.2 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.SpindleDrive_test): time 0.005548/0.08735, allocations: 7.262 MB / 0.4897 GB, free: 3.383 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003257/0.09061, allocations: 2.338 MB / 0.492 GB, free: 1.039 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005/0.09111, allocations: 35.88 kB / 0.4921 GB, free: 1.004 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001245/0.09235, allocations: 0.8326 MB / 0.4929 GB, free: 172 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001525/0.09388, allocations: 0.8245 MB / 0.4937 GB, free: 15.34 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005038/0.09438, allocations: 227.5 kB / 0.4939 GB, free: 15.12 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001965/0.09635, allocations: 1.851 MB / 0.4957 GB, free: 13.26 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001123/0.09747, allocations: 1.017 MB / 0.4967 GB, free: 12.23 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000773/0.09824, allocations: 0.6732 MB / 0.4973 GB, free: 11.55 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001166/0.09941, allocations: 1.047 MB / 0.4984 GB, free: 10.5 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002086/0.09962, allocations: 128 kB / 0.4985 GB, free: 10.38 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009338/0.1005, allocations: 0.6278 MB / 0.4991 GB, free: 9.746 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007054/0.1013, allocations: 0.8605 MB / 0.4999 GB, free: 8.883 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008596/0.1021, allocations: 1.071 MB / 0.501 GB, free: 7.805 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003396/0.1055, allocations: 3.469 MB / 0.5044 GB, free: 4.32 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1055, allocations: 0 / 0.5044 GB, free: 4.32 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1055, allocations: 0 / 0.5044 GB, free: 4.32 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.092e-05/0.1056, allocations: 0 / 0.5044 GB, free: 4.32 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.003605/0.1092, allocations: 2.515 MB / 0.5068 GB, free: 1.742 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.1092, allocations: 11.97 kB / 0.5068 GB, free: 1.73 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.184e-05/0.1093, allocations: 55.06 kB / 0.5069 GB, free: 1.676 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004336/0.1097, allocations: 432.6 kB / 0.5073 GB, free: 1.242 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005044/0.1147, allocations: 1.579 MB / 0.5089 GB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001708/0.1165, allocations: 1.041 MB / 0.5099 GB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.305e-05/0.1165, allocations: 118.7 kB / 0.51 GB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002669/0.1168, allocations: 143.9 kB / 0.5101 GB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006895/0.1237, allocations: 5.519 MB / 0.5155 GB, free: 8.336 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.349e-05/0.1237, allocations: 27.77 kB / 0.5155 GB, free: 8.309 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001942/0.1239, allocations: 75.89 kB / 0.5156 GB, free: 8.234 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001832/0.1258, allocations: 1.264 MB / 0.5168 GB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007171/0.1329, allocations: 4.602 MB / 0.5213 GB, free: 2.363 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02245/0.1554, allocations: 22.11 MB / 0.5429 GB, free: 11.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002461/0.1579, allocations: 1.48 MB / 0.5444 GB, free: 9.879 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006014/0.1585, allocations: 405.9 kB / 0.5448 GB, free: 9.473 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003389/0.1588, allocations: 335.2 kB / 0.5451 GB, free: 9.09 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.1588, allocations: 46.5 kB / 0.5451 GB, free: 9.035 MB / 414.1 MB Notification: Performance of pre-optimization done (n=83): time 3.115e-06/0.1588, allocations: 0 / 0.5451 GB, free: 9.035 MB / 414.1 MB Notification: Performance of matching and sorting (n=91): time 0.008052/0.1669, allocations: 4.363 MB / 0.5494 GB, free: 4.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.023e-05/0.167, allocations: 136.5 kB / 0.5495 GB, free: 4.406 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003083/0.1701, allocations: 2.566 MB / 0.552 GB, free: 1.812 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.927e-05/0.1701, allocations: 37.7 kB / 0.5521 GB, free: 1.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001355/0.1715, allocations: 2.018 MB / 0.554 GB, free: 15.73 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003246/0.1718, allocations: 401 kB / 0.5544 GB, free: 15.34 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009024/0.1727, allocations: 0.8259 MB / 0.5552 GB, free: 14.5 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.1728, allocations: 301.1 kB / 0.5555 GB, free: 14.2 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00154/0.1743, allocations: 1.078 MB / 0.5566 GB, free: 13.12 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003513/0.1779, allocations: 3.794 MB / 0.5603 GB, free: 7.957 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005666/0.1835, allocations: 5.334 MB / 0.5655 GB, free: 1.27 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.803e-05/0.1836, allocations: 28.19 kB / 0.5655 GB, free: 1.242 MB / 430.1 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.006818/0.1904, allocations: 4.652 MB / 0.57 GB, free: 12.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.135e-05/0.1904, allocations: 44 kB / 0.5701 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.02e-05/0.1905, allocations: 100 kB / 0.5702 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001203/0.1907, allocations: 124 kB / 0.5703 GB, free: 12.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002362/0.193, allocations: 0.9396 MB / 0.5712 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000143/0.1932, allocations: 191.2 kB / 0.5714 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001909/0.1951, allocations: 204 kB / 0.5716 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002842/0.1954, allocations: 256 kB / 0.5718 GB, free: 10.75 MB / 446.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.001553/0.1969, allocations: 1.288 MB / 0.5731 GB, free: 9.453 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003234/0.1972, allocations: 218.5 kB / 0.5733 GB, free: 9.238 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004108/0.1976, allocations: 247.8 kB / 0.5735 GB, free: 8.992 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.097e-05/0.1977, allocations: 12 kB / 0.5735 GB, free: 8.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.1977, allocations: 0 / 0.5735 GB, free: 8.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.1977, allocations: 3.984 kB / 0.5736 GB, free: 8.977 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004395/0.2021, allocations: 3.11 MB / 0.5766 GB, free: 5.711 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/0.2021, allocations: 4 kB / 0.5766 GB, free: 5.707 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005208/0.2026, allocations: 143.7 kB / 0.5767 GB, free: 5.566 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.204e-05/0.2026, allocations: 12 kB / 0.5767 GB, free: 5.555 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.873e-05/0.2027, allocations: 24 kB / 0.5768 GB, free: 5.531 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.034e-05/0.2027, allocations: 12.52 kB / 0.5768 GB, free: 5.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.588e-06/0.2027, allocations: 19.88 kB / 0.5768 GB, free: 5.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002381/0.2051, allocations: 2.087 MB / 0.5788 GB, free: 3.324 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005285/0.2056, allocations: 367.5 kB / 0.5792 GB, free: 2.945 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001629/0.2058, allocations: 23.98 kB / 0.5792 GB, free: 2.922 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005836/0.2063, allocations: 31.97 kB / 0.5792 GB, free: 2.891 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.2065, allocations: 67.81 kB / 0.5793 GB, free: 2.824 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.848e-05/0.2065, allocations: 35.98 kB / 0.5793 GB, free: 2.789 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002003/0.2085, allocations: 1.564 MB / 0.5809 GB, free: 1.211 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2085, allocations: 0 / 0.5809 GB, free: 1.211 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002486/0.211, allocations: 0.5116 MB / 0.5814 GB, free: 0.6992 MB / 446.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.002862/0.2139, allocations: 2.72 MB / 0.584 GB, free: 13.87 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003735/0.2176, allocations: 2.427 MB / 0.5864 GB, free: 11.47 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.2176, allocations: 8.125 kB / 0.5864 GB, free: 11.46 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006233/0.2182, allocations: 439.8 kB / 0.5868 GB, free: 11.03 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001218/0.2195, allocations: 209.6 kB / 0.587 GB, free: 10.82 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2141/0.4336, allocations: 25.36 MB / 0.6118 GB, free: 94.47 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001295/0.4349, allocations: 2.035 MB / 0.6138 GB, free: 93.47 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002028/0.4369, allocations: 1.314 MB / 0.6151 GB, free: 93.37 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000788/0.4377, allocations: 0.9498 MB / 0.616 GB, free: 92.63 MB / 462.1 MB Notification: Performance of SimCode: time 7.61e-07/0.4377, allocations: 0 / 0.616 GB, free: 92.63 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04733/0.485, allocations: 32.46 MB / 0.6477 GB, free: 61.89 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.62/13.11, allocations: 4.062 kB / 0.6477 GB, free: 61.88 MB / 462.1 MB " [Timeout remaining time 647] (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 os._exit(0), Time elapsed: 15.549418476992287] Failed to read output from testmodel.py, exit status != 0: 13.256220687006135 13.264829539 13.15737622 Calling exit ...