Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DeltaRobot_DeltaRobot.Tests.Switch2_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.001345/0.001345, allocations: 104.3 kB / 19.76 MB, free: 1.906 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.001453/0.001453, allocations: 214.2 kB / 23.06 MB, free: 4.984 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.243/1.243, allocations: 230.6 MB / 256.9 MB, free: 7.742 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.02509/0.02509, allocations: 5.282 MB / 318.6 MB, free: 13.65 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.Switch2_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.Switch2_test") translateModel(DeltaRobot.Tests.Switch2_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.Switch2_test") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 7.864e-06/7.864e-06, allocations: 5.891 kB / 443.2 MB, free: 7.375 MB / 302.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.Switch2_test): time 0.00255/0.002558, allocations: 2.982 MB / 446.2 MB, free: 4.379 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002595/0.005153, allocations: 2.941 MB / 449.1 MB, free: 1.426 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.005259, allocations: 4 kB / 449.2 MB, free: 1.422 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005047/0.005763, allocations: 243.3 kB / 449.4 MB, free: 1.184 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001085/0.006849, allocations: 0.8102 MB / 450.2 MB, free: 380 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000151/0.007, allocations: 107.9 kB / 450.3 MB, free: 272 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009405/0.00794, allocations: 0.9569 MB / 451.3 MB, free: 15.31 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002898/0.00823, allocations: 171 kB / 451.4 MB, free: 15.13 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003787/0.008609, allocations: 370.8 kB / 451.8 MB, free: 14.77 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005484/0.009157, allocations: 490.6 kB / 452.3 MB, free: 14.29 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.84e-05/0.009225, allocations: 44 kB / 452.3 MB, free: 14.25 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001228/0.01045, allocations: 0.8266 MB / 453.1 MB, free: 13.42 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0009383/0.01139, allocations: 1.062 MB / 454.2 MB, free: 12.35 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004719/0.01186, allocations: 0.6531 MB / 454.9 MB, free: 11.69 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.488e-05/0.01193, allocations: 36 kB / 454.9 MB, free: 11.65 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.029e-05/0.01196, allocations: 11.98 kB / 454.9 MB, free: 11.64 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: 88 (59) * Number of variables: 88 (45) Notification: Performance of [SIM] Bindings: time 0.003376/0.01533, allocations: 3.878 MB / 458.8 MB, free: 7.594 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002836/0.01562, allocations: 245.8 kB / 459 MB, free: 7.344 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.0009763/0.01659, allocations: 1.096 MB / 460.1 MB, free: 6.219 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0003365/0.01693, allocations: 260.5 kB / 460.4 MB, free: 5.906 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.001792/0.01872, allocations: 1.395 MB / 461.8 MB, free: 4.367 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002298/0.01895, allocations: 182.2 kB / 461.9 MB, free: 4.141 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 9.665e-05/0.01905, allocations: 97.69 kB / 462 MB, free: 4.02 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.0002511/0.0193, allocations: 224.6 kB / 462.3 MB, free: 3.746 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.0003287/0.01963, allocations: 246.9 kB / 462.5 MB, free: 3.492 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.0004323/0.02006, allocations: 405.1 kB / 462.9 MB, free: 3.051 MB / 318.1 MB Notification: Performance of [SIM] Causalize: time 0.001239/0.0213, allocations: 0.9765 MB / 463.9 MB, free: 2.02 MB / 318.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0007151/0.02202, allocations: 0.8235 MB / 464.7 MB, free: 1.195 MB / 318.1 MB Notification: Performance of [INI] Simplify: time 0.001536/0.02355, allocations: 1.046 MB / 465.7 MB, free: 80 kB / 318.1 MB Notification: Performance of [INI] Inline: time 0.001813/0.02536, allocations: 1.929 MB / 467.7 MB, free: 14.13 MB / 334.1 MB Notification: Performance of [INI] Partitioning: time 8.579e-05/0.02545, allocations: 52.03 kB / 467.7 MB, free: 14.07 MB / 334.1 MB Notification: Performance of [INI] Cleanup: time 0.0001891/0.02564, allocations: 223.8 kB / 467.9 MB, free: 13.85 MB / 334.1 MB Notification: Performance of [INI] Causalize: time 0.003004/0.02864, allocations: 2.349 MB / 470.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of [INI] Tearing: time 4.942e-05/0.02869, allocations: 76 kB / 470.4 MB, free: 11.38 MB / 334.1 MB Notification: Performance of [SIM] Initialization: time 6.21e-07/0.02869, allocations: 0 / 470.4 MB, free: 11.38 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_23 ### Equation: [ARRY] (3) $RES_SIM_23 = (if $SEV_1 then switch2.deMux[1].positionOut else if $SEV_2 then switch2.deMux[2].positionOut else if $SEV_3 then switch2.deMux[2].positionOut else if $SEV_4 then switch2.deMux[2].positionOut else if $SEV_5 then switch2.deMux[2].positionOut else if $SEV_6 then switch2.deMux[2].positionOut else if $SEV_7 then switch2.deMux[2].positionOut else if $SEV_8 then switch2.deMux[2].positionOut else if $SEV_9 then switch2.deMux[2].positionOut else if $SEV_10 then switch2.deMux[2].positionOut else if $SEV_11 then switch2.deMux[2].positionOut else if $SEV_12 then switch2.deMux[2].positionOut else if $SEV_13 then switch2.deMux[2].positionOut else if $SEV_14 then switch2.deMux[2].positionOut else if $SEV_15 then switch2.deMux[2].positionOut else {0.0, 0.0, 0.0}) .- switch2.poseOutput.position ($RES_SIM_23) 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_6 ### Equation: [ARRY] (3) $RES_SIM_6 = (if $TEV_2 then linearTrajectory2.startPosition else if $TEV_3 then linearTrajectory2.startPosition + linearTrajectory2.v .* (time - linearTrajectory2.startTime) else linearTrajectory2.stopPosition) .- linearTrajectory2.position ($RES_SIM_6) 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_0 then linearTrajectory1.startPosition else if $TEV_1 then linearTrajectory1.startPosition + linearTrajectory1.v .* (time - linearTrajectory1.startTime) else linearTrajectory1.stopPosition) .- linearTrajectory1.position ($RES_SIM_15) Error: Internal error NBDAEMode.main failed. Notification: Performance of [SIM] DAE-Mode: time 0.0002955/0.02899, allocations: 266.7 kB / 470.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of [SIM] Remove Dummies: time 6.241e-06/0.02899, allocations: 4.5 kB / 470.6 MB, free: 11.09 MB / 334.1 MB " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.9971042179968208] Failed to read output from testmodel.py, exit status != 0: 0.034992613014765084 0.049033159 0.034459479 Calling exit ...