Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse.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.00124/0.00124, allocations: 73.2 kB / 19.97 MB, free: 1.746 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.00144/0.00144, allocations: 170.6 kB / 23.25 MB, free: 4.875 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.323/1.323, allocations: 177.2 MB / 203.6 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo): time 0.05572/0.05572, allocations: 9.174 MB / 269.1 MB, free: 7.891 MB / 254.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/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(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse") translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 397.5 MB, free: 5.285 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.93e-05/2.042e-05, allocations: 2.281 kB / 397.5 MB, free: 5.281 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse): time 0.003648/0.003668, allocations: 2.365 MB / 399.9 MB, free: 2.902 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002926/0.003961, allocations: 131.5 kB / 400 MB, free: 2.773 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.532e-05/0.004026, allocations: 3.938 kB / 400 MB, free: 2.77 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001439/0.00417, allocations: 19.8 kB / 400.1 MB, free: 2.75 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.277e-05/0.004263, allocations: 7.938 kB / 400.1 MB, free: 2.742 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001962/0.004459, allocations: 51.88 kB / 400.1 MB, free: 2.691 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001512/0.00461, allocations: 63.83 kB / 400.2 MB, free: 2.629 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.004711, allocations: 8 kB / 400.2 MB, free: 2.621 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.146e-05/0.004783, allocations: 39.89 kB / 400.2 MB, free: 2.582 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.789e-05/0.004841, allocations: 19.92 kB / 400.2 MB, free: 2.562 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.406e-05/0.004865, allocations: 4 kB / 400.3 MB, free: 2.559 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.909e-05/0.004934, allocations: 35.84 kB / 400.3 MB, free: 2.523 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.233e-05/0.005006, allocations: 31.86 kB / 400.3 MB, free: 2.492 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.307e-05/0.005069, allocations: 23.92 kB / 400.3 MB, free: 2.469 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000227/0.005296, allocations: 139.4 kB / 400.5 MB, free: 2.332 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.005298, allocations: 4 kB / 400.5 MB, free: 2.328 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.72e-07/0.005299, allocations: 0 / 400.5 MB, free: 2.328 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.517e-06/0.005302, allocations: 4 kB / 400.5 MB, free: 2.324 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0005015/0.005804, allocations: 397.1 kB / 400.9 MB, free: 1.891 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.005838, allocations: 12.03 kB / 400.9 MB, free: 1.879 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.697e-05/0.005885, allocations: 20.8 kB / 400.9 MB, free: 1.859 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002635/0.006149, allocations: 145.5 kB / 401 MB, free: 1.691 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.00616, allocations: 8.375 kB / 401.1 MB, free: 1.684 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.006185, allocations: 12.36 kB / 401.1 MB, free: 1.672 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006046/0.006789, allocations: 455.1 kB / 401.5 MB, free: 1.191 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.006799, allocations: 192 / 401.5 MB, free: 1.191 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/0.006817, allocations: 8.375 kB / 401.5 MB, free: 1.184 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.006822, allocations: 4.375 kB / 401.5 MB, free: 1.18 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001628/0.006985, allocations: 135.3 kB / 401.7 MB, free: 1.035 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003495/0.007335, allocations: 245.2 kB / 401.9 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002971/0.007632, allocations: 220.8 kB / 402.1 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001982/0.00783, allocations: 161.4 kB / 402.3 MB, free: 348 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.007852, allocations: 4 kB / 402.3 MB, free: 344 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.007882, allocations: 38.5 kB / 402.3 MB, free: 296 kB / 318.1 MB Notification: Performance of pre-optimization done (n=33): time 1.382e-06/0.007884, allocations: 0 / 402.3 MB, free: 296 kB / 318.1 MB Notification: Performance of matching and sorting (n=33): time 0.0006587/0.008542, allocations: 491.6 kB / 402.8 MB, free: 15.77 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.008644, allocations: 148.4 kB / 402.9 MB, free: 15.59 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.008789, allocations: 149.8 kB / 403.1 MB, free: 15.43 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.008809, allocations: 29.64 kB / 403.1 MB, free: 15.4 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.053e-05/0.00888, allocations: 104.7 kB / 403.2 MB, free: 15.29 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.505e-05/0.008895, allocations: 7.953 kB / 403.2 MB, free: 15.28 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.356e-05/0.008948, allocations: 29.7 kB / 403.3 MB, free: 15.25 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.009097, allocations: 314.8 kB / 403.6 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.668e-05/0.009164, allocations: 63.39 kB / 403.6 MB, free: 14.86 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.103e-05/0.009235, allocations: 77.12 kB / 403.7 MB, free: 14.76 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.009366, allocations: 140.7 kB / 403.8 MB, free: 14.59 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.009367, allocations: 8 kB / 403.8 MB, free: 14.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002131/0.00958, allocations: 184.4 kB / 404 MB, free: 14.38 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.992e-05/0.00963, allocations: 61.89 kB / 404.1 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.009634, allocations: 0 / 404.1 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/0.009657, allocations: 4 kB / 404.1 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.243e-05/0.009689, allocations: 0 / 404.1 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.009693, allocations: 0 / 404.1 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.93e-05/0.009722, allocations: 7.938 kB / 404.1 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-06/0.009731, allocations: 0 / 404.1 MB, free: 14.29 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (synchronizeRealtime.initialized) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000216/0.009947, allocations: 193.9 kB / 404.3 MB, free: 14.08 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002601/0.01021, allocations: 218.6 kB / 404.5 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.546e-05/0.01026, allocations: 13.97 kB / 404.5 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.01027, allocations: 3.938 kB / 404.5 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.01027, allocations: 0 / 404.5 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.01027, allocations: 0 / 404.5 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001654/0.01044, allocations: 137.1 kB / 404.6 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.01044, allocations: 0 / 404.6 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.17e-05/0.0105, allocations: 19.92 kB / 404.7 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.0105, allocations: 3.938 kB / 404.7 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.01051, allocations: 8 kB / 404.7 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.01052, allocations: 0 / 404.7 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.01052, allocations: 4 kB / 404.7 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004929/0.01101, allocations: 462 kB / 405.1 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.981e-05/0.01103, allocations: 19.84 kB / 405.2 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/0.01106, allocations: 7.938 kB / 405.2 MB, free: 13.13 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.657e-05/0.01111, allocations: 4 kB / 405.2 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.12e-05/0.01114, allocations: 8 kB / 405.2 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/0.01116, allocations: 7.984 kB / 405.2 MB, free: 13.11 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.446e-05/0.01124, allocations: 107.2 kB / 405.3 MB, free: 13 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01124, allocations: 0 / 405.3 MB, free: 13 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002462/0.01149, allocations: 19.95 kB / 405.3 MB, free: 12.98 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 17 (synchronizeRealtime.initialized,spaceMouseInput.buttons[1],spaceMouseInput.buttons[2],spaceMouseInput.buttons[3],spaceMouseInput.buttons[4],spaceMouseInput.buttons[5],spaceMouseInput.buttons[6],spaceMouseInput.buttons[7],spaceMouseInput.buttons[8],spaceMouseInput.buttons[9],spaceMouseInput.buttons[10],spaceMouseInput.buttons[11],spaceMouseInput.buttons[12],spaceMouseInput.buttons[13],spaceMouseInput.buttons[14],spaceMouseInput.buttons[15],spaceMouseInput.buttons[16]) * Number of discrete states: 1 (synchronizeRealtime.initialized) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007441/0.01223, allocations: 292.5 kB / 405.6 MB, free: 12.78 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003507/0.01258, allocations: 329.5 kB / 405.9 MB, free: 12.41 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.01258, allocations: 4 kB / 405.9 MB, free: 12.41 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001318/0.01272, allocations: 174.2 kB / 406.1 MB, free: 12.2 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004425/0.01316, allocations: 169.8 kB / 406.3 MB, free: 12.03 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000599/0.01376, allocations: 415.1 kB / 406.7 MB, free: 11.58 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001424/0.0139, allocations: 133.8 kB / 406.8 MB, free: 11.43 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.042e-05/0.01393, allocations: 11.98 kB / 406.8 MB, free: 11.42 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.157e-05/0.01395, allocations: 8.5 kB / 406.8 MB, free: 11.41 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.01395, allocations: 0 / 406.8 MB, free: 11.41 MB / 334.1 MB Notification: Performance of Templates: time 0.004721/0.01867, allocations: 1.546 MB / 408.4 MB, free: 9.879 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse.makefile [Timeout 660] (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse.pipe >> ../files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse.sim & ./Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 3.9868321418762207] Failed to read output from testmodel.py, exit status != 0: 0.026607301086187363 0.040505534 0.032344908 Calling exit ...