Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DeltaRobot_DeltaRobot.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.001562/0.001562, 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.002132/0.002132, allocations: 213.4 kB / 23.01 MB, free: 4.566 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.672/1.672, allocations: 230.6 MB / 256.8 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.02769/0.02769, allocations: 5.284 MB / 318.5 MB, free: 13.92 MB / 254.1 MB " [Timeout remaining time 180] Using package DeltaRobot with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 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(DeltaRobot.Tests.ServoMotor_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.ServoMotor_test") translateModel(DeltaRobot.Tests.ServoMotor_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.ServoMotor_test") [Timeout 660] "Notification: DeltaRobot 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.00201/0.00201, allocations: 63.89 kB / 443.2 MB, free: 7.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1436, allocations: 54.54 MB / 497.8 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.ServoMotor_test): time 0.00407/0.1476, allocations: 2.279 MB / 0.4883 GB, free: 15.02 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001379/0.149, allocations: 0.6895 MB / 0.489 GB, free: 14.32 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.1491, allocations: 4 kB / 0.489 GB, free: 14.32 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002558/0.1494, allocations: 43.62 kB / 0.4891 GB, free: 14.27 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001001/0.1495, allocations: 39.64 kB / 0.4891 GB, free: 14.23 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002991/0.1498, allocations: 95.83 kB / 0.4892 GB, free: 14.14 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002975/0.1501, allocations: 207.6 kB / 0.4894 GB, free: 13.94 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002465/0.1503, allocations: 81.2 kB / 0.4895 GB, free: 13.86 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.1505, allocations: 95.64 kB / 0.4896 GB, free: 13.76 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.1506, allocations: 83.64 kB / 0.4896 GB, free: 13.68 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.333e-05/0.1507, allocations: 20 kB / 0.4897 GB, free: 13.66 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.511e-05/0.1507, allocations: 20 kB / 0.4897 GB, free: 13.64 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.144e-05/0.1507, allocations: 43.91 kB / 0.4897 GB, free: 13.6 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001053/0.1508, allocations: 99.52 kB / 0.4898 GB, free: 13.5 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003147/0.1512, allocations: 211.2 kB / 0.49 GB, free: 13.29 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1512, allocations: 0 / 0.49 GB, free: 13.29 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1512, allocations: 0 / 0.49 GB, free: 13.29 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.1512, allocations: 0 / 0.49 GB, free: 13.29 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.000778/0.1519, allocations: 417.5 kB / 0.4904 GB, free: 12.86 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.152, allocations: 12.03 kB / 0.4904 GB, free: 12.84 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.977e-05/0.152, allocations: 24.73 kB / 0.4904 GB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003586/0.1524, allocations: 170.2 kB / 0.4906 GB, free: 12.63 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/0.1524, allocations: 16.38 kB / 0.4906 GB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.275e-05/0.1525, allocations: 12.38 kB / 0.4906 GB, free: 12.6 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004585/0.1529, allocations: 220.4 kB / 0.4908 GB, free: 12.37 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.153, allocations: 11.94 kB / 0.4909 GB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.501e-05/0.153, allocations: 11.98 kB / 0.4909 GB, free: 12.35 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.153, allocations: 4 kB / 0.4909 GB, free: 12.34 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003881/0.1534, allocations: 147.8 kB / 0.491 GB, free: 12.2 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/0.1545, allocations: 0.6786 MB / 0.4917 GB, free: 11.45 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003052/0.1548, allocations: 102.5 kB / 0.4918 GB, free: 11.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001397/0.1549, allocations: 44.94 kB / 0.4918 GB, free: 11.3 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.76e-05/0.1549, allocations: 0 / 0.4918 GB, free: 11.3 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.155, allocations: 34.5 kB / 0.4918 GB, free: 11.25 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 8.62e-07/0.155, allocations: 0 / 0.4918 GB, free: 11.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005421/0.1555, allocations: 161.4 kB / 0.492 GB, free: 11.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.179e-05/0.1556, allocations: 77.11 kB / 0.4921 GB, free: 11 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.1557, allocations: 144.8 kB / 0.4922 GB, free: 10.85 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.1557, allocations: 25.7 kB / 0.4922 GB, free: 10.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.1559, allocations: 156 kB / 0.4924 GB, free: 10.66 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.655e-05/0.1559, allocations: 35.72 kB / 0.4924 GB, free: 10.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.617e-05/0.1559, allocations: 29.7 kB / 0.4924 GB, free: 10.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.1561, allocations: 318.8 kB / 0.4928 GB, free: 10.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/0.1563, allocations: 48.81 kB / 0.4928 GB, free: 10.22 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000189/0.1564, allocations: 94.83 kB / 0.4929 GB, free: 10.1 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003115/0.1568, allocations: 137.9 kB / 0.493 GB, free: 9.945 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1568, allocations: 0 / 0.493 GB, free: 9.945 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000387/0.1571, allocations: 165.4 kB / 0.4932 GB, free: 9.777 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.1572, allocations: 8 kB / 0.4932 GB, free: 9.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.1572, allocations: 0 / 0.4932 GB, free: 9.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/0.1572, allocations: 4 kB / 0.4932 GB, free: 9.766 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001756/0.1574, allocations: 35.91 kB / 0.4932 GB, free: 9.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.662e-05/0.1574, allocations: 4 kB / 0.4932 GB, free: 9.727 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.1575, allocations: 23.88 kB / 0.4933 GB, free: 9.703 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.1575, allocations: 12.16 kB / 0.4933 GB, free: 9.691 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001754/0.1577, allocations: 128 kB / 0.4934 GB, free: 9.562 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001449/0.1578, allocations: 84.97 kB / 0.4935 GB, free: 9.457 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002208/0.1581, allocations: 118 kB / 0.4936 GB, free: 9.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.42e-07/0.1581, allocations: 0 / 0.4936 GB, free: 9.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization_lambda0): time 0.00029/0.1583, allocations: 141.5 kB / 0.4937 GB, free: 9.176 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.1584, allocations: 10.75 kB / 0.4937 GB, free: 9.168 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.1584, allocations: 4 kB / 0.4937 GB, free: 9.164 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.058e-06/0.1584, allocations: 3.984 kB / 0.4937 GB, free: 9.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.1585, allocations: 35.92 kB / 0.4938 GB, free: 9.125 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.1585, allocations: 4 kB / 0.4938 GB, free: 9.121 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.869e-05/0.1586, allocations: 20.12 kB / 0.4938 GB, free: 9.102 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.1586, allocations: 4 kB / 0.4938 GB, free: 9.098 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 (13): * Single equations (assignments): 13 * 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.0001271/0.1587, allocations: 180.3 kB / 0.494 GB, free: 8.914 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.471e-05/0.1587, allocations: 15.89 kB / 0.494 GB, free: 8.898 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.927e-05/0.1588, allocations: 12.66 kB / 0.494 GB, free: 8.887 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.1588, allocations: 0 / 0.494 GB, free: 8.887 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.1588, allocations: 4 kB / 0.494 GB, free: 8.883 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.1588, allocations: 3.984 kB / 0.494 GB, free: 8.879 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002699/0.1591, allocations: 200.6 kB / 0.4942 GB, free: 8.641 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.1591, allocations: 4 kB / 0.4942 GB, free: 8.637 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001473/0.1592, allocations: 27.92 kB / 0.4942 GB, free: 8.609 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1592, allocations: 0 / 0.4942 GB, free: 8.609 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.1592, allocations: 4.25 kB / 0.4942 GB, free: 8.605 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1592, allocations: 0 / 0.4942 GB, free: 8.605 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.1592, allocations: 4 kB / 0.4942 GB, free: 8.602 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005211/0.1598, allocations: 259.3 kB / 0.4945 GB, free: 8.332 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.583e-05/0.1598, allocations: 15.92 kB / 0.4945 GB, free: 8.316 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/0.1598, allocations: 7.922 kB / 0.4945 GB, free: 8.309 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.1599, allocations: 11.98 kB / 0.4945 GB, free: 8.297 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.357e-05/0.16, allocations: 7.922 kB / 0.4945 GB, free: 8.289 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-06/0.16, allocations: 0 / 0.4945 GB, free: 8.289 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.967e-05/0.1601, allocations: 115.3 kB / 0.4946 GB, free: 8.176 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1601, allocations: 0 / 0.4946 GB, free: 8.176 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003731/0.1604, allocations: 71.73 kB / 0.4947 GB, free: 8.105 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 (6): * Single equations (assignments): 6 * 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.0001171/0.1606, allocations: 95.23 kB / 0.4948 GB, free: 8.004 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004851/0.161, allocations: 144.2 kB / 0.4949 GB, free: 7.863 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.161, allocations: 7.938 kB / 0.4949 GB, free: 7.855 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001385/0.1612, allocations: 47.89 kB / 0.495 GB, free: 7.809 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/0.1615, allocations: 17.61 kB / 0.495 GB, free: 7.793 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000889/0.1624, allocations: 465 kB / 0.4954 GB, free: 7.305 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003754/0.1628, allocations: 0.7201 MB / 0.4961 GB, free: 6.559 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.294e-05/0.1628, allocations: 15.44 kB / 0.4962 GB, free: 6.543 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1628, allocations: 0 / 0.4962 GB, free: 6.543 MB / 366.1 MB Notification: Performance of Templates: time 0.004012/0.1668, allocations: 1.811 MB / 0.4979 GB, free: 4.738 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f DeltaRobot_DeltaRobot.Tests.ServoMotor_test.makefile [Timeout 660] (rm -f DeltaRobot_DeltaRobot.Tests.ServoMotor_test.pipe ; mkfifo DeltaRobot_DeltaRobot.Tests.ServoMotor_test.pipe ; head -c 1048576 < DeltaRobot_DeltaRobot.Tests.ServoMotor_test.pipe >> ../files/DeltaRobot_DeltaRobot.Tests.ServoMotor_test.sim & ./DeltaRobot_DeltaRobot.Tests.ServoMotor_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > DeltaRobot_DeltaRobot.Tests.ServoMotor_test.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.794092877069488] Failed to read output from testmodel.py, exit status != 0: 0.17492400109767914 0.19091001900000001 0.036649381 Calling exit ...