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.0008929/0.0008929, allocations: 82.64 kB / 21.48 MB, free: 3.02 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.0008623/0.0008623, allocations: 164.2 kB / 24.88 MB, free: 8.754 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.9452/0.9452, allocations: 177.1 MB / 205.3 MB, free: 5.527 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.03564/0.03564, allocations: 9.159 MB / 271 MB, free: 4.117 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.342e-06/1.342e-06, allocations: 0 / 343.8 MB, free: 8.102 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.176e-05/2.31e-05, allocations: 4.562 kB / 343.8 MB, free: 8.098 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick): time 0.004873/0.004897, allocations: 2.479 MB / 346.2 MB, free: 5.598 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002369/0.005133, allocations: 131.5 kB / 346.4 MB, free: 5.469 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.765e-05/0.005211, allocations: 0 / 346.4 MB, free: 5.469 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001561/0.005367, allocations: 31.72 kB / 346.4 MB, free: 5.438 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 9.517e-05/0.005462, allocations: 15.86 kB / 346.4 MB, free: 5.422 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001687/0.005631, allocations: 51.81 kB / 346.5 MB, free: 5.371 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.00576, allocations: 75.77 kB / 346.5 MB, free: 5.297 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.626e-05/0.005847, allocations: 8.234 kB / 346.6 MB, free: 5.285 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.482e-05/0.005912, allocations: 39.89 kB / 346.6 MB, free: 5.246 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.006012, allocations: 35.89 kB / 346.6 MB, free: 5.211 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.403e-05/0.006036, allocations: 8 kB / 346.6 MB, free: 5.203 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.472e-05/0.006101, allocations: 35.92 kB / 346.7 MB, free: 5.168 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.752e-05/0.006159, allocations: 43.84 kB / 346.7 MB, free: 5.125 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.143e-05/0.0062, allocations: 31.84 kB / 346.7 MB, free: 5.094 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.006402, allocations: 147.3 kB / 346.9 MB, free: 4.949 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.175e-06/0.006404, allocations: 0 / 346.9 MB, free: 4.949 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.006405, allocations: 0 / 346.9 MB, free: 4.949 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.006409, allocations: 0 / 346.9 MB, free: 4.949 MB / 314.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.0007581/0.007167, allocations: 0.5497 MB / 347.4 MB, free: 4.348 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.104e-05/0.007198, allocations: 12.03 kB / 347.5 MB, free: 4.336 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.146e-05/0.007249, allocations: 32.73 kB / 347.5 MB, free: 4.305 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001951/0.007445, allocations: 156.3 kB / 347.6 MB, free: 4.125 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.00746, allocations: 8.375 kB / 347.6 MB, free: 4.117 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.007474, allocations: 8.375 kB / 347.7 MB, free: 4.109 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003836/0.007858, allocations: 413.6 kB / 348.1 MB, free: 3.668 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.007866, allocations: 192 / 348.1 MB, free: 3.668 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.007876, allocations: 384 / 348.1 MB, free: 3.668 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.007883, allocations: 8.312 kB / 348.1 MB, free: 3.66 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.397e-05/0.007967, allocations: 100.8 kB / 348.2 MB, free: 3.551 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002657/0.008233, allocations: 288.4 kB / 348.4 MB, free: 3.238 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002053/0.008438, allocations: 178.4 kB / 348.6 MB, free: 3.023 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.425e-05/0.008512, allocations: 107.8 kB / 348.7 MB, free: 2.898 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.008533, allocations: 4 kB / 348.7 MB, free: 2.895 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.008558, allocations: 41.33 kB / 348.8 MB, free: 2.844 MB / 314.7 MB Notification: Performance of pre-optimization done (n=50): time 1.393e-06/0.00856, allocations: 0 / 348.8 MB, free: 2.844 MB / 314.7 MB Notification: Performance of matching and sorting (n=50): time 0.0005067/0.009066, allocations: 492.6 kB / 349.2 MB, free: 2.32 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.298e-05/0.009129, allocations: 137.5 kB / 349.4 MB, free: 2.156 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.009248, allocations: 216.2 kB / 349.6 MB, free: 1.93 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.009262, allocations: 29.7 kB / 349.6 MB, free: 1.895 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.922e-05/0.009331, allocations: 155.8 kB / 349.8 MB, free: 1.738 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.65e-05/0.009348, allocations: 19.92 kB / 349.8 MB, free: 1.719 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.379e-05/0.009402, allocations: 35.34 kB / 349.8 MB, free: 1.676 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.009521, allocations: 0.4962 MB / 350.3 MB, free: 1.168 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.265e-05/0.009553, allocations: 59.41 kB / 350.4 MB, free: 1.098 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.956e-05/0.009593, allocations: 74.78 kB / 350.5 MB, free: 1.004 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.984e-05/0.009663, allocations: 138.1 kB / 350.6 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.009664, allocations: 0 / 350.6 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001312/0.009795, allocations: 168.6 kB / 350.8 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.863e-05/0.009834, allocations: 75.39 kB / 350.8 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.009838, allocations: 0 / 350.8 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.606e-06/0.009847, allocations: 3.984 kB / 350.8 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.196e-05/0.009869, allocations: 4 kB / 350.8 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.164e-06/0.009871, allocations: 0 / 350.8 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.558e-05/0.009896, allocations: 4 kB / 350.8 MB, free: 0.543 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.009902, allocations: 0 / 350.8 MB, free: 0.543 MB / 314.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 9.68e-05/0.009999, allocations: 224 kB / 351.1 MB, free: 308 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001953/0.01019, allocations: 212.4 kB / 351.3 MB, free: 88 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.623e-05/0.01023, allocations: 22.56 kB / 351.3 MB, free: 68 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.01023, allocations: 0 / 351.3 MB, free: 68 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.01024, allocations: 4 kB / 351.3 MB, free: 64 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.01024, allocations: 3.984 kB / 351.3 MB, free: 60 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.01039, allocations: 133 kB / 351.4 MB, free: 15.9 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.01039, allocations: 4 kB / 351.4 MB, free: 15.9 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.317e-05/0.01045, allocations: 15.92 kB / 351.4 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.01045, allocations: 0 / 351.4 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.01046, allocations: 4 kB / 351.5 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.01046, allocations: 0 / 351.5 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.01046, allocations: 7.938 kB / 351.5 MB, free: 15.87 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001753/0.01064, allocations: 327.3 kB / 351.8 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.22e-05/0.01066, allocations: 31.72 kB / 351.8 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.01068, allocations: 12.03 kB / 351.8 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.764e-05/0.01073, allocations: 0 / 351.8 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.808e-05/0.01075, allocations: 7.938 kB / 351.8 MB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.01076, allocations: 4 kB / 351.8 MB, free: 15.45 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.417e-05/0.01082, allocations: 147.1 kB / 352 MB, free: 15.3 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01082, allocations: 0 / 352 MB, free: 15.3 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002332/0.01105, allocations: 20 kB / 352 MB, free: 15.29 MB / 330.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.000622/0.01167, allocations: 358.2 kB / 352.3 MB, free: 15.04 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001938/0.01187, allocations: 284.7 kB / 352.6 MB, free: 14.71 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01187, allocations: 0 / 352.6 MB, free: 14.71 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.693e-05/0.01193, allocations: 173.9 kB / 352.8 MB, free: 14.5 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003728/0.01231, allocations: 157.4 kB / 352.9 MB, free: 14.34 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004327/0.01274, allocations: 415.7 kB / 353.4 MB, free: 13.88 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.825e-05/0.01282, allocations: 119 kB / 353.5 MB, free: 13.75 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.633e-05/0.01285, allocations: 11.98 kB / 353.5 MB, free: 13.74 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.177e-05/0.01294, allocations: 90.19 kB / 353.6 MB, free: 13.65 MB / 330.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01294, allocations: 3.938 kB / 353.6 MB, free: 13.64 MB / 330.7 MB Notification: Performance of Templates: time 0.004471/0.01741, allocations: 2.094 MB / 355.7 MB, free: 11.56 MB / 330.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.576891789212823]