Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr StewartPlatform_StewartPlatform.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.00167/0.00167, 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.001864/0.001864, allocations: 214.7 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.665/1.665, allocations: 230.7 MB / 256.9 MB, free: 7.719 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.03431/0.03431, allocations: 6.571 MB / 319.9 MB, free: 12.39 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.Switch2_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.Switch2_test") translateModel(StewartPlatform.Tests.Switch2_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.Switch2_test") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 4.279e-05/4.279e-05, allocations: 7.188 kB / 445.1 MB, free: 4.316 MB / 302.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.Switch2_test): time 0.005277/0.005319, allocations: 3.601 MB / 448.7 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008181/0.0135, allocations: 3.87 MB / 452.6 MB, free: 12.8 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00072/0.01422, allocations: 12 kB / 452.6 MB, free: 12.79 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001181/0.0154, allocations: 286.3 kB / 452.9 MB, free: 12.51 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005267/0.02067, allocations: 1.4 MB / 454.3 MB, free: 11.11 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008748/0.02154, allocations: 223.5 kB / 454.5 MB, free: 10.89 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006307/0.02785, allocations: 3.595 MB / 458.1 MB, free: 7.293 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009003/0.02875, allocations: 307.2 kB / 458.4 MB, free: 6.984 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001595/0.03035, allocations: 0.6076 MB / 459 MB, free: 6.375 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001379/0.03172, allocations: 0.6969 MB / 459.7 MB, free: 5.676 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002119/0.03194, allocations: 88 kB / 459.8 MB, free: 5.59 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003893/0.03583, allocations: 1.048 MB / 460.8 MB, free: 4.539 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.002958/0.03879, allocations: 1.9 MB / 462.7 MB, free: 2.625 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.001558/0.04035, allocations: 1.071 MB / 463.8 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003675/0.04071, allocations: 52 kB / 463.9 MB, free: 1.492 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0001904/0.0409, allocations: 15.98 kB / 463.9 MB, free: 1.477 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: 184 (105) * Number of variables: 184 (71) Notification: Performance of [SIM] Bindings: time 0.009755/0.05066, allocations: 5.997 MB / 469.9 MB, free: 11.27 MB / 334.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0008656/0.05152, allocations: 359.5 kB / 470.2 MB, free: 10.9 MB / 334.1 MB Notification: Performance of [SIM] Early Inline: time 0.002785/0.05431, allocations: 2.135 MB / 472.4 MB, free: 8.734 MB / 334.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0009231/0.05523, allocations: 394 kB / 472.7 MB, free: 8.289 MB / 334.1 MB Notification: Performance of [SIM] Alias: time 0.005394/0.06063, allocations: 2.595 MB / 475.3 MB, free: 5.496 MB / 334.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0005331/0.06116, allocations: 253.7 kB / 475.6 MB, free: 5.191 MB / 334.1 MB Notification: Performance of [SIM] Remove Stream: time 0.000196/0.06136, allocations: 136.3 kB / 475.7 MB, free: 5.031 MB / 334.1 MB Notification: Performance of [SIM] Detect States: time 0.0005095/0.06187, allocations: 337.8 kB / 476.1 MB, free: 4.645 MB / 334.1 MB Notification: Performance of [SIM] Events: time 0.0005816/0.06245, allocations: 268.7 kB / 476.3 MB, free: 4.383 MB / 334.1 MB Notification: Performance of [SIM] Partitioning: time 0.0008772/0.06332, allocations: 0.5761 MB / 476.9 MB, free: 3.777 MB / 334.1 MB Notification: Performance of [SIM] Causalize: time 0.002759/0.06608, allocations: 1.645 MB / 478.5 MB, free: 2.082 MB / 334.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001753/0.06784, allocations: 1.268 MB / 479.8 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of [INI] Simplify: time 0.005807/0.07364, allocations: 2.372 MB / 482.2 MB, free: 14.35 MB / 350.1 MB Notification: Performance of [INI] Inline: time 10.46/10.53, allocations: 2.928 GB / 3.399 GB, free: 26.95 MB / 0.7794 GB Notification: Performance of [INI] Partitioning: time 0.0004944/10.53, allocations: 79.09 kB / 3.399 GB, free: 26.9 MB / 0.7794 GB Notification: Performance of [INI] Cleanup: time 0.3349/10.86, allocations: 97.76 MB / 3.494 GB, free: 26.02 MB / 0.7794 GB Notification: Performance of [INI] Causalize: time 1.096/11.96, allocations: 180.5 MB / 3.67 GB, free: 106.2 MB / 0.7794 GB Notification: Performance of [INI] Tearing: time 0.0001356/11.96, allocations: 168 kB / 3.671 GB, free: 106.1 MB / 0.7794 GB Notification: Performance of [SIM] Initialization: time 2.745e-06/11.96, allocations: 0 / 3.671 GB, free: 106.1 MB / 0.7794 GB 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_49 ### Equation: [ARRY] (3) $RES_SIM_49 = (if $SEV_1 then switch2.deMux[1].orientationOut else if $SEV_2 then switch2.deMux[2].orientationOut else if $SEV_3 then switch2.deMux[2].orientationOut else if $SEV_4 then switch2.deMux[2].orientationOut else if $SEV_5 then switch2.deMux[2].orientationOut else if $SEV_6 then switch2.deMux[2].orientationOut else if $SEV_7 then switch2.deMux[2].orientationOut else if $SEV_8 then switch2.deMux[2].orientationOut else if $SEV_9 then switch2.deMux[2].orientationOut else if $SEV_10 then switch2.deMux[2].orientationOut else if $SEV_11 then switch2.deMux[2].orientationOut else if $SEV_12 then switch2.deMux[2].orientationOut else if $SEV_13 then switch2.deMux[2].orientationOut else if $SEV_14 then switch2.deMux[2].orientationOut else if $SEV_15 then switch2.deMux[2].orientationOut else {0.0, 0.0, 0.0}) .- switch2.poseOutput.orientation ($RES_SIM_49) 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_32 ### Equation: [ARRY] (3) $RES_SIM_32 = (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_32) 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_10 ### Equation: [ARRY] (3) $RES_SIM_10 = (if $TEV_2 then linearTrajectory2.startAngles else if $TEV_3 then linearTrajectory2.startAngles + linearTrajectory2.omega .* (time - linearTrajectory2.startTime) else linearTrajectory2.stopAngles) .- linearTrajectory2.angles ($RES_SIM_10) 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_24 ### Equation: [ARRY] (3) $RES_SIM_24 = (if $TEV_0 then linearTrajectory1.startAngles else if $TEV_1 then linearTrajectory1.startAngles + linearTrajectory1.omega .* (time - linearTrajectory1.startTime) else linearTrajectory1.stopAngles) .- linearTrajectory1.angles ($RES_SIM_24) 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_20 ### Equation: [ARRY] (3) $RES_SIM_20 = (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_20) Error: Internal error NBDAEMode.main failed. Notification: Performance of [SIM] DAE-Mode: time 0.0006825/11.96, allocations: 351.1 kB / 3.671 GB, free: 105.9 MB / 0.7794 GB Notification: Performance of [SIM] Remove Dummies: time 1.208e-05/11.96, allocations: 4.125 kB / 3.671 GB, free: 105.9 MB / 0.7794 GB " [Timeout remaining time 648] [Calling sys.exit(0), Time elapsed: 14.888769190991297] Failed to read output from testmodel.py, exit status != 0: 11.970512996020261 11.986932605 11.941898034 Calling exit ...