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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(DeltaRobot.Tests.Switch2_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.Switch2_test") translateModel(DeltaRobot.Tests.Switch2_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.Switch2_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 115.3 kB / 16.43 MB, free: 6.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001252/0.001253, allocations: 183.2 kB / 17.35 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.02426/0.02426, allocations: 5.226 MB / 296.4 MB, free: 9.602 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.811e-05/1.814e-05, allocations: 3.969 kB / 409.7 MB, free: 26.2 MB / 302.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.Switch2_test): time 0.00344/0.003469, allocations: 3.155 MB / 412.8 MB, free: 23.03 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004144/0.007626, allocations: 3.19 MB / 416 MB, free: 19.83 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003185/0.007958, allocations: 4 kB / 416 MB, free: 19.82 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007486/0.008716, allocations: 275.2 kB / 416.3 MB, free: 19.55 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001674/0.0104, allocations: 0.7907 MB / 417.1 MB, free: 18.76 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002289/0.01064, allocations: 107.8 kB / 417.2 MB, free: 18.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008036/0.01145, allocations: 0.961 MB / 418.2 MB, free: 17.7 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00035/0.01181, allocations: 322.3 kB / 418.5 MB, free: 17.37 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002788/0.0121, allocations: 362.9 kB / 418.8 MB, free: 17.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003876/0.0125, allocations: 458.7 kB / 419.3 MB, free: 16.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.878e-05/0.01257, allocations: 44 kB / 419.3 MB, free: 16.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001295/0.01387, allocations: 0.8967 MB / 420.2 MB, free: 15.62 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0004178/0.0143, allocations: 0.8437 MB / 421.1 MB, free: 14.77 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002179/0.01453, allocations: 0.5442 MB / 421.6 MB, free: 14.22 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.159e-05/0.01459, allocations: 63.81 kB / 421.7 MB, free: 14.16 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.978e-05/0.01465, allocations: 15.94 kB / 421.7 MB, free: 14.14 MB / 302.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 Bindings: time 0.001982/0.01664, allocations: 3.158 MB / 424.8 MB, free: 10.86 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0001577/0.0168, allocations: 130.1 kB / 425 MB, free: 10.73 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0006289/0.01744, allocations: 0.9781 MB / 425.9 MB, free: 9.727 MB / 302.1 MB Notification: Performance of simplify1: time 4.579e-05/0.0175, allocations: 43.94 kB / 426 MB, free: 9.684 MB / 302.1 MB Notification: Performance of Alias: time 0.001068/0.01857, allocations: 1.228 MB / 427.2 MB, free: 8.367 MB / 302.1 MB Notification: Performance of simplify2: time 2.713e-05/0.01861, allocations: 27.97 kB / 427.2 MB, free: 8.34 MB / 302.1 MB Notification: Performance of Detect States: time 0.0001881/0.0188, allocations: 204.9 kB / 427.4 MB, free: 8.125 MB / 302.1 MB Notification: Performance of Events: time 0.0002709/0.01908, allocations: 299.9 kB / 427.7 MB, free: 7.836 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0002747/0.01937, allocations: 390 kB / 428.1 MB, free: 7.41 MB / 302.1 MB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(3) {linearTrajectory2.position[1], linearTrajectory2.position[2], linearTrajectory2.position[3]}, does not fit the equation size 1. Error: Internal error NBSlice.resolveDependency failed for: linearTrajectory2.position. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [SCAL] (1) $SEV_2 = linearTrajectory2.direction * (linearTrajectory2.position - linearTrajectory2.startPosition) > 0.0 ($RES_EVT_94)