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.00177/0.00177, allocations: 88.98 kB / 20.25 MB, free: 4.176 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.001887/0.001887, allocations: 169.2 kB / 23.57 MB, free: 0.8633 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.451/1.451, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.06464/0.06464, allocations: 9.164 MB / 269.5 MB, free: 4.285 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.123e-06/1.123e-06, allocations: 0 / 341.8 MB, free: 7.676 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.148e-05/2.26e-05, allocations: 2.312 kB / 341.8 MB, free: 7.672 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick): time 0.00268/0.002702, allocations: 2.429 MB / 344.2 MB, free: 5.227 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002176/0.00292, allocations: 127.5 kB / 344.3 MB, free: 5.102 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.414e-05/0.002984, allocations: 11.94 kB / 344.4 MB, free: 5.09 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001439/0.003128, allocations: 27.78 kB / 344.4 MB, free: 5.062 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.395e-05/0.003212, allocations: 11.86 kB / 344.4 MB, free: 5.051 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001496/0.003361, allocations: 47.83 kB / 344.4 MB, free: 5.004 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.003473, allocations: 75.7 kB / 344.5 MB, free: 4.93 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.286e-05/0.003556, allocations: 20.22 kB / 344.5 MB, free: 4.906 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.453e-05/0.00362, allocations: 35.89 kB / 344.6 MB, free: 4.871 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.087e-05/0.003711, allocations: 39.89 kB / 344.6 MB, free: 4.832 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.666e-05/0.003738, allocations: 4 kB / 344.6 MB, free: 4.828 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.967e-05/0.003798, allocations: 35.94 kB / 344.6 MB, free: 4.793 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.087e-05/0.003848, allocations: 55.77 kB / 344.7 MB, free: 4.738 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.25e-05/0.003891, allocations: 27.86 kB / 344.7 MB, free: 4.711 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.004076, allocations: 175.3 kB / 344.9 MB, free: 4.539 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.004078, allocations: 0 / 344.9 MB, free: 4.539 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.004079, allocations: 0 / 344.9 MB, free: 4.539 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.004083, allocations: 4 kB / 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.0004888/0.004571, allocations: 0.5495 MB / 345.5 MB, free: 3.934 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.813e-05/0.0046, allocations: 16.03 kB / 345.5 MB, free: 3.918 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.596e-05/0.004656, allocations: 32.75 kB / 345.5 MB, free: 3.887 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/0.004824, allocations: 162.9 kB / 345.7 MB, free: 3.703 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.004836, allocations: 8.375 kB / 345.7 MB, free: 3.695 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.504e-05/0.004851, allocations: 8.375 kB / 345.7 MB, free: 3.688 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003789/0.00523, allocations: 432.8 kB / 346.1 MB, free: 3.23 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.005238, allocations: 192 / 346.1 MB, free: 3.23 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.00525, allocations: 384 / 346.1 MB, free: 3.23 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.005255, allocations: 8.359 kB / 346.1 MB, free: 3.223 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001193/0.005375, allocations: 111.8 kB / 346.2 MB, free: 3.102 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002674/0.005642, allocations: 323.7 kB / 346.5 MB, free: 2.746 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002046/0.005847, allocations: 190.4 kB / 346.7 MB, free: 2.523 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.498e-05/0.005932, allocations: 123.8 kB / 346.8 MB, free: 2.383 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.005954, allocations: 0 / 346.8 MB, free: 2.383 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.527e-05/0.00597, allocations: 49.27 kB / 346.9 MB, free: 2.324 MB / 266.7 MB Notification: Performance of pre-optimization done (n=50): time 1.042e-06/0.005971, allocations: 0 / 346.9 MB, free: 2.324 MB / 266.7 MB Notification: Performance of matching and sorting (n=50): time 0.0004574/0.006428, allocations: 0.5124 MB / 347.4 MB, free: 1.773 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.006468, allocations: 141.5 kB / 347.5 MB, free: 1.602 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.006571, allocations: 241.8 kB / 347.8 MB, free: 1.348 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.006582, allocations: 25.7 kB / 347.8 MB, free: 1.316 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.998e-05/0.006622, allocations: 151.8 kB / 348 MB, free: 1.164 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.243e-05/0.006634, allocations: 11.88 kB / 348 MB, free: 1.152 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.677e-05/0.006681, allocations: 51.36 kB / 348 MB, free: 1.094 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.137e-05/0.006733, allocations: 0.4961 MB / 348.5 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.771e-05/0.00677, allocations: 67.41 kB / 348.6 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.643e-05/0.006807, allocations: 82.77 kB / 348.7 MB, free: 416 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.996e-05/0.006867, allocations: 142.1 kB / 348.8 MB, free: 240 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.006868, allocations: 0 / 348.8 MB, free: 240 kB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001212/0.006989, allocations: 196.3 kB / 349 MB, free: 12 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.544e-05/0.007055, allocations: 55.41 kB / 349 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.007059, allocations: 4 kB / 349 MB, free: 15.94 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.00707, allocations: 0 / 349 MB, free: 15.94 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.047e-05/0.00709, allocations: 0 / 349 MB, free: 15.94 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.007097, allocations: 4 kB / 349 MB, free: 15.94 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.494e-05/0.007122, allocations: 0 / 349 MB, free: 15.94 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.007137, allocations: 11.98 kB / 349.1 MB, free: 15.93 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.0001711/0.007308, allocations: 216 kB / 349.3 MB, free: 15.69 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003038/0.007612, allocations: 228.4 kB / 349.5 MB, free: 15.46 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.572e-05/0.007668, allocations: 22.67 kB / 349.5 MB, free: 15.44 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.007673, allocations: 4 kB / 349.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.007676, allocations: 0 / 349.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.007679, allocations: 0 / 349.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001926/0.007871, allocations: 164.3 kB / 349.7 MB, free: 15.24 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/0.00788, allocations: 4 kB / 349.7 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.573e-05/0.007946, allocations: 12 kB / 349.7 MB, free: 15.22 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.007952, allocations: 7.984 kB / 349.7 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.007966, allocations: 3.938 kB / 349.7 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.007968, allocations: 0 / 349.7 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.007971, allocations: 4 kB / 349.7 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006026/0.008574, allocations: 0.5453 MB / 350.3 MB, free: 14.61 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.302e-05/0.008607, allocations: 31.72 kB / 350.3 MB, free: 14.58 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.597e-05/0.008633, allocations: 7.938 kB / 350.3 MB, free: 14.57 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.032e-05/0.008703, allocations: 4 kB / 350.3 MB, free: 14.57 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.794e-05/0.008731, allocations: 7.938 kB / 350.3 MB, free: 14.56 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.008744, allocations: 4 kB / 350.3 MB, free: 14.55 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001123/0.008856, allocations: 158.1 kB / 350.5 MB, free: 14.4 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.008856, allocations: 0 / 350.5 MB, free: 14.4 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002576/0.009114, allocations: 20 kB / 350.5 MB, free: 14.38 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.001253/0.01037, allocations: 329.2 kB / 350.8 MB, free: 14.16 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003559/0.01072, allocations: 316.7 kB / 351.1 MB, free: 13.8 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01072, allocations: 0 / 351.1 MB, free: 13.8 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001491/0.01087, allocations: 185.9 kB / 351.3 MB, free: 13.57 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004723/0.01135, allocations: 162.5 kB / 351.5 MB, free: 13.41 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006505/0.012, allocations: 439.6 kB / 351.9 MB, free: 12.93 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001787/0.01217, allocations: 155.5 kB / 352 MB, free: 12.76 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.71e-05/0.01221, allocations: 7.984 kB / 352 MB, free: 12.75 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.65e-05/0.01224, allocations: 12.5 kB / 352.1 MB, free: 12.74 MB / 282.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01224, allocations: 0 / 352.1 MB, free: 12.74 MB / 282.7 MB Notification: Performance of Templates: time 0.005489/0.01773, allocations: 1.964 MB / 354 MB, free: 10.78 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: 4.228635912993923]