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.00144/0.00144, allocations: 84.23 kB / 20.25 MB, free: 4.188 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.001568/0.001568, allocations: 157.7 kB / 23.55 MB, free: 0.8828 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 1.357/1.357, allocations: 177.2 MB / 203.9 MB, free: 5.586 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.05765/0.05765, allocations: 9.155 MB / 269.5 MB, free: 4.258 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.154e-06/2.154e-06, allocations: 3.984 kB / 341.8 MB, free: 7.652 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.56e-05/1.775e-05, allocations: 10.25 kB / 341.8 MB, free: 7.641 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse): time 0.00239/0.002407, allocations: 2.373 MB / 344.2 MB, free: 5.254 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002156/0.002623, allocations: 131.5 kB / 344.3 MB, free: 5.125 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.531e-05/0.002678, allocations: 4 kB / 344.3 MB, free: 5.121 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001307/0.002809, allocations: 19.8 kB / 344.3 MB, free: 5.102 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.582e-05/0.002885, allocations: 15.86 kB / 344.3 MB, free: 5.086 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001492/0.003034, allocations: 39.89 kB / 344.4 MB, free: 5.047 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001065/0.00314, allocations: 67.77 kB / 344.4 MB, free: 4.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.361e-05/0.003224, allocations: 15.98 kB / 344.5 MB, free: 4.965 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.856e-05/0.003273, allocations: 35.91 kB / 344.5 MB, free: 4.93 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.136e-05/0.003324, allocations: 23.91 kB / 344.5 MB, free: 4.906 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.003343, allocations: 8 kB / 344.5 MB, free: 4.898 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.865e-05/0.003392, allocations: 27.92 kB / 344.6 MB, free: 4.871 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.662e-05/0.003449, allocations: 31.92 kB / 344.6 MB, free: 4.84 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.683e-05/0.003496, allocations: 27.84 kB / 344.6 MB, free: 4.812 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001568/0.003652, allocations: 139.4 kB / 344.7 MB, free: 4.676 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.513e-06/0.003654, allocations: 0 / 344.7 MB, free: 4.676 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.003654, allocations: 0 / 344.7 MB, free: 4.676 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.466e-06/0.003658, allocations: 3.938 kB / 344.8 MB, free: 4.672 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.0003286/0.003986, allocations: 401.1 kB / 345.1 MB, free: 4.234 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.729e-05/0.004014, allocations: 8.031 kB / 345.2 MB, free: 4.227 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.326e-05/0.004067, allocations: 32.8 kB / 345.2 MB, free: 4.195 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.004224, allocations: 145.5 kB / 345.3 MB, free: 4.027 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.004245, allocations: 8.375 kB / 345.3 MB, free: 4.02 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.004258, allocations: 8.359 kB / 345.3 MB, free: 4.012 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003922/0.00465, allocations: 445.9 kB / 345.8 MB, free: 3.539 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.004659, allocations: 192 / 345.8 MB, free: 3.539 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.004671, allocations: 4.375 kB / 345.8 MB, free: 3.535 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.004678, allocations: 4.375 kB / 345.8 MB, free: 3.531 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.317e-05/0.004771, allocations: 131.3 kB / 345.9 MB, free: 3.391 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002388/0.00501, allocations: 253.2 kB / 346.2 MB, free: 3.109 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001813/0.005191, allocations: 216 kB / 346.4 MB, free: 2.871 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.005303, allocations: 169.7 kB / 346.5 MB, free: 2.688 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.005327, allocations: 4 kB / 346.5 MB, free: 2.684 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.761e-05/0.005344, allocations: 42.5 kB / 346.6 MB, free: 2.633 MB / 266.7 MB Notification: Performance of pre-optimization done (n=33): time 1.082e-06/0.005346, allocations: 0 / 346.6 MB, free: 2.633 MB / 266.7 MB Notification: Performance of matching and sorting (n=33): time 0.0004184/0.005764, allocations: 499.8 kB / 347.1 MB, free: 2.102 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/0.005804, allocations: 148.4 kB / 347.2 MB, free: 1.926 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.837e-05/0.005882, allocations: 149.7 kB / 347.4 MB, free: 1.77 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.808e-06/0.005892, allocations: 29.7 kB / 347.4 MB, free: 1.734 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.278e-05/0.005925, allocations: 96.78 kB / 347.5 MB, free: 1.633 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.099e-05/0.005936, allocations: 7.953 kB / 347.5 MB, free: 1.625 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.332e-05/0.005969, allocations: 29.66 kB / 347.5 MB, free: 1.59 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.556e-05/0.006005, allocations: 326.9 kB / 347.8 MB, free: 1.262 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.883e-05/0.006043, allocations: 59.41 kB / 347.9 MB, free: 1.191 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.44e-05/0.006078, allocations: 73.12 kB / 348 MB, free: 1.102 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.712e-05/0.006145, allocations: 140.7 kB / 348.1 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.006146, allocations: 0 / 348.1 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001214/0.006268, allocations: 184.4 kB / 348.3 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.00629, allocations: 63.39 kB / 348.4 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.006294, allocations: 4 kB / 348.4 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.006307, allocations: 0 / 348.4 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.764e-05/0.006334, allocations: 4.062 kB / 348.4 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.006338, allocations: 3.938 kB / 348.4 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.604e-05/0.006365, allocations: 7.953 kB / 348.4 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.006373, allocations: 4 kB / 348.4 MB, free: 0.625 MB / 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 7.275e-05/0.006445, allocations: 189.2 kB / 348.6 MB, free: 428 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001635/0.006609, allocations: 209.4 kB / 348.8 MB, free: 212 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.948e-05/0.006649, allocations: 13.97 kB / 348.8 MB, free: 200 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.006651, allocations: 0 / 348.8 MB, free: 200 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.006654, allocations: 0 / 348.8 MB, free: 200 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.006657, allocations: 4 kB / 348.8 MB, free: 196 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.881e-05/0.006756, allocations: 133.1 kB / 348.9 MB, free: 32 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.006761, allocations: 4 kB / 348.9 MB, free: 28 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.122e-05/0.006802, allocations: 23.92 kB / 348.9 MB, free: 4 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.103e-06/0.006804, allocations: 3.938 kB / 348.9 MB, free: 0 / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.594e-05/0.00684, allocations: 8.047 kB / 349 MB, free: 15.99 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.006842, allocations: 0 / 349 MB, free: 15.99 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.006843, allocations: 0 / 349 MB, free: 15.99 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005269/0.007369, allocations: 477.8 kB / 349.4 MB, free: 15.48 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.306e-05/0.007392, allocations: 15.84 kB / 349.4 MB, free: 15.47 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.717e-05/0.00742, allocations: 11.94 kB / 349.4 MB, free: 15.46 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.356e-05/0.007473, allocations: 3.938 kB / 349.4 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.761e-05/0.007501, allocations: 8 kB / 349.5 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.007516, allocations: 11.98 kB / 349.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.273e-05/0.007598, allocations: 106.4 kB / 349.6 MB, free: 15.33 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007598, allocations: 0 / 349.6 MB, free: 15.33 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002414/0.00784, allocations: 16 kB / 349.6 MB, free: 15.32 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.0007933/0.008633, allocations: 276.1 kB / 349.9 MB, free: 15.12 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003802/0.009013, allocations: 333.5 kB / 350.2 MB, free: 14.75 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.009016, allocations: 0 / 350.2 MB, free: 14.75 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001451/0.009161, allocations: 174.2 kB / 350.4 MB, free: 14.54 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004473/0.009608, allocations: 175.2 kB / 350.5 MB, free: 14.36 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006104/0.01022, allocations: 410.1 kB / 350.9 MB, free: 13.92 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001429/0.01036, allocations: 134 kB / 351.1 MB, free: 13.77 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.843e-05/0.01039, allocations: 7.984 kB / 351.1 MB, free: 13.76 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.342e-05/0.01041, allocations: 12.5 kB / 351.1 MB, free: 13.74 MB / 282.7 MB Notification: Performance of SimCode: time 4.3e-07/0.01041, allocations: 0 / 351.1 MB, free: 13.74 MB / 282.7 MB Notification: Performance of Templates: time 0.004572/0.01499, allocations: 1.58 MB / 352.7 MB, free: 12.18 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=480 -lv LOG_STATS > Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.52016219694633]