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.001416/0.001416, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001502/0.001502, allocations: 219 kB / 22.26 MB, free: 5.125 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.492/1.492, allocations: 230.6 MB / 256 MB, free: 8 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.03544/0.03544, allocations: 6.574 MB / 319 MB, free: 12.67 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.002165/0.002165, allocations: 63.91 kB / 444.4 MB, free: 4.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1069, allocations: 54.85 MB / 499.2 MB, free: 13.94 MB / 366.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.SpindleDrive_test): time 0.01038/0.1173, allocations: 7.289 MB / 0.4946 GB, free: 6.617 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004724/0.122, allocations: 2.356 MB / 0.4969 GB, free: 4.254 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000513/0.1225, allocations: 31.88 kB / 0.497 GB, free: 4.223 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001773/0.1243, allocations: 0.8365 MB / 0.4978 GB, free: 3.383 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001761/0.1261, allocations: 0.8479 MB / 0.4986 GB, free: 2.531 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005498/0.1266, allocations: 211.5 kB / 0.4988 GB, free: 2.324 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002302/0.1289, allocations: 1.864 MB / 0.5006 GB, free: 468 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001306/0.1302, allocations: 1.079 MB / 0.5017 GB, free: 15.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009133/0.1311, allocations: 0.681 MB / 0.5024 GB, free: 14.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00147/0.1326, allocations: 1.039 MB / 0.5034 GB, free: 13.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002371/0.1329, allocations: 128 kB / 0.5035 GB, free: 13.51 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001059/0.1339, allocations: 0.6279 MB / 0.5041 GB, free: 12.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008193/0.1347, allocations: 0.8644 MB / 0.505 GB, free: 12.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00122/0.136, allocations: 1.075 MB / 0.506 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004308/0.1403, allocations: 3.469 MB / 0.5094 GB, free: 7.449 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.1403, allocations: 4 kB / 0.5094 GB, free: 7.445 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.1403, allocations: 0 / 0.5094 GB, free: 7.445 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.666e-05/0.1403, allocations: 0 / 0.5094 GB, free: 7.445 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.00407/0.1444, allocations: 2.432 MB / 0.5118 GB, free: 4.969 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.1444, allocations: 8.031 kB / 0.5118 GB, free: 4.961 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005344/0.1498, allocations: 1.586 MB / 0.5133 GB, free: 3.371 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002158/0.1519, allocations: 0.9727 MB / 0.5143 GB, free: 2.367 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001076/0.1521, allocations: 123.1 kB / 0.5144 GB, free: 2.246 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003163/0.1524, allocations: 143.8 kB / 0.5145 GB, free: 2.105 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2237/0.376, allocations: 5.527 MB / 0.5199 GB, free: 27.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.711e-05/0.3761, allocations: 28.94 kB / 0.52 GB, free: 27.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001964/0.3763, allocations: 75.28 kB / 0.52 GB, free: 27.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002038/0.3783, allocations: 1.265 MB / 0.5213 GB, free: 27.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008978/0.3873, allocations: 4.598 MB / 0.5258 GB, free: 26.58 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02102/0.4083, allocations: 22 MB / 0.5472 GB, free: 9.977 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002162/0.4105, allocations: 1.024 MB / 0.5482 GB, free: 9.551 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005443/0.411, allocations: 408.6 kB / 0.5486 GB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002574/0.4113, allocations: 109.7 kB / 0.5487 GB, free: 9.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.4113, allocations: 46.3 kB / 0.5488 GB, free: 9.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=83): time 2.876e-06/0.4113, allocations: 0 / 0.5488 GB, free: 9.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=91): time 0.007374/0.4187, allocations: 4.225 MB / 0.5529 GB, free: 6.758 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/0.4187, allocations: 136.3 kB / 0.553 GB, free: 6.602 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002462/0.4212, allocations: 2.557 MB / 0.5555 GB, free: 5.281 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.067e-05/0.4212, allocations: 33.7 kB / 0.5556 GB, free: 5.242 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007557/0.422, allocations: 2.024 MB / 0.5575 GB, free: 3.465 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002062/0.4222, allocations: 399.6 kB / 0.5579 GB, free: 3.145 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007116/0.4229, allocations: 0.8191 MB / 0.5587 GB, free: 2.672 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.518e-05/0.4229, allocations: 305.1 kB / 0.559 GB, free: 2.371 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001337/0.4243, allocations: 1.078 MB / 0.5601 GB, free: 1.699 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003366/0.4276, allocations: 3.794 MB / 0.5638 GB, free: 12.54 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006315/0.434, allocations: 5.335 MB / 0.569 GB, free: 5.848 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.545e-05/0.434, allocations: 33.97 kB / 0.569 GB, free: 5.816 MB / 398.1 MB Notification: Performance of matching and sorting (n=533) (initialization): time 0.007536/0.4415, allocations: 4.627 MB / 0.5735 GB, free: 1.188 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.356e-05/0.4416, allocations: 48 kB / 0.5736 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.973e-05/0.4417, allocations: 99.94 kB / 0.5737 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001389/0.4418, allocations: 128 kB / 0.5738 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002671/0.4445, allocations: 0.9397 MB / 0.5747 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000165/0.4447, allocations: 191.7 kB / 0.5749 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002201/0.4469, allocations: 211.7 kB / 0.5751 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003169/0.4472, allocations: 261.5 kB / 0.5754 GB, free: 15.33 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.001798/0.449, allocations: 1.276 MB / 0.5766 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003576/0.4493, allocations: 226.4 kB / 0.5768 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004381/0.4498, allocations: 243.8 kB / 0.577 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-05/0.4498, allocations: 11.94 kB / 0.5771 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.898e-06/0.4498, allocations: 4 kB / 0.5771 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.417e-06/0.4498, allocations: 7.984 kB / 0.5771 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005246/0.4551, allocations: 3.072 MB / 0.5801 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.728e-05/0.4551, allocations: 8 kB / 0.5801 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005978/0.4557, allocations: 139.7 kB / 0.5802 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-05/0.4557, allocations: 8.719 kB / 0.5802 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.401e-05/0.4558, allocations: 23.98 kB / 0.5802 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.557e-05/0.4558, allocations: 17.97 kB / 0.5803 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.888e-06/0.4558, allocations: 7.938 kB / 0.5803 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002743/0.4585, allocations: 2.096 MB / 0.5823 GB, free: 7.973 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006796/0.4592, allocations: 294.3 kB / 0.5826 GB, free: 7.684 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002154/0.4594, allocations: 27.98 kB / 0.5826 GB, free: 7.656 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006594/0.4601, allocations: 31.5 kB / 0.5827 GB, free: 7.629 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/0.4602, allocations: 70.36 kB / 0.5827 GB, free: 7.562 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.583e-05/0.4603, allocations: 35.98 kB / 0.5828 GB, free: 7.527 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002175/0.4624, allocations: 1.568 MB / 0.5843 GB, free: 5.945 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4624, allocations: 0 / 0.5843 GB, free: 5.945 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002774/0.4652, allocations: 0.5116 MB / 0.5848 GB, free: 5.434 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.0002941/0.4655, allocations: 153.5 kB / 0.5849 GB, free: 5.277 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003851/0.4694, allocations: 2.432 MB / 0.5873 GB, free: 2.867 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.4694, allocations: 0.875 kB / 0.5873 GB, free: 2.867 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006892/0.4701, allocations: 444.5 kB / 0.5877 GB, free: 2.434 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.4713, allocations: 209.6 kB / 0.5879 GB, free: 2.234 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007676/0.479, allocations: 4.975 MB / 0.5928 GB, free: 13.15 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002193/0.4812, allocations: 2.031 MB / 0.5948 GB, free: 11.09 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002785/0.484, allocations: 1.316 MB / 0.5961 GB, free: 9.766 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003078/0.4843, allocations: 147.4 kB / 0.5962 GB, free: 9.621 MB / 430.1 MB Notification: Performance of SimCode: time 9.11e-07/0.4843, allocations: 0 / 0.5962 GB, free: 9.621 MB / 430.1 MB Notification: Performance of Templates: time 0.0365/0.5208, allocations: 16 MB / 0.6118 GB, free: 9.691 MB / 446.1 MB " [Timeout remaining time 659] 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.898829150013626] Failed to read output from testmodel.py, exit status != 0: 0.5285322619602084 0.5444272809999999 0.40092589399999995 Calling exit ...