Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DeltaRobot_DeltaRobot.Tests.Trajectory_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.0007493/0.0007493, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008454/0.0008454, allocations: 178.2 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.8757/0.8757, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.02049/0.02049, allocations: 4.076 MB / 264 MB, free: 9.266 MB / 250.7 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.Trajectory_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.Trajectory_test") translateModel(DeltaRobot.Tests.Trajectory_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.Trajectory_test") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.405e-06/2.405e-06, allocations: 0 / 388.8 MB, free: 8.574 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.411e-05/2.651e-05, allocations: 6.219 kB / 388.8 MB, free: 8.566 MB / 314.7 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.Trajectory_test): time 0.003486/0.003513, allocations: 3.37 MB / 392.2 MB, free: 5.176 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00332/0.006833, allocations: 3.21 MB / 395.4 MB, free: 1.957 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002036/0.007037, allocations: 8 kB / 395.4 MB, free: 1.949 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006472/0.007684, allocations: 271 kB / 395.7 MB, free: 1.684 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001562/0.009246, allocations: 0.9184 MB / 396.6 MB, free: 0.7617 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003621/0.009608, allocations: 250.6 kB / 396.9 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001106/0.01071, allocations: 1.199 MB / 398.1 MB, free: 15.32 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005807/0.0113, allocations: 220.7 kB / 398.3 MB, free: 15.09 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007166/0.01201, allocations: 0.6314 MB / 398.9 MB, free: 14.45 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007157/0.01273, allocations: 0.7756 MB / 399.7 MB, free: 13.68 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001808/0.01291, allocations: 112 kB / 399.8 MB, free: 13.57 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00154/0.01445, allocations: 0.9787 MB / 400.8 MB, free: 12.59 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003997/0.01485, allocations: 0.5259 MB / 401.3 MB, free: 12.06 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004483/0.0153, allocations: 419 kB / 401.7 MB, free: 11.65 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002255/0.01755, allocations: 2.03 MB / 403.7 MB, free: 9.613 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.01756, allocations: 4 kB / 403.7 MB, free: 9.609 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.01756, allocations: 0 / 403.7 MB, free: 9.609 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.702e-05/0.0176, allocations: 0 / 403.7 MB, free: 9.609 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.004318/0.02191, allocations: 2.186 MB / 405.9 MB, free: 7.387 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.02195, allocations: 12.03 kB / 405.9 MB, free: 7.375 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/0.02296, allocations: 295.3 kB / 406.2 MB, free: 7.086 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001365/0.02432, allocations: 1.024 MB / 407.2 MB, free: 6.035 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003841/0.02471, allocations: 0.5146 MB / 407.8 MB, free: 5.438 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.146e-05/0.02479, allocations: 36 kB / 407.8 MB, free: 5.402 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003524/0.02831, allocations: 2.538 MB / 410.3 MB, free: 2.73 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.02833, allocations: 3.938 kB / 410.3 MB, free: 2.727 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.719e-05/0.02839, allocations: 20 kB / 410.4 MB, free: 2.707 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.0284, allocations: 12 kB / 410.4 MB, free: 2.695 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1407/0.1691, allocations: 3.569 MB / 413.9 MB, free: 35.95 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002578/0.1717, allocations: 2.397 MB / 416.3 MB, free: 34.48 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004053/0.1757, allocations: 2.242 MB / 418.6 MB, free: 34.12 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003108/0.1788, allocations: 1.761 MB / 420.3 MB, free: 33.88 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.028e-05/0.1789, allocations: 4.25 kB / 420.3 MB, free: 33.88 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.1789, allocations: 41.38 kB / 420.4 MB, free: 33.83 MB / 330.7 MB Notification: Performance of pre-optimization done (n=32): time 2.505e-06/0.1789, allocations: 1.25 kB / 420.4 MB, free: 33.83 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.008881/0.1878, allocations: 5.215 MB / 425.6 MB, free: 32.18 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.155e-05/0.1879, allocations: 395.2 kB / 426 MB, free: 31.7 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00154/0.1894, allocations: 1.385 MB / 427.4 MB, free: 30.98 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.227e-05/0.1895, allocations: 32.39 kB / 427.4 MB, free: 30.94 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001811/0.1897, allocations: 411.4 kB / 427.8 MB, free: 30.61 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.1898, allocations: 116.8 kB / 427.9 MB, free: 30.52 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000217/0.19, allocations: 133.2 kB / 428 MB, free: 30.45 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.935e-05/0.1901, allocations: 332.3 kB / 428.4 MB, free: 30.12 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002825/0.1929, allocations: 1.819 MB / 430.2 MB, free: 29.32 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002815/0.1957, allocations: 2.193 MB / 432.4 MB, free: 28 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00498/0.2007, allocations: 3.404 MB / 435.8 MB, free: 24.59 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.2007, allocations: 4 kB / 435.8 MB, free: 24.58 MB / 330.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.005577/0.2063, allocations: 3.767 MB / 439.6 MB, free: 20.83 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.2063, allocations: 4 kB / 439.6 MB, free: 20.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.2063, allocations: 4 kB / 439.6 MB, free: 20.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.446e-05/0.2063, allocations: 7.891 kB / 439.6 MB, free: 20.82 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001377/0.2077, allocations: 0.7319 MB / 440.3 MB, free: 20.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.2077, allocations: 8.969 kB / 440.3 MB, free: 20.08 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001658/0.2094, allocations: 0.6941 MB / 441 MB, free: 19.4 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.596e-05/0.2094, allocations: 27.98 kB / 441 MB, free: 19.37 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (59): * Single equations (assignments): 59 * 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.000373/0.2098, allocations: 333.6 kB / 441.4 MB, free: 19.04 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001764/0.21, allocations: 87.44 kB / 441.4 MB, free: 18.95 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.869e-05/0.2101, allocations: 95.22 kB / 441.5 MB, free: 18.86 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.2101, allocations: 4 kB / 441.5 MB, free: 18.85 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/0.2101, allocations: 8 kB / 441.6 MB, free: 18.84 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.2101, allocations: 3.938 kB / 441.6 MB, free: 18.84 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006718/0.2107, allocations: 0.5809 MB / 442.1 MB, free: 18.24 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.2108, allocations: 3.625 kB / 442.1 MB, free: 18.24 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001224/0.212, allocations: 0.6841 MB / 442.8 MB, free: 17.56 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.212, allocations: 3.938 kB / 442.8 MB, free: 17.56 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.756e-05/0.212, allocations: 15.98 kB / 442.8 MB, free: 17.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.212, allocations: 0 / 442.8 MB, free: 17.54 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.212, allocations: 4 kB / 442.8 MB, free: 17.54 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005245/0.2173, allocations: 3.954 MB / 446.8 MB, free: 13.58 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000174/0.2174, allocations: 103.3 kB / 446.9 MB, free: 13.48 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001405/0.2176, allocations: 12 kB / 446.9 MB, free: 13.47 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001545/0.2191, allocations: 0.6716 MB / 447.6 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002586/0.2194, allocations: 151.7 kB / 447.7 MB, free: 12.65 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.879e-05/0.2194, allocations: 15.98 kB / 447.7 MB, free: 12.64 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008885/0.2203, allocations: 1.026 MB / 448.8 MB, free: 11.61 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2203, allocations: 0 / 448.8 MB, free: 11.61 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009018/0.2212, allocations: 431.2 kB / 449.2 MB, free: 11.19 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 simulation (32): * Single equations (assignments): 32 * 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.0006304/0.2218, allocations: 413.6 kB / 449.6 MB, free: 10.79 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005618/0.2275, allocations: 3.632 MB / 453.2 MB, free: 7.16 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.2275, allocations: 0 / 453.2 MB, free: 7.16 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002862/0.2303, allocations: 1.958 MB / 455.2 MB, free: 5.199 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/0.2315, allocations: 245.7 kB / 455.4 MB, free: 4.992 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004912/0.2364, allocations: 3.066 MB / 458.5 MB, free: 1.871 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/0.2367, allocations: 488.8 kB / 459 MB, free: 1.363 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005585/0.2373, allocations: 72.45 kB / 459 MB, free: 1.293 MB / 330.7 MB Notification: Performance of SimCode: time 1.413e-06/0.2373, allocations: 0 / 459 MB, free: 1.293 MB / 330.7 MB Notification: Performance of Templates: time 0.02318/0.2604, allocations: 22.2 MB / 481.2 MB, free: 11.19 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f DeltaRobot_DeltaRobot.Tests.Trajectory_test.makefile [Timeout 660] (rm -f DeltaRobot_DeltaRobot.Tests.Trajectory_test.pipe ; mkfifo DeltaRobot_DeltaRobot.Tests.Trajectory_test.pipe ; head -c 1048576 < DeltaRobot_DeltaRobot.Tests.Trajectory_test.pipe >> ../files/DeltaRobot_DeltaRobot.Tests.Trajectory_test.sim & ./DeltaRobot_DeltaRobot.Tests.Trajectory_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > DeltaRobot_DeltaRobot.Tests.Trajectory_test.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.2305786442011595] Failed to read output from testmodel.py, exit status != 0: 0.26682558935135603 0.275245133 0.2558990629999999 Calling exit ...