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.0009676/0.0009676, allocations: 83.34 kB / 20.47 MB, free: 4.105 MB / 18.57 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.0009831/0.0009831, allocations: 169 kB / 23.84 MB, free: 0.7305 MB / 18.57 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 0.9489/0.9489, allocations: 177.1 MB / 204.2 MB, free: 5.629 MB / 186.7 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.03531/0.03531, allocations: 9.154 MB / 269.9 MB, free: 4.25 MB / 250.7 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 2.255e-06/2.255e-06, allocations: 3.938 kB / 342.5 MB, free: 7.309 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.083e-05/3.308e-05, allocations: 2.312 kB / 342.5 MB, free: 7.305 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse): time 0.002673/0.002707, allocations: 2.435 MB / 345 MB, free: 4.855 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002266/0.002933, allocations: 131.5 kB / 345.1 MB, free: 4.727 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.308e-05/0.003006, allocations: 7.938 kB / 345.1 MB, free: 4.719 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001737/0.00318, allocations: 23.78 kB / 345.1 MB, free: 4.695 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001086/0.003289, allocations: 15.86 kB / 345.1 MB, free: 4.68 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001758/0.003464, allocations: 35.95 kB / 345.2 MB, free: 4.645 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001365/0.003601, allocations: 67.77 kB / 345.2 MB, free: 4.578 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.003734, allocations: 15.92 kB / 345.3 MB, free: 4.562 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.564e-05/0.00379, allocations: 31.92 kB / 345.3 MB, free: 4.531 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.527e-05/0.003845, allocations: 27.91 kB / 345.3 MB, free: 4.504 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.709e-05/0.003872, allocations: 8 kB / 345.3 MB, free: 4.496 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.974e-05/0.003932, allocations: 23.92 kB / 345.3 MB, free: 4.473 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.328e-05/0.004015, allocations: 31.91 kB / 345.4 MB, free: 4.441 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.266e-05/0.004068, allocations: 31.86 kB / 345.4 MB, free: 4.41 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001918/0.004259, allocations: 107.5 kB / 345.5 MB, free: 4.305 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.004264, allocations: 3.984 kB / 345.5 MB, free: 4.301 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.004265, allocations: 0 / 345.5 MB, free: 4.301 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.00427, allocations: 0 / 345.5 MB, free: 4.301 MB / 266.7 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.0003842/0.004654, allocations: 0.4993 MB / 346 MB, free: 3.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.004695, allocations: 12.03 kB / 346 MB, free: 3.738 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.492e-05/0.00475, allocations: 20.84 kB / 346 MB, free: 3.719 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001757/0.004926, allocations: 152.4 kB / 346.2 MB, free: 3.543 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.004936, allocations: 4.375 kB / 346.2 MB, free: 3.539 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/0.004952, allocations: 12.38 kB / 346.2 MB, free: 3.527 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003219/0.005274, allocations: 341 kB / 346.5 MB, free: 3.148 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.005284, allocations: 192 / 346.5 MB, free: 3.148 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.0053, allocations: 4.375 kB / 346.5 MB, free: 3.145 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.00531, allocations: 4.359 kB / 346.6 MB, free: 3.141 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.978e-05/0.00537, allocations: 95.77 kB / 346.6 MB, free: 3.035 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003396/0.00571, allocations: 295.4 kB / 346.9 MB, free: 2.707 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001506/0.00586, allocations: 169.9 kB / 347.1 MB, free: 2.504 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.141e-05/0.005932, allocations: 118.8 kB / 347.2 MB, free: 2.367 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.228e-05/0.005964, allocations: 4 kB / 347.2 MB, free: 2.363 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.005986, allocations: 45.36 kB / 347.3 MB, free: 2.309 MB / 266.7 MB Notification: Performance of pre-optimization done (n=33): time 1.793e-06/0.005987, allocations: 0 / 347.3 MB, free: 2.309 MB / 266.7 MB Notification: Performance of matching and sorting (n=33): time 0.0003229/0.00631, allocations: 391.7 kB / 347.6 MB, free: 1.883 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/0.006353, allocations: 132.5 kB / 347.8 MB, free: 1.723 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.449e-05/0.006438, allocations: 208.7 kB / 348 MB, free: 1.504 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.905e-06/0.006446, allocations: 25.7 kB / 348 MB, free: 1.473 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.589e-05/0.006492, allocations: 143.5 kB / 348.1 MB, free: 1.324 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.154e-05/0.006503, allocations: 15.91 kB / 348.2 MB, free: 1.309 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.763e-05/0.006541, allocations: 31.36 kB / 348.2 MB, free: 1.27 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.158e-05/0.006592, allocations: 0.4923 MB / 348.7 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.989e-05/0.006622, allocations: 59.39 kB / 348.7 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.732e-05/0.006649, allocations: 74.78 kB / 348.8 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.25e-05/0.006702, allocations: 142.1 kB / 349 MB, free: 440 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.006704, allocations: 0 / 349 MB, free: 440 kB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.879e-05/0.006803, allocations: 176.4 kB / 349.1 MB, free: 232 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.124e-05/0.006834, allocations: 59.39 kB / 349.2 MB, free: 160 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.006839, allocations: 0 / 349.2 MB, free: 160 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.006857, allocations: 4 kB / 349.2 MB, free: 156 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.805e-05/0.006905, allocations: 4.062 kB / 349.2 MB, free: 152 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.006912, allocations: 4 kB / 349.2 MB, free: 148 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.822e-05/0.00694, allocations: 11.89 kB / 349.2 MB, free: 136 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/0.006948, allocations: 0 / 349.2 MB, free: 136 kB / 266.7 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.0001126/0.007061, allocations: 220 kB / 349.4 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/0.007192, allocations: 141.3 kB / 349.6 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.021e-05/0.007252, allocations: 18.2 kB / 349.6 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.007257, allocations: 4 kB / 349.6 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.007262, allocations: 3.984 kB / 349.6 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.007266, allocations: 3.984 kB / 349.6 MB, free: 15.72 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.007388, allocations: 144.5 kB / 349.7 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/0.007395, allocations: 0 / 349.7 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.872e-05/0.007434, allocations: 15.98 kB / 349.7 MB, free: 15.53 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.007436, allocations: 0 / 349.7 MB, free: 15.53 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.007449, allocations: 7.938 kB / 349.8 MB, free: 15.52 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.007451, allocations: 0 / 349.8 MB, free: 15.52 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.007452, allocations: 0 / 349.8 MB, free: 15.52 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003378/0.00779, allocations: 461.8 kB / 350.2 MB, free: 15.03 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.21e-05/0.007812, allocations: 15.84 kB / 350.2 MB, free: 15.01 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.107e-05/0.007833, allocations: 11.92 kB / 350.2 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.403e-05/0.007867, allocations: 4 kB / 350.2 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.601e-05/0.007893, allocations: 8 kB / 350.2 MB, free: 14.99 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-06/0.007899, allocations: 4 kB / 350.2 MB, free: 14.98 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.967e-05/0.007959, allocations: 142 kB / 350.4 MB, free: 14.85 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007959, allocations: 0 / 350.4 MB, free: 14.85 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001774/0.008137, allocations: 23.98 kB / 350.4 MB, free: 14.82 MB / 282.7 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.0006058/0.008742, allocations: 297.7 kB / 350.7 MB, free: 14.61 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002206/0.008963, allocations: 281.2 kB / 351 MB, free: 14.29 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.008966, allocations: 0 / 351 MB, free: 14.29 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.906e-05/0.009035, allocations: 177.9 kB / 351.1 MB, free: 14.07 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000312/0.009347, allocations: 109.5 kB / 351.3 MB, free: 13.96 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004237/0.009771, allocations: 358.5 kB / 351.6 MB, free: 13.55 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.892e-05/0.009829, allocations: 96.23 kB / 351.7 MB, free: 13.44 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.266e-05/0.009862, allocations: 7.984 kB / 351.7 MB, free: 13.43 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.208e-05/0.009884, allocations: 12.5 kB / 351.7 MB, free: 13.42 MB / 282.7 MB Notification: Performance of SimCode: time 6.51e-07/0.009885, allocations: 0 / 351.7 MB, free: 13.42 MB / 282.7 MB Notification: Performance of Templates: time 0.00372/0.01361, allocations: 1.58 MB / 353.3 MB, free: 11.86 MB / 282.7 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=240 -lv LOG_STATS > Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 2.7864882349967957]