Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr StewartPlatform_StewartPlatform.Tests.ServoMotor_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.001618/0.001618, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.0025/0.0025, allocations: 213.6 kB / 23.01 MB, free: 4.562 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.607/1.607, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.03225/0.03225, allocations: 6.585 MB / 319.8 MB, free: 12.63 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.ServoMotor_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.ServoMotor_test") translateModel(StewartPlatform.Tests.ServoMotor_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.ServoMotor_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.00237/0.00237, allocations: 65.47 kB / 445.1 MB, free: 4.824 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1452, allocations: 54.87 MB / 0.4883 GB, free: 13.87 MB / 366.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.ServoMotor_test): time 0.005389/0.1506, allocations: 2.525 MB / 0.4908 GB, free: 11.34 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001851/0.1525, allocations: 0.709 MB / 0.4914 GB, free: 10.62 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003282/0.1528, allocations: 7.938 kB / 0.4915 GB, free: 10.61 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003882/0.1532, allocations: 51.52 kB / 0.4915 GB, free: 10.56 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003131/0.1535, allocations: 55.48 kB / 0.4916 GB, free: 10.51 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004662/0.154, allocations: 99.88 kB / 0.4917 GB, free: 10.41 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005384/0.1545, allocations: 251.4 kB / 0.4919 GB, free: 10.16 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003242/0.1548, allocations: 96.53 kB / 0.492 GB, free: 10.07 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002262/0.155, allocations: 103.6 kB / 0.4921 GB, free: 9.965 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002343/0.1553, allocations: 111.5 kB / 0.4922 GB, free: 9.855 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.179e-05/0.1553, allocations: 24 kB / 0.4922 GB, free: 9.832 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.169e-05/0.1554, allocations: 20 kB / 0.4922 GB, free: 9.812 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.216e-05/0.1555, allocations: 51.84 kB / 0.4923 GB, free: 9.762 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001506/0.1556, allocations: 115.5 kB / 0.4924 GB, free: 9.648 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004647/0.1561, allocations: 255 kB / 0.4926 GB, free: 9.398 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.535e-06/0.1561, allocations: 0 / 0.4926 GB, free: 9.398 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.015e-06/0.1561, allocations: 4 kB / 0.4926 GB, free: 9.395 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.413e-05/0.1561, allocations: 0 / 0.4926 GB, free: 9.395 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001171/0.1573, allocations: 461.6 kB / 0.4931 GB, free: 8.914 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.301e-05/0.1574, allocations: 8.031 kB / 0.4931 GB, free: 8.906 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001246/0.1575, allocations: 28.75 kB / 0.4931 GB, free: 8.879 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005902/0.1581, allocations: 190.1 kB / 0.4933 GB, free: 8.668 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.539e-05/0.1581, allocations: 16.81 kB / 0.4933 GB, free: 8.652 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.271e-05/0.1582, allocations: 20.38 kB / 0.4933 GB, free: 8.633 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006775/0.1589, allocations: 255 kB / 0.4936 GB, free: 8.371 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.326e-05/0.1589, allocations: 3.984 kB / 0.4936 GB, free: 8.367 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.194e-05/0.1589, allocations: 8 kB / 0.4936 GB, free: 8.359 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.1589, allocations: 4 kB / 0.4936 GB, free: 8.355 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004577/0.1594, allocations: 161.6 kB / 0.4937 GB, free: 8.191 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001532/0.1609, allocations: 0.7621 MB / 0.4945 GB, free: 7.371 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004951/0.1614, allocations: 102.5 kB / 0.4946 GB, free: 7.262 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001682/0.1616, allocations: 56.81 kB / 0.4946 GB, free: 7.203 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.936e-05/0.1616, allocations: 3.984 kB / 0.4946 GB, free: 7.199 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.563e-05/0.1617, allocations: 30.56 kB / 0.4947 GB, free: 7.16 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.412e-06/0.1617, allocations: 0 / 0.4947 GB, free: 7.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006454/0.1623, allocations: 181.9 kB / 0.4948 GB, free: 6.977 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/0.1624, allocations: 77.11 kB / 0.4949 GB, free: 6.883 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002487/0.1627, allocations: 166.7 kB / 0.4951 GB, free: 6.707 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.886e-05/0.1627, allocations: 29.64 kB / 0.4951 GB, free: 6.672 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/0.1629, allocations: 168 kB / 0.4953 GB, free: 6.504 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.317e-05/0.1629, allocations: 39.69 kB / 0.4953 GB, free: 6.465 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.15e-05/0.163, allocations: 33.7 kB / 0.4953 GB, free: 6.426 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.1632, allocations: 326.8 kB / 0.4956 GB, free: 6.098 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001653/0.1633, allocations: 52.83 kB / 0.4957 GB, free: 6.043 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002197/0.1635, allocations: 110.8 kB / 0.4958 GB, free: 5.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003521/0.1639, allocations: 145.9 kB / 0.4959 GB, free: 5.746 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1639, allocations: 3.938 kB / 0.4959 GB, free: 5.742 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004722/0.1644, allocations: 185.4 kB / 0.4961 GB, free: 5.555 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.1644, allocations: 4 kB / 0.4961 GB, free: 5.551 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.1644, allocations: 4 kB / 0.4961 GB, free: 5.547 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.413e-05/0.1644, allocations: 0 / 0.4961 GB, free: 5.547 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000179/0.1646, allocations: 47.91 kB / 0.4962 GB, free: 5.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.1646, allocations: 0 / 0.4962 GB, free: 5.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/0.1648, allocations: 28.06 kB / 0.4962 GB, free: 5.473 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.765e-05/0.1648, allocations: 8 kB / 0.4962 GB, free: 5.465 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002326/0.165, allocations: 132.1 kB / 0.4963 GB, free: 5.332 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001783/0.1652, allocations: 90.78 kB / 0.4964 GB, free: 5.219 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002498/0.1654, allocations: 138 kB / 0.4966 GB, free: 5.062 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.907e-06/0.1654, allocations: 7.938 kB / 0.4966 GB, free: 5.055 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.0003441/0.1658, allocations: 157.4 kB / 0.4967 GB, free: 4.895 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.1658, allocations: 7.938 kB / 0.4967 GB, free: 4.887 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1658, allocations: 4 kB / 0.4967 GB, free: 4.883 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.898e-06/0.1658, allocations: 0 / 0.4967 GB, free: 4.883 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.1659, allocations: 44.09 kB / 0.4968 GB, free: 4.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.1659, allocations: 4 kB / 0.4968 GB, free: 4.836 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.1661, allocations: 15.98 kB / 0.4968 GB, free: 4.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.1661, allocations: 8 kB / 0.4968 GB, free: 4.812 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * Array equations: 0 * 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.0001683/0.1662, allocations: 196.1 kB / 0.497 GB, free: 4.613 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.303e-05/0.1663, allocations: 19.89 kB / 0.497 GB, free: 4.594 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.149e-05/0.1663, allocations: 13.41 kB / 0.497 GB, free: 4.582 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.311e-06/0.1663, allocations: 4 kB / 0.497 GB, free: 4.578 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.1663, allocations: 4 kB / 0.497 GB, free: 4.574 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.1664, allocations: 3.984 kB / 0.497 GB, free: 4.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003287/0.1667, allocations: 228.6 kB / 0.4972 GB, free: 4.305 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1667, allocations: 0 / 0.4972 GB, free: 4.305 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001592/0.1668, allocations: 31.97 kB / 0.4973 GB, free: 4.273 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.1668, allocations: 0 / 0.4973 GB, free: 4.273 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.1669, allocations: 0 / 0.4973 GB, free: 4.273 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1669, allocations: 0 / 0.4973 GB, free: 4.273 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.1669, allocations: 0 / 0.4973 GB, free: 4.273 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005789/0.1674, allocations: 295.2 kB / 0.4976 GB, free: 3.969 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.496e-05/0.1675, allocations: 11.94 kB / 0.4976 GB, free: 3.957 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.154e-05/0.1675, allocations: 8 kB / 0.4976 GB, free: 3.949 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.1676, allocations: 16.23 kB / 0.4976 GB, free: 3.934 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.259e-05/0.1677, allocations: 3.984 kB / 0.4976 GB, free: 3.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.1677, allocations: 7.938 kB / 0.4976 GB, free: 3.922 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001247/0.1678, allocations: 124 kB / 0.4977 GB, free: 3.801 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1678, allocations: 0 / 0.4977 GB, free: 3.801 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004049/0.1682, allocations: 83.67 kB / 0.4978 GB, free: 3.719 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inertia.phi,inertia.w) * 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 (9): * Single equations (assignments): 9 * Array equations: 0 * 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.0001331/0.1683, allocations: 95.19 kB / 0.4979 GB, free: 3.613 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005217/0.1689, allocations: 183.7 kB / 0.4981 GB, free: 3.434 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1689, allocations: 0 / 0.4981 GB, free: 3.434 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001352/0.169, allocations: 48.72 kB / 0.4981 GB, free: 3.387 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.1693, allocations: 36.78 kB / 0.4981 GB, free: 3.355 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.1704, allocations: 0.4958 MB / 0.4986 GB, free: 2.828 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004043/0.1708, allocations: 0.7434 MB / 0.4994 GB, free: 2.059 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.17e-05/0.1708, allocations: 15.44 kB / 0.4994 GB, free: 2.043 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1708, allocations: 0 / 0.4994 GB, free: 2.043 MB / 366.1 MB Notification: Performance of Templates: time 0.004891/0.1757, allocations: 2.089 MB / 0.5014 GB, free: 15.96 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f StewartPlatform_StewartPlatform.Tests.ServoMotor_test.makefile [Timeout 660] (rm -f StewartPlatform_StewartPlatform.Tests.ServoMotor_test.pipe ; mkfifo StewartPlatform_StewartPlatform.Tests.ServoMotor_test.pipe ; head -c 1048576 < StewartPlatform_StewartPlatform.Tests.ServoMotor_test.pipe >> ../files/StewartPlatform_StewartPlatform.Tests.ServoMotor_test.sim & ./StewartPlatform_StewartPlatform.Tests.ServoMotor_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > StewartPlatform_StewartPlatform.Tests.ServoMotor_test.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.714096829062328] Failed to read output from testmodel.py, exit status != 0: 0.1843115990050137 0.20185424700000001 0.041883379000000005 Calling exit ...