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.000989/0.000989, allocations: 85.95 kB / 21.48 MB, free: 3.012 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.001005/0.001005, allocations: 163.2 kB / 24.88 MB, free: 9.262 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.9392/0.9392, allocations: 177.1 MB / 205.3 MB, free: 5.523 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.06804/0.06804, allocations: 9.153 MB / 271 MB, free: 4.109 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 1.232e-06/1.232e-06, allocations: 0 / 343.8 MB, free: 7.039 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.623e-05/1.746e-05, allocations: 2.312 kB / 343.8 MB, free: 7.035 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse): time 0.002212/0.002229, allocations: 2.427 MB / 346.2 MB, free: 4.594 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001901/0.002419, allocations: 131.5 kB / 346.3 MB, free: 4.465 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.889e-05/0.002488, allocations: 7.938 kB / 346.3 MB, free: 4.457 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001364/0.002624, allocations: 27.73 kB / 346.4 MB, free: 4.43 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.646e-05/0.002701, allocations: 0 / 346.4 MB, free: 4.43 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001435/0.002844, allocations: 43.88 kB / 346.4 MB, free: 4.387 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.002957, allocations: 67.77 kB / 346.5 MB, free: 4.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.928e-05/0.003046, allocations: 12 kB / 346.5 MB, free: 4.309 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.747e-05/0.003093, allocations: 39.89 kB / 346.5 MB, free: 4.27 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.678e-05/0.00314, allocations: 19.92 kB / 346.5 MB, free: 4.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.00316, allocations: 8 kB / 346.6 MB, free: 4.242 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.804e-05/0.003208, allocations: 31.86 kB / 346.6 MB, free: 4.211 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.545e-05/0.003263, allocations: 35.84 kB / 346.6 MB, free: 4.176 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.28e-05/0.003296, allocations: 23.92 kB / 346.6 MB, free: 4.152 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000133/0.003429, allocations: 107.5 kB / 346.7 MB, free: 4.047 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.003431, allocations: 0 / 346.7 MB, free: 4.047 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.003432, allocations: 0 / 346.7 MB, free: 4.047 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.003435, allocations: 0 / 346.7 MB, free: 4.047 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.0002682/0.003704, allocations: 0.507 MB / 347.3 MB, free: 3.488 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.66e-05/0.00373, allocations: 12.03 kB / 347.3 MB, free: 3.477 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/0.003765, allocations: 20.84 kB / 347.3 MB, free: 3.457 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.003889, allocations: 156.4 kB / 347.4 MB, free: 3.277 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.267e-06/0.003898, allocations: 4.375 kB / 347.4 MB, free: 3.273 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.448e-06/0.003908, allocations: 12.38 kB / 347.5 MB, free: 3.262 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00021/0.004118, allocations: 324.9 kB / 347.8 MB, free: 2.898 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.004126, allocations: 192 / 347.8 MB, free: 2.898 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.335e-06/0.004134, allocations: 8.375 kB / 347.8 MB, free: 2.891 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.004141, allocations: 384 / 347.8 MB, free: 2.891 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.215e-05/0.004173, allocations: 83.77 kB / 347.9 MB, free: 2.797 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000184/0.004357, allocations: 283.9 kB / 348.1 MB, free: 2.488 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.133e-05/0.004448, allocations: 161.8 kB / 348.3 MB, free: 2.293 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.122e-05/0.004489, allocations: 110.8 kB / 348.4 MB, free: 2.164 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.004505, allocations: 4 kB / 348.4 MB, free: 2.16 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.498e-05/0.00452, allocations: 45.47 kB / 348.5 MB, free: 2.105 MB / 266.7 MB Notification: Performance of pre-optimization done (n=33): time 1.102e-06/0.004522, allocations: 3.938 kB / 348.5 MB, free: 2.102 MB / 266.7 MB Notification: Performance of matching and sorting (n=33): time 0.0002207/0.004742, allocations: 363.7 kB / 348.8 MB, free: 1.703 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/0.004772, allocations: 136.5 kB / 348.9 MB, free: 1.539 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.986e-05/0.004832, allocations: 201.8 kB / 349.1 MB, free: 1.324 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.969e-06/0.004842, allocations: 29.7 kB / 349.2 MB, free: 1.289 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.321e-05/0.004875, allocations: 143.5 kB / 349.3 MB, free: 1.141 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.317e-06/0.004884, allocations: 11.91 kB / 349.3 MB, free: 1.129 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.817e-05/0.004912, allocations: 35.34 kB / 349.4 MB, free: 1.086 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.478e-05/0.004947, allocations: 0.4923 MB / 349.9 MB, free: 0.582 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.801e-05/0.004965, allocations: 59.44 kB / 349.9 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.026e-05/0.004985, allocations: 78.77 kB / 350 MB, free: 424 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.719e-05/0.005023, allocations: 138.1 kB / 350.1 MB, free: 252 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.005024, allocations: 0 / 350.1 MB, free: 252 kB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.604e-05/0.0051, allocations: 168.7 kB / 350.3 MB, free: 52 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.197e-05/0.005142, allocations: 63.34 kB / 350.3 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.005146, allocations: 0 / 350.3 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.835e-06/0.005154, allocations: 3.938 kB / 350.4 MB, free: 15.97 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.593e-05/0.00518, allocations: 4 kB / 350.4 MB, free: 15.97 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.094e-06/0.005182, allocations: 4.062 kB / 350.4 MB, free: 15.96 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.917e-05/0.005201, allocations: 7.891 kB / 350.4 MB, free: 15.96 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.005208, allocations: 4 kB / 350.4 MB, free: 15.95 MB / 282.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 8.654e-05/0.005295, allocations: 216 kB / 350.6 MB, free: 15.72 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.005398, allocations: 129.5 kB / 350.7 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.503e-05/0.005433, allocations: 17.91 kB / 350.7 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.005437, allocations: 3.984 kB / 350.7 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.00544, allocations: 7.938 kB / 350.7 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.005443, allocations: 0 / 350.7 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.329e-05/0.005536, allocations: 121.1 kB / 350.9 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.005541, allocations: 4 kB / 350.9 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.089e-05/0.005572, allocations: 19.98 kB / 350.9 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.005574, allocations: 3.938 kB / 350.9 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.005581, allocations: 4 kB / 350.9 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.005582, allocations: 0 / 350.9 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.005584, allocations: 3.938 kB / 350.9 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001534/0.005738, allocations: 335.1 kB / 351.2 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.652e-05/0.005754, allocations: 19.83 kB / 351.2 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.005769, allocations: 4 kB / 351.2 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.232e-05/0.005801, allocations: 8 kB / 351.3 MB, free: 14.97 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.606e-05/0.005817, allocations: 3.938 kB / 351.3 MB, free: 14.97 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/0.005824, allocations: 8.031 kB / 351.3 MB, free: 14.96 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.437e-05/0.005868, allocations: 142 kB / 351.4 MB, free: 14.82 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005868, allocations: 0 / 351.4 MB, free: 14.82 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001618/0.00603, allocations: 23.94 kB / 351.4 MB, free: 14.8 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.0004764/0.006507, allocations: 292.5 kB / 351.7 MB, free: 14.6 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001682/0.006675, allocations: 277.8 kB / 352 MB, free: 14.27 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.006676, allocations: 0 / 352 MB, free: 14.27 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.236e-05/0.006739, allocations: 177.9 kB / 352.2 MB, free: 14.06 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002498/0.006989, allocations: 108 kB / 352.3 MB, free: 13.95 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003187/0.007307, allocations: 354.7 kB / 352.6 MB, free: 13.55 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.573e-05/0.007363, allocations: 96.23 kB / 352.7 MB, free: 13.43 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.675e-05/0.00739, allocations: 15.98 kB / 352.7 MB, free: 13.42 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.893e-05/0.007459, allocations: 90.17 kB / 352.8 MB, free: 13.33 MB / 282.7 MB Notification: Performance of SimCode: time 7.02e-07/0.007459, allocations: 0 / 352.8 MB, free: 13.33 MB / 282.7 MB Notification: Performance of Templates: time 0.0032/0.01066, allocations: 1.68 MB / 354.5 MB, free: 11.66 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.6382117071188986]