Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr StewartPlatform_StewartPlatform.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.001548/0.001548, 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.00178/0.00178, allocations: 213.8 kB / 23.06 MB, free: 4.977 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.644/1.644, allocations: 230.7 MB / 256.9 MB, free: 8.008 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.03377/0.03377, allocations: 6.574 MB / 319.9 MB, free: 12.48 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.Trajectory_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.Trajectory_test") translateModel(StewartPlatform.Tests.Trajectory_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.Trajectory_test") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.475e-05/2.475e-05, allocations: 2.281 kB / 445.1 MB, free: 4.492 MB / 302.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.Trajectory_test): time 0.005159/0.005184, allocations: 4.346 MB / 449.5 MB, free: 120 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008454/0.01364, allocations: 4.211 MB / 453.7 MB, free: 11.89 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001022/0.01466, allocations: 16 kB / 453.7 MB, free: 11.88 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001267/0.01593, allocations: 341.9 kB / 454 MB, free: 11.54 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005541/0.02147, allocations: 1.666 MB / 455.7 MB, free: 9.871 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001077/0.02254, allocations: 327.2 kB / 456 MB, free: 9.551 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.009501/0.03205, allocations: 6.144 MB / 462.2 MB, free: 3.398 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007516/0.0328, allocations: 198.4 kB / 462.4 MB, free: 3.199 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001598/0.0344, allocations: 0.7358 MB / 463.1 MB, free: 2.461 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001446/0.03584, allocations: 0.9107 MB / 464 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002231/0.03606, allocations: 92 kB / 464.1 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00339/0.03945, allocations: 1.123 MB / 465.2 MB, free: 340 kB / 318.1 MB Notification: Performance of combineBinaries: time 0.003377/0.04283, allocations: 2.796 MB / 468 MB, free: 13.51 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.001909/0.04474, allocations: 1.503 MB / 469.5 MB, free: 11.99 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003629/0.0451, allocations: 64 kB / 469.6 MB, free: 11.93 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0002045/0.04531, allocations: 27.86 kB / 469.6 MB, free: 11.9 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 184 (88) * Number of variables: 184 (88) Notification: Performance of [SIM] Bindings: time 0.01067/0.05598, allocations: 7.634 MB / 477.2 MB, free: 4.047 MB / 334.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.000768/0.05675, allocations: 374.2 kB / 477.6 MB, free: 3.66 MB / 334.1 MB Notification: Performance of [SIM] Early Inline: time 0.002551/0.0593, allocations: 2.154 MB / 479.8 MB, free: 1.477 MB / 334.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0009424/0.06024, allocations: 0.5042 MB / 480.3 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of [SIM] Alias: time 0.005551/0.06579, allocations: 3.103 MB / 483.4 MB, free: 13.59 MB / 350.1 MB Notification: Performance of [SIM] Simplify 2: time 0.000522/0.06632, allocations: 275.9 kB / 483.6 MB, free: 13.27 MB / 350.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001859/0.0665, allocations: 148.4 kB / 483.8 MB, free: 13.1 MB / 350.1 MB Notification: Performance of [SIM] Detect States: time 0.0004163/0.06692, allocations: 336.5 kB / 484.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of [SIM] Events: time 0.0007783/0.0677, allocations: 485.2 kB / 484.6 MB, free: 12.25 MB / 350.1 MB Notification: Performance of [SIM] Partitioning: time 0.0007162/0.06841, allocations: 0.5668 MB / 485.2 MB, free: 11.61 MB / 350.1 MB Notification: Performance of [SIM] Causalize: time 0.001792/0.0702, allocations: 1.162 MB / 486.3 MB, free: 10.38 MB / 350.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001268/0.07147, allocations: 1.109 MB / 487.4 MB, free: 9.266 MB / 350.1 MB Notification: Performance of [INI] Simplify: time 0.007421/0.07889, allocations: 3.623 MB / 491 MB, free: 5.562 MB / 350.1 MB Notification: Performance of [INI] Inline: time 17.17/17.25, allocations: 4.807 GB / 5.287 GB, free: 9.402 MB / 0.9513 GB Notification: Performance of [INI] Partitioning: time 0.0007653/17.25, allocations: 99.73 kB / 5.287 GB, free: 9.355 MB / 0.9513 GB Notification: Performance of [INI] Cleanup: time 0.5487/17.8, allocations: 156.2 MB / 5.44 GB, free: 5.414 MB / 0.9513 GB Notification: Performance of [INI] Causalize: time 1.787/19.58, allocations: 309.3 MB / 5.742 GB, free: 100.6 MB / 0.9669 GB Notification: Performance of [INI] Tearing: time 0.0001314/19.58, allocations: 186.7 kB / 5.742 GB, free: 100.5 MB / 0.9669 GB Notification: Performance of [SIM] Initialization: time 2.184e-06/19.58, allocations: 1.203 kB / 5.742 GB, free: 100.5 MB / 0.9669 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_92 ### Equation: [ARRY] (3) $RES_SIM_92 = (if $TEV_0 then linearTrajectory.startAngles else if $TEV_1 then linearTrajectory.startAngles + linearTrajectory.omega .* (time - linearTrajectory.startTime) else linearTrajectory.stopAngles) .- linearTrajectory.angles ($RES_SIM_92) 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_88 ### Equation: [ARRY] (3) $RES_SIM_88 = (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_88) 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_67 ### Equation: [ARRY] (3) $RES_SIM_67 = (if $TEV_2 then cubicTrajectory.startAngles else if $TEV_3 then cubicTrajectory.ao[3] .* (time - cubicTrajectory.startTime) ^ 2.0 + cubicTrajectory.ao[2] .* (time - cubicTrajectory.startTime) + cubicTrajectory.ao[1] + cubicTrajectory.ao[4] .* (time - cubicTrajectory.startTime) ^ 3.0 else cubicTrajectory.stopAngles) .- cubicTrajectory.angles ($RES_SIM_67) 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_75 ### Equation: [ARRY] (3) $RES_SIM_75 = (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_75) 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_63 ### Equation: [ARRY] (3) $RES_SIM_63 = (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_63) 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_59 ### Equation: [ARRY] (3) $RES_SIM_59 = (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_59) 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_46 ### Equation: [ARRY] (3) $RES_SIM_46 = (if $TEV_4 then stepTrajectory.startAngles else stepTrajectory.stopAngles) .- stepTrajectory.angles ($RES_SIM_46) 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_43 ### Equation: [ARRY] (3) $RES_SIM_43 = (if $TEV_4 then stepTrajectory.startPosition else stepTrajectory.stopPosition) .- stepTrajectory.position ($RES_SIM_43) 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_16 ### Equation: [ARRY] (3) $RES_SIM_16 = (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_16) 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_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_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_28 ### Equation: [ARRY] (3) $RES_SIM_28 = (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_28) Error: Internal error NBDAEMode.main failed. Notification: Performance of [SIM] DAE-Mode: time 0.001101/19.59, allocations: 0.6009 MB / 5.742 GB, free: 100.3 MB / 0.9669 GB Notification: Performance of [SIM] Remove Dummies: time 1.046e-05/19.59, allocations: 0 / 5.742 GB, free: 100.3 MB / 0.9669 GB " [Timeout remaining time 640] [Calling sys.exit(0), Time elapsed: 22.39526959200157] Failed to read output from testmodel.py, exit status != 0: 19.594524109968916 19.609389103 19.56083341 Calling exit ...