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.001336/0.001336, allocations: 88.22 kB / 20.24 MB, free: 4.316 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.001451/0.001451, allocations: 161.7 kB / 23.56 MB, free: 1.004 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.346/1.346, allocations: 177.1 MB / 203.9 MB, free: 5.617 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.05748/0.05748, allocations: 9.154 MB / 269.5 MB, free: 4.293 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.163e-06/1.163e-06, allocations: 3.938 kB / 341.8 MB, free: 7.66 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.692e-05/1.809e-05, allocations: 2.312 kB / 341.8 MB, free: 7.656 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick): time 0.00238/0.002398, allocations: 2.416 MB / 344.2 MB, free: 5.227 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002277/0.002626, allocations: 131.5 kB / 344.3 MB, free: 5.098 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.52e-05/0.002691, allocations: 4 kB / 344.3 MB, free: 5.094 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001368/0.002828, allocations: 35.66 kB / 344.4 MB, free: 5.059 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.209e-05/0.00291, allocations: 3.938 kB / 344.4 MB, free: 5.055 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001502/0.00306, allocations: 51.81 kB / 344.4 MB, free: 5.004 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.836e-05/0.003159, allocations: 71.77 kB / 344.5 MB, free: 4.934 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.367e-05/0.003232, allocations: 16.22 kB / 344.5 MB, free: 4.914 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.585e-05/0.003288, allocations: 35.91 kB / 344.5 MB, free: 4.879 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.377e-05/0.003372, allocations: 43.88 kB / 344.6 MB, free: 4.836 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.284e-05/0.003395, allocations: 8 kB / 344.6 MB, free: 4.828 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.283e-05/0.003458, allocations: 31.94 kB / 344.6 MB, free: 4.797 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.968e-05/0.003507, allocations: 51.77 kB / 344.7 MB, free: 4.746 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.422e-05/0.003552, allocations: 27.86 kB / 344.7 MB, free: 4.719 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001764/0.003728, allocations: 183.2 kB / 344.9 MB, free: 4.539 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.00373, allocations: 4 kB / 344.9 MB, free: 4.535 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.00373, allocations: 0 / 344.9 MB, free: 4.535 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.998e-06/0.003734, allocations: 0 / 344.9 MB, free: 4.535 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.0004458/0.00418, allocations: 448.8 kB / 345.3 MB, free: 4.051 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.719e-05/0.004207, allocations: 8.031 kB / 345.3 MB, free: 4.043 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.623e-05/0.004264, allocations: 32.75 kB / 345.4 MB, free: 4.012 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.004446, allocations: 157.5 kB / 345.5 MB, free: 3.832 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.004458, allocations: 4.375 kB / 345.5 MB, free: 3.828 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.004473, allocations: 8.375 kB / 345.5 MB, free: 3.82 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005138/0.004987, allocations: 0.6044 MB / 346.1 MB, free: 3.184 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.004995, allocations: 192 / 346.1 MB, free: 3.184 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.00501, allocations: 8.359 kB / 346.1 MB, free: 3.176 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.005014, allocations: 4.375 kB / 346.2 MB, free: 3.172 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000148/0.005162, allocations: 199.7 kB / 346.3 MB, free: 2.965 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002453/0.005407, allocations: 257.7 kB / 346.6 MB, free: 2.68 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000268/0.005675, allocations: 273.3 kB / 346.9 MB, free: 2.383 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001196/0.005795, allocations: 186.1 kB / 347 MB, free: 2.184 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.909e-05/0.005824, allocations: 4 kB / 347.1 MB, free: 2.18 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.708e-05/0.005841, allocations: 38.5 kB / 347.1 MB, free: 2.133 MB / 266.7 MB Notification: Performance of pre-optimization done (n=50): time 1.553e-06/0.005842, allocations: 0 / 347.1 MB, free: 2.133 MB / 266.7 MB Notification: Performance of matching and sorting (n=50): time 0.0005569/0.006399, allocations: 0.6724 MB / 347.8 MB, free: 1.422 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.006437, allocations: 141.5 kB / 347.9 MB, free: 1.25 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.592e-05/0.006523, allocations: 165 kB / 348.1 MB, free: 1.078 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.006534, allocations: 25.7 kB / 348.1 MB, free: 1.047 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.189e-05/0.006566, allocations: 105 kB / 348.2 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.223e-05/0.006578, allocations: 15.88 kB / 348.2 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.513e-05/0.006613, allocations: 29.7 kB / 348.2 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.471e-05/0.006648, allocations: 318.8 kB / 348.5 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.639e-05/0.006684, allocations: 67.34 kB / 348.6 MB, free: 500 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.503e-05/0.006719, allocations: 81.11 kB / 348.7 MB, free: 400 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.017e-05/0.006779, allocations: 136.5 kB / 348.8 MB, free: 232 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.006781, allocations: 4 kB / 348.8 MB, free: 228 kB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001215/0.006902, allocations: 192.3 kB / 349 MB, free: 4 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.339e-05/0.006965, allocations: 55.41 kB / 349.1 MB, free: 15.94 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.006969, allocations: 0 / 349.1 MB, free: 15.94 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.006982, allocations: 4 kB / 349.1 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.824e-05/0.007, allocations: 0 / 349.1 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.808e-06/0.007004, allocations: 0 / 349.1 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.844e-05/0.007032, allocations: 4 kB / 349.1 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.007047, allocations: 12 kB / 349.1 MB, free: 15.92 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.0001744/0.007221, allocations: 201.3 kB / 349.3 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004016/0.007623, allocations: 324.3 kB / 349.6 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.163e-05/0.007675, allocations: 14.62 kB / 349.6 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.007678, allocations: 4 kB / 349.6 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.007681, allocations: 0 / 349.6 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.007684, allocations: 0 / 349.6 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001926/0.007876, allocations: 149 kB / 349.8 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.007882, allocations: 0 / 349.8 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.608e-05/0.007948, allocations: 11.98 kB / 349.8 MB, free: 15.17 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.00795, allocations: 4 kB / 349.8 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.007967, allocations: 7.938 kB / 349.8 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.007971, allocations: 8 kB / 349.8 MB, free: 15.15 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.007972, allocations: 0 / 349.8 MB, free: 15.15 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006742/0.008646, allocations: 0.5692 MB / 350.4 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.555e-05/0.008691, allocations: 31.91 kB / 350.4 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.135e-05/0.008733, allocations: 11.92 kB / 350.4 MB, free: 14.49 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.341e-05/0.008816, allocations: 0 / 350.4 MB, free: 14.49 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.606e-05/0.008852, allocations: 11.98 kB / 350.4 MB, free: 14.48 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.008864, allocations: 4 kB / 350.4 MB, free: 14.48 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.126e-05/0.008956, allocations: 107.2 kB / 350.5 MB, free: 14.37 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008956, allocations: 0 / 350.5 MB, free: 14.37 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002798/0.009235, allocations: 20 kB / 350.5 MB, free: 14.35 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.0008916/0.01013, allocations: 337.7 kB / 350.9 MB, free: 14.12 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000414/0.01054, allocations: 377 kB / 351.2 MB, free: 13.71 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01054, allocations: 0 / 351.2 MB, free: 13.71 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001438/0.01069, allocations: 174.2 kB / 351.4 MB, free: 13.5 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005609/0.01125, allocations: 254.6 kB / 351.7 MB, free: 13.25 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008014/0.01205, allocations: 0.5108 MB / 352.2 MB, free: 12.68 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001842/0.01223, allocations: 168 kB / 352.3 MB, free: 12.5 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.482e-05/0.01227, allocations: 11.98 kB / 352.4 MB, free: 12.49 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.223e-05/0.01229, allocations: 8.5 kB / 352.4 MB, free: 12.48 MB / 282.7 MB Notification: Performance of SimCode: time 3.71e-07/0.01229, allocations: 4 kB / 352.4 MB, free: 12.48 MB / 282.7 MB Notification: Performance of Templates: time 0.005274/0.01756, allocations: 1.96 MB / 354.3 MB, free: 10.53 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=480 -lv LOG_STATS > Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 3.9457546540070325]