Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick.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.0009338/0.0009338, allocations: 83.34 kB / 20.46 MB, free: 4.109 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.0008848/0.0008848, allocations: 169 kB / 23.84 MB, free: 0.7344 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.012/1.012, allocations: 177.1 MB / 204.2 MB, free: 5.594 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.03545/0.03545, allocations: 9.159 MB / 269.9 MB, free: 4.219 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.TestInputJoystick,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick") translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 342.5 MB, free: 7.316 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.77e-05/2.924e-05, allocations: 6.312 kB / 342.5 MB, free: 7.309 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick): time 0.002889/0.002918, allocations: 2.475 MB / 345 MB, free: 4.816 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002496/0.003168, allocations: 131.5 kB / 345.1 MB, free: 4.688 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.125e-05/0.003249, allocations: 7.938 kB / 345.1 MB, free: 4.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000203/0.003452, allocations: 31.78 kB / 345.2 MB, free: 4.648 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001222/0.003574, allocations: 11.81 kB / 345.2 MB, free: 4.637 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002031/0.003777, allocations: 47.88 kB / 345.2 MB, free: 4.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001429/0.00392, allocations: 71.77 kB / 345.3 MB, free: 4.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.004027, allocations: 20.22 kB / 345.3 MB, free: 4.496 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.794e-05/0.004095, allocations: 31.91 kB / 345.4 MB, free: 4.465 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.004212, allocations: 43.88 kB / 345.4 MB, free: 4.422 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.731e-05/0.00424, allocations: 4 kB / 345.4 MB, free: 4.418 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.993e-05/0.00432, allocations: 35.94 kB / 345.4 MB, free: 4.383 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.583e-05/0.004385, allocations: 51.77 kB / 345.5 MB, free: 4.332 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.317e-05/0.004439, allocations: 31.86 kB / 345.5 MB, free: 4.301 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002185/0.004657, allocations: 143.3 kB / 345.7 MB, free: 4.16 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.004661, allocations: 4 kB / 345.7 MB, free: 4.156 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.004662, allocations: 0 / 345.7 MB, free: 4.156 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.004668, allocations: 0 / 345.7 MB, free: 4.156 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0005309/0.005199, allocations: 0.542 MB / 346.2 MB, free: 3.562 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.005248, allocations: 12.03 kB / 346.2 MB, free: 3.551 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.377e-05/0.005312, allocations: 28.75 kB / 346.2 MB, free: 3.523 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.005505, allocations: 163.2 kB / 346.4 MB, free: 3.34 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.005518, allocations: 4.375 kB / 346.4 MB, free: 3.336 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.005533, allocations: 8.375 kB / 346.4 MB, free: 3.328 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003957/0.005928, allocations: 433.8 kB / 346.8 MB, free: 2.863 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.005939, allocations: 4.125 kB / 346.8 MB, free: 2.859 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.005953, allocations: 384 / 346.8 MB, free: 2.859 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.739e-06/0.005962, allocations: 384 / 346.8 MB, free: 2.859 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.914e-05/0.006041, allocations: 112.3 kB / 347 MB, free: 2.738 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003289/0.00637, allocations: 319.7 kB / 347.3 MB, free: 2.387 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002123/0.006583, allocations: 178.4 kB / 347.4 MB, free: 2.176 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.884e-05/0.006651, allocations: 119.8 kB / 347.6 MB, free: 2.039 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.884e-05/0.00668, allocations: 4 kB / 347.6 MB, free: 2.035 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.006702, allocations: 37.33 kB / 347.6 MB, free: 1.988 MB / 266.7 MB Notification: Performance of pre-optimization done (n=50): time 2.365e-06/0.006704, allocations: 4 kB / 347.6 MB, free: 1.984 MB / 266.7 MB Notification: Performance of matching and sorting (n=50): time 0.0003773/0.007081, allocations: 0.5007 MB / 348.1 MB, free: 1.441 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/0.007126, allocations: 145.4 kB / 348.2 MB, free: 1.27 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.007229, allocations: 220.9 kB / 348.5 MB, free: 1.039 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.639e-06/0.007238, allocations: 29.73 kB / 348.5 MB, free: 1.004 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.98e-05/0.007288, allocations: 151.8 kB / 348.6 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.57e-05/0.007304, allocations: 11.94 kB / 348.6 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.87e-05/0.007352, allocations: 39.36 kB / 348.7 MB, free: 0.793 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.76e-05/0.0074, allocations: 0.4923 MB / 349.2 MB, free: 296 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.131e-05/0.007431, allocations: 55.41 kB / 349.2 MB, free: 228 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.937e-05/0.007461, allocations: 82.77 kB / 349.3 MB, free: 124 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.408e-05/0.007545, allocations: 138.1 kB / 349.4 MB, free: 15.95 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.007549, allocations: 4 kB / 349.5 MB, free: 15.95 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001378/0.007687, allocations: 180.4 kB / 349.6 MB, free: 15.74 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.182e-05/0.007729, allocations: 55.41 kB / 349.7 MB, free: 15.68 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.007735, allocations: 4 kB / 349.7 MB, free: 15.67 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.007753, allocations: 0 / 349.7 MB, free: 15.67 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.602e-05/0.007789, allocations: 0 / 349.7 MB, free: 15.67 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.007797, allocations: 3.938 kB / 349.7 MB, free: 15.67 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.011e-05/0.007827, allocations: 7.984 kB / 349.7 MB, free: 15.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.007837, allocations: 4 kB / 349.7 MB, free: 15.66 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 0.0001201/0.007957, allocations: 212 kB / 349.9 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002219/0.008179, allocations: 224.5 kB / 350.1 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.468e-05/0.008234, allocations: 26.61 kB / 350.2 MB, free: 15.17 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.008239, allocations: 4.266 kB / 350.2 MB, free: 15.17 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.008247, allocations: 4 kB / 350.2 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.008254, allocations: 3.984 kB / 350.2 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001636/0.008417, allocations: 160.3 kB / 350.3 MB, free: 14.97 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.387e-06/0.008427, allocations: 0 / 350.3 MB, free: 14.97 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.077e-05/0.008487, allocations: 19.92 kB / 350.3 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.008491, allocations: 0 / 350.3 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.008507, allocations: 7.938 kB / 350.3 MB, free: 14.94 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.008509, allocations: 0 / 350.3 MB, free: 14.94 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.008511, allocations: 0 / 350.3 MB, free: 14.94 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004104/0.008921, allocations: 0.5256 MB / 350.9 MB, free: 14.36 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.042e-05/0.008952, allocations: 35.73 kB / 350.9 MB, free: 14.33 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.466e-05/0.008976, allocations: 7.938 kB / 350.9 MB, free: 14.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.882e-05/0.009025, allocations: 4 kB / 350.9 MB, free: 14.32 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.00906, allocations: 7.938 kB / 350.9 MB, free: 14.31 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.009071, allocations: 4 kB / 350.9 MB, free: 14.3 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.296e-05/0.009144, allocations: 143.2 kB / 351.1 MB, free: 14.16 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009144, allocations: 0 / 351.1 MB, free: 14.16 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000206/0.00935, allocations: 20 kB / 351.1 MB, free: 14.14 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: 33 (synchronizeRealtime.initialized,joystickInput.buttons[1],joystickInput.buttons[2],joystickInput.buttons[3],joystickInput.buttons[4],joystickInput.buttons[5],joystickInput.buttons[6],joystickInput.buttons[7],joystickInput.buttons[8],joystickInput.buttons[9],joystickInput.buttons[10],joystickInput.buttons[11],joystickInput.buttons[12],joystickInput.buttons[13],joystickInput.buttons[14],joystickInput.buttons[15],joystickInput.buttons[16],joystickInput.buttons[17],joystickInput.buttons[18],joystickInput.buttons[19],joystickInput.buttons[20],joystickInput.buttons[21],joystickInput.buttons[22],joystickInput.buttons[23],joystickInput.buttons[24],joystickInput.buttons[25],joystickInput.buttons[26],joystickInput.buttons[27],joystickInput.buttons[28],joystickInput.buttons[29],joystickInput.buttons[30],joystickInput.buttons[31],joystickInput.buttons[32]) * 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.0008071/0.01016, allocations: 359.3 kB / 351.4 MB, free: 13.9 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002734/0.01043, allocations: 292.7 kB / 351.7 MB, free: 13.56 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.01043, allocations: 7.938 kB / 351.7 MB, free: 13.55 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.001e-05/0.0105, allocations: 173.9 kB / 351.9 MB, free: 13.34 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003848/0.01089, allocations: 159.5 kB / 352.1 MB, free: 13.18 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005167/0.01141, allocations: 423.6 kB / 352.5 MB, free: 12.71 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.924e-05/0.01149, allocations: 115.9 kB / 352.6 MB, free: 12.58 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.917e-05/0.01153, allocations: 11.98 kB / 352.6 MB, free: 12.57 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.642e-05/0.01156, allocations: 8.5 kB / 352.6 MB, free: 12.56 MB / 282.7 MB Notification: Performance of SimCode: time 8.12e-07/0.01156, allocations: 0 / 352.6 MB, free: 12.56 MB / 282.7 MB Notification: Performance of Templates: time 0.004665/0.01623, allocations: 2.054 MB / 354.7 MB, free: 10.52 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick.makefile [Timeout 660] (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick.pipe >> ../files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick.sim & ./Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick -abortSlowSimulation -alarm=240 -lv LOG_STATS > Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 2.647835181094706]