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.00139/0.00139, allocations: 104.3 kB / 19.77 MB, free: 2.051 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.001474/0.001474, allocations: 215.5 kB / 23.06 MB, free: 4.848 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.23/1.23, allocations: 230.7 MB / 256.9 MB, free: 7.727 MB / 206.1 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.02516/0.02516, allocations: 5.288 MB / 318.6 MB, free: 13.63 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.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 - Absyn->SCode: time 7.344e-06/7.344e-06, allocations: 4.531 kB / 443.2 MB, free: 7.355 MB / 302.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.Trajectory_test): time 0.00275/0.002757, allocations: 3.377 MB / 446.6 MB, free: 3.961 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002821/0.005578, allocations: 3.218 MB / 449.8 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001133/0.005691, allocations: 8 kB / 449.8 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004861/0.006178, allocations: 255.2 kB / 450.1 MB, free: 488 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001391/0.007569, allocations: 0.9073 MB / 451 MB, free: 15.57 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003656/0.007934, allocations: 247.5 kB / 451.2 MB, free: 15.32 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00127/0.009205, allocations: 1.261 MB / 452.5 MB, free: 14.06 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002607/0.009466, allocations: 146.8 kB / 452.6 MB, free: 13.91 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004109/0.009876, allocations: 470.5 kB / 453.1 MB, free: 13.45 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006791/0.01056, allocations: 0.6425 MB / 453.7 MB, free: 12.8 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00011/0.01067, allocations: 64 kB / 453.8 MB, free: 12.74 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001284/0.01195, allocations: 0.9008 MB / 454.7 MB, free: 11.84 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.001383/0.01333, allocations: 1.621 MB / 456.3 MB, free: 10.21 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006076/0.01394, allocations: 0.8577 MB / 457.2 MB, free: 9.34 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.177e-05/0.01401, allocations: 44 kB / 457.2 MB, free: 9.297 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.157e-05/0.01404, allocations: 15.92 kB / 457.2 MB, free: 9.281 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 (60) * Number of variables: 100 (60) Notification: Performance of [SIM] Bindings: time 0.004219/0.01826, allocations: 4.88 MB / 462.1 MB, free: 4.223 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0003534/0.01862, allocations: 307.3 kB / 462.4 MB, free: 3.898 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.001542/0.02016, allocations: 1.755 MB / 464.2 MB, free: 2.113 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0005255/0.02068, allocations: 425.2 kB / 464.6 MB, free: 1.645 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.002376/0.02306, allocations: 1.911 MB / 466.5 MB, free: 15.57 MB / 334.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0003139/0.02337, allocations: 261.4 kB / 466.7 MB, free: 15.25 MB / 334.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001343/0.02351, allocations: 132.2 kB / 466.9 MB, free: 15.1 MB / 334.1 MB Notification: Performance of [SIM] Detect States: time 0.0002745/0.02378, allocations: 320.5 kB / 467.2 MB, free: 14.73 MB / 334.1 MB Notification: Performance of [SIM] Events: time 0.0005906/0.02437, allocations: 497.2 kB / 467.7 MB, free: 14.26 MB / 334.1 MB Notification: Performance of [SIM] Partitioning: time 0.0005826/0.02496, allocations: 0.5825 MB / 468.3 MB, free: 13.58 MB / 334.1 MB Notification: Performance of [SIM] Causalize: time 0.001405/0.02636, allocations: 1.111 MB / 469.4 MB, free: 12.38 MB / 334.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0009412/0.0273, allocations: 1.089 MB / 470.5 MB, free: 11.29 MB / 334.1 MB Notification: Performance of [INI] Simplify: time 0.002415/0.02972, allocations: 1.775 MB / 472.2 MB, free: 9.445 MB / 334.1 MB Notification: Performance of [INI] Inline: time 0.002619/0.03234, allocations: 2.815 MB / 475 MB, free: 6.617 MB / 334.1 MB Notification: Performance of [INI] Partitioning: time 0.0001082/0.03244, allocations: 60.06 kB / 475.1 MB, free: 6.543 MB / 334.1 MB Notification: Performance of [INI] Cleanup: time 0.0002824/0.03273, allocations: 323.6 kB / 475.4 MB, free: 6.227 MB / 334.1 MB Notification: Performance of [INI] Causalize: time 0.004777/0.0375, allocations: 3.82 MB / 479.2 MB, free: 2.32 MB / 334.1 MB Notification: Performance of [INI] Tearing: time 5.817e-05/0.03756, allocations: 92 kB / 479.3 MB, free: 2.23 MB / 334.1 MB Notification: Performance of [SIM] Initialization: time 3.91e-07/0.03756, allocations: 288 / 479.3 MB, free: 2.23 MB / 334.1 MB Error: NBCausalize.checkSystemVariabilities failed. The following strong component has conflicting types: Real != Real[3] BLOCK: Single Strong Component (status = Solve.UNPROCESSED, size = 3) ----------------------------------------------------------------------- ### Variable: Real $RES_SIM_76 ### Equation: [ARRY] (3) $RES_SIM_76 = (if $TEV_0 then linearTrajectory.startPosition else if $TEV_1 then linearTrajectory.startPosition + linearTrajectory.v .* (time - linearTrajectory.startTime) else linearTrajectory.stopPosition) .- linearTrajectory.position ($RES_SIM_76) Error: NBCausalize.checkSystemVariabilities failed. The following strong component has conflicting types: Real != Real[3] BLOCK: Single Strong Component (status = Solve.UNPROCESSED, size = 3) ----------------------------------------------------------------------- ### Variable: Real $RES_SIM_64 ### Equation: [ARRY] (3) $RES_SIM_64 = (if $TEV_2 then {0.0, 0.0, 0.0} else if $TEV_3 then 2.0 * cubicTrajectory.ap[3] + (6.0 * cubicTrajectory.ap[4]) .* (time - cubicTrajectory.startTime) else {0.0, 0.0, 0.0}) .- cubicTrajectory.acceleration ($RES_SIM_64) Error: NBCausalize.checkSystemVariabilities failed. The following strong component has conflicting types: Real != Real[3] BLOCK: Single Strong Component (status = Solve.UNPROCESSED, size = 3) ----------------------------------------------------------------------- ### Variable: Real $RES_SIM_56 ### Equation: [ARRY] (3) $RES_SIM_56 = (if $TEV_2 then cubicTrajectory.startPosition else if $TEV_3 then cubicTrajectory.ap[3] .* (time - cubicTrajectory.startTime) ^ 2.0 + cubicTrajectory.ap[2] .* (time - cubicTrajectory.startTime) + cubicTrajectory.ap[1] + cubicTrajectory.ap[4] .* (time - cubicTrajectory.startTime) ^ 3.0 else cubicTrajectory.stopPosition) .- cubicTrajectory.position ($RES_SIM_56) Error: NBCausalize.checkSystemVariabilities failed. The following strong component has conflicting types: Real != Real[3] BLOCK: Single Strong Component (status = Solve.UNPROCESSED, size = 3) ----------------------------------------------------------------------- ### Variable: Real $RES_SIM_52 ### Equation: [ARRY] (3) $RES_SIM_52 = (if $TEV_2 then {0.0, 0.0, 0.0} else if $TEV_3 then (2.0 * cubicTrajectory.ap[3]) .* (time - cubicTrajectory.startTime) + cubicTrajectory.ap[2] + (3.0 * cubicTrajectory.ap[4]) .* (time - cubicTrajectory.startTime) ^ 2.0 else {0.0, 0.0, 0.0}) .- cubicTrajectory.speed ($RES_SIM_52) Error: NBCausalize.checkSystemVariabilities failed. The following strong component has conflicting types: Real != Real[3] BLOCK: Single Strong Component (status = Solve.UNPROCESSED, size = 3) ----------------------------------------------------------------------- ### Variable: Real $RES_SIM_40 ### Equation: [ARRY] (3) $RES_SIM_40 = (if $TEV_4 then stepTrajectory.startPosition else stepTrajectory.stopPosition) .- stepTrajectory.position ($RES_SIM_40) Error: NBCausalize.checkSystemVariabilities failed. The following strong component has conflicting types: Real != Real[3] BLOCK: Single Strong Component (status = Solve.UNPROCESSED, size = 3) ----------------------------------------------------------------------- ### Variable: Real $RES_SIM_15 ### Equation: [ARRY] (3) $RES_SIM_15 = (if $TEV_5 then trapezoidalTrajectory.startPosition else if $TEV_6 then trapezoidalTrajectory.initialSpeedVector .* (time - trapezoidalTrajectory.startTime) + trapezoidalTrajectory.startPosition + (0.5 * trapezoidalTrajectory.acceleration) .* (time - trapezoidalTrajectory.startTime) ^ 2.0 else if $TEV_7 then (0.5 * trapezoidalTrajectory.ai * trapezoidalTrajectory.direction) .* trapezoidalTrajectory.Ti ^ 2.0 + trapezoidalTrajectory.initialSpeedVector .* trapezoidalTrajectory.Ti + trapezoidalTrajectory.startPosition + trapezoidalTrajectory.speed .* (time - (trapezoidalTrajectory.Ti + trapezoidalTrajectory.startTime)) else if $TEV_8 then trapezoidalTrajectory.maxSpeedVector .* (time - (trapezoidalTrajectory.Tc + trapezoidalTrajectory.Ti + trapezoidalTrajectory.startTime)) + trapezoidalTrajectory.maxSpeedVector .* trapezoidalTrajectory.Tc + (0.5 * trapezoidalTrajectory.ai * trapezoidalTrajectory.direction) .* trapezoidalTrajectory.Ti ^ 2.0 + trapezoidalTrajectory.initialSpeedVector .* trapezoidalTrajectory.Ti + trapezoidalTrajectory.startPosition + (0.5 * trapezoidalTrajectory.acceleration) .* (time - trapezoidalTrajectory.startTime - trapezoidalTrajectory.Ti - trapezoidalTrajectory.Tc) ^ 2.0 else trapezoidalTrajectory.stopPosition) .- trapezoidalTrajectory.position ($RES_SIM_15) Error: NBCausalize.checkSystemVariabilities failed. The following strong component has conflicting types: Real != Real[3] BLOCK: Single Strong Component (status = Solve.UNPROCESSED, size = 3) ----------------------------------------------------------------------- ### Variable: Real $RES_SIM_9 ### Equation: [ARRY] (3) $RES_SIM_9 = (if $TEV_5 then {0.0, 0.0, 0.0} else if $TEV_6 then trapezoidalTrajectory.initialSpeedVector + trapezoidalTrajectory.acceleration .* (time - trapezoidalTrajectory.startTime) else if $TEV_7 then trapezoidalTrajectory.maxSpeedVector else if $TEV_8 then trapezoidalTrajectory.maxSpeedVector + trapezoidalTrajectory.acceleration .* (time - (trapezoidalTrajectory.Tc + trapezoidalTrajectory.Ti + trapezoidalTrajectory.startTime)) else {0.0, 0.0, 0.0}) .- trapezoidalTrajectory.speed ($RES_SIM_9) Error: NBCausalize.checkSystemVariabilities failed. The following strong component has conflicting types: Real != Real[3] BLOCK: Single Strong Component (status = Solve.UNPROCESSED, size = 3) ----------------------------------------------------------------------- ### Variable: Real $RES_SIM_27 ### Equation: [ARRY] (3) $RES_SIM_27 = (if $TEV_5 then {0.0, 0.0, 0.0} else if $TEV_6 then trapezoidalTrajectory.ai * trapezoidalTrajectory.direction else if $TEV_7 then {0.0, 0.0, 0.0} else if $TEV_8 then trapezoidalTrajectory.af * trapezoidalTrajectory.direction else {0.0, 0.0, 0.0}) .- trapezoidalTrajectory.acceleration ($RES_SIM_27) Error: Internal error NBDAEMode.main failed. Notification: Performance of [SIM] DAE-Mode: time 0.000629/0.03819, allocations: 0.5569 MB / 479.9 MB, free: 1.637 MB / 334.1 MB Notification: Performance of [SIM] Remove Dummies: time 6.542e-06/0.0382, allocations: 4 kB / 479.9 MB, free: 1.633 MB / 334.1 MB " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.9924158590147272] Failed to read output from testmodel.py, exit status != 0: 0.044029360986314714 0.057895899 0.041202965 Calling exit ...