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.001602/0.001602, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.0019/0.0019, allocations: 214.2 kB / 22.24 MB, free: 5.242 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.393/1.393, allocations: 230.6 MB / 256 MB, free: 7.793 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.03355/0.03355, allocations: 6.583 MB / 319 MB, free: 12.41 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: translateModel(StewartPlatform.Tests.SpindleDrive_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.SpindleDrive_test") translateModel(StewartPlatform.Tests.SpindleDrive_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.SpindleDrive_test") [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.002131/0.002131, allocations: 63.89 kB / 444.3 MB, free: 4.344 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1057, allocations: 54.86 MB / 499.2 MB, free: 13.4 MB / 366.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.SpindleDrive_test): time 0.008208/0.1139, allocations: 6.495 MB / 0.4938 GB, free: 6.875 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004191/0.1181, allocations: 2.201 MB / 0.4959 GB, free: 4.668 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003937/0.1185, allocations: 35.88 kB / 0.496 GB, free: 4.633 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001674/0.1201, allocations: 0.8015 MB / 0.4968 GB, free: 3.82 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0016/0.1217, allocations: 0.8479 MB / 0.4976 GB, free: 2.969 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004649/0.1222, allocations: 223.5 kB / 0.4978 GB, free: 2.75 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001904/0.1241, allocations: 1.848 MB / 0.4996 GB, free: 0.8984 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001149/0.1253, allocations: 1.076 MB / 0.5007 GB, free: 15.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007161/0.126, allocations: 0.6847 MB / 0.5013 GB, free: 15.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001181/0.1272, allocations: 0.9963 MB / 0.5023 GB, free: 14.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002131/0.1274, allocations: 128 kB / 0.5024 GB, free: 14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008469/0.1282, allocations: 0.5109 MB / 0.5029 GB, free: 13.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007436/0.129, allocations: 0.8683 MB / 0.5038 GB, free: 12.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007111/0.1297, allocations: 0.7642 MB / 0.5045 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003301/0.133, allocations: 3.469 MB / 0.5079 GB, free: 8.359 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.133, allocations: 0 / 0.5079 GB, free: 8.359 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.133, allocations: 0 / 0.5079 GB, free: 8.359 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.84e-05/0.133, allocations: 0 / 0.5079 GB, free: 8.359 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.003378/0.1364, allocations: 2.44 MB / 0.5103 GB, free: 5.875 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.1364, allocations: 12.03 kB / 0.5103 GB, free: 5.863 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005054/0.1415, allocations: 1.571 MB / 0.5118 GB, free: 4.289 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002019/0.1435, allocations: 0.9845 MB / 0.5128 GB, free: 3.273 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.536e-05/0.1436, allocations: 115.1 kB / 0.5129 GB, free: 3.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002668/0.1439, allocations: 147.8 kB / 0.513 GB, free: 3.016 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1961/0.34, allocations: 5.525 MB / 0.5184 GB, free: 27.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.219e-05/0.34, allocations: 28 kB / 0.5185 GB, free: 27.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001788/0.3402, allocations: 75.39 kB / 0.5185 GB, free: 27.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001671/0.3419, allocations: 1.263 MB / 0.5198 GB, free: 27.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006581/0.3484, allocations: 4.594 MB / 0.5243 GB, free: 26.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01658/0.365, allocations: 20.72 MB / 0.5445 GB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002166/0.3672, allocations: 1.011 MB / 0.5455 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005351/0.3677, allocations: 409.1 kB / 0.5459 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002419/0.368, allocations: 105.3 kB / 0.546 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.368, allocations: 42.97 kB / 0.546 GB, free: 10.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=83): time 3.126e-06/0.368, allocations: 1.062 kB / 0.546 GB, free: 10.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=91): time 0.00768/0.3757, allocations: 4.206 MB / 0.5501 GB, free: 8.203 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.898e-05/0.3757, allocations: 135.7 kB / 0.5502 GB, free: 8.047 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00322/0.379, allocations: 2.388 MB / 0.5526 GB, free: 6.855 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.705e-05/0.379, allocations: 36.58 kB / 0.5526 GB, free: 6.816 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009359/0.38, allocations: 2.054 MB / 0.5546 GB, free: 5.012 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003021/0.3803, allocations: 405 kB / 0.555 GB, free: 4.688 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007439/0.381, allocations: 0.8268 MB / 0.5558 GB, free: 4.211 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.35e-05/0.3811, allocations: 337.9 kB / 0.5561 GB, free: 3.883 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001119/0.3822, allocations: 1.078 MB / 0.5572 GB, free: 3.387 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002483/0.3847, allocations: 3.791 MB / 0.5609 GB, free: 14.57 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005726/0.3904, allocations: 5.333 MB / 0.5661 GB, free: 7.914 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.224e-05/0.3905, allocations: 28 kB / 0.5661 GB, free: 7.887 MB / 398.1 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.006649/0.3971, allocations: 4.603 MB / 0.5706 GB, free: 3.281 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.834e-05/0.3972, allocations: 51.97 kB / 0.5707 GB, free: 3.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.774e-05/0.3972, allocations: 100 kB / 0.5708 GB, free: 3.133 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001203/0.3974, allocations: 126 kB / 0.5709 GB, free: 3.012 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002376/0.3997, allocations: 0.9435 MB / 0.5718 GB, free: 2.066 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001455/0.3999, allocations: 191.2 kB / 0.572 GB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001983/0.4019, allocations: 199.7 kB / 0.5722 GB, free: 1.684 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002861/0.4022, allocations: 260 kB / 0.5724 GB, free: 1.43 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.001653/0.4038, allocations: 1.288 MB / 0.5737 GB, free: 140 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003236/0.4041, allocations: 194.7 kB / 0.5739 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003553/0.4045, allocations: 221.3 kB / 0.5741 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.956e-05/0.4045, allocations: 12 kB / 0.5741 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/0.4045, allocations: 3.938 kB / 0.5741 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.373e-05/0.4045, allocations: 7.984 kB / 0.5741 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004417/0.409, allocations: 2.46 MB / 0.5765 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.388e-06/0.409, allocations: 4 kB / 0.5765 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005287/0.4095, allocations: 140.5 kB / 0.5766 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-05/0.4095, allocations: 16 kB / 0.5767 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.692e-05/0.4096, allocations: 27.92 kB / 0.5767 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.488e-06/0.4096, allocations: 8 kB / 0.5767 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-05/0.4096, allocations: 13.58 kB / 0.5767 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002504/0.4121, allocations: 2.069 MB / 0.5787 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006427/0.4127, allocations: 263.3 kB / 0.579 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001611/0.4129, allocations: 23.98 kB / 0.579 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005777/0.4135, allocations: 34.89 kB / 0.579 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.4136, allocations: 67.72 kB / 0.5791 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.962e-05/0.4136, allocations: 37.08 kB / 0.5791 GB, free: 10.37 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001709/0.4153, allocations: 1.334 MB / 0.5804 GB, free: 9.016 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4153, allocations: 0 / 0.5804 GB, free: 9.016 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002664/0.418, allocations: 0.5071 MB / 0.5809 GB, free: 8.512 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.000265/0.4183, allocations: 155.4 kB / 0.5811 GB, free: 8.352 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003563/0.4218, allocations: 2.429 MB / 0.5835 GB, free: 5.945 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.4218, allocations: 4 kB / 0.5835 GB, free: 5.941 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006459/0.4225, allocations: 451.9 kB / 0.5839 GB, free: 5.504 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/0.4236, allocations: 173.7 kB / 0.5841 GB, free: 5.336 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00757/0.4311, allocations: 4.929 MB / 0.5889 GB, free: 304 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002039/0.4332, allocations: 1.459 MB / 0.5903 GB, free: 14.8 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002747/0.4359, allocations: 1.288 MB / 0.5916 GB, free: 13.51 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003556/0.4363, allocations: 139.4 kB / 0.5917 GB, free: 13.38 MB / 430.1 MB Notification: Performance of SimCode: time 1.082e-06/0.4363, allocations: 0 / 0.5917 GB, free: 13.38 MB / 430.1 MB Notification: Performance of Templates: time 0.02904/0.4653, allocations: 13.49 MB / 0.6049 GB, free: 164 kB / 430.1 MB " [Timeout remaining time 660] make -j1 -f StewartPlatform_StewartPlatform.Tests.SpindleDrive_test.makefile [Timeout 660] (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 & ./StewartPlatform_StewartPlatform.Tests.SpindleDrive_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > StewartPlatform_StewartPlatform.Tests.SpindleDrive_test.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.196613060310483] Failed to read output from testmodel.py, exit status != 0: 0.4726764112710953 0.487771035 0.351846698 Calling exit ...