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.0009554/0.0009554, allocations: 84.22 kB / 20.98 MB, free: 3.566 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.0008917/0.0008917, allocations: 165 kB / 24.29 MB, free: 268 kB / 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.9709/0.9709, allocations: 177.1 MB / 204.6 MB, free: 5.645 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.03657/0.03657, allocations: 9.156 MB / 270.2 MB, free: 4.34 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.252e-06/1.252e-06, allocations: 0 / 342.5 MB, free: 7.656 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.428e-05/1.553e-05, allocations: 8.641 kB / 342.5 MB, free: 7.648 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick): time 0.002108/0.002123, allocations: 2.468 MB / 345 MB, free: 5.164 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000167/0.00229, allocations: 131.5 kB / 345.1 MB, free: 5.035 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.53e-05/0.002355, allocations: 3.938 kB / 345.1 MB, free: 5.031 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001385/0.002494, allocations: 31.72 kB / 345.2 MB, free: 5 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.294e-05/0.002587, allocations: 11.86 kB / 345.2 MB, free: 4.988 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001829/0.00277, allocations: 43.89 kB / 345.2 MB, free: 4.945 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.002898, allocations: 79.77 kB / 345.3 MB, free: 4.867 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.371e-05/0.002982, allocations: 12.22 kB / 345.3 MB, free: 4.852 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.395e-05/0.003036, allocations: 35.91 kB / 345.3 MB, free: 4.816 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.604e-05/0.003132, allocations: 39.89 kB / 345.4 MB, free: 4.777 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.413e-05/0.003156, allocations: 8 kB / 345.4 MB, free: 4.77 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.449e-05/0.003211, allocations: 35.86 kB / 345.4 MB, free: 4.734 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.051e-05/0.003261, allocations: 47.78 kB / 345.5 MB, free: 4.688 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.973e-05/0.003301, allocations: 31.84 kB / 345.5 MB, free: 4.656 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.003464, allocations: 147.3 kB / 345.6 MB, free: 4.512 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.003465, allocations: 0 / 345.6 MB, free: 4.512 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.003466, allocations: 0 / 345.6 MB, free: 4.512 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.00347, allocations: 4 kB / 345.6 MB, free: 4.508 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.0003962/0.003866, allocations: 0.542 MB / 346.2 MB, free: 3.914 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.003897, allocations: 12.03 kB / 346.2 MB, free: 3.902 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.855e-05/0.003945, allocations: 32.75 kB / 346.2 MB, free: 3.871 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/0.004105, allocations: 152.3 kB / 346.4 MB, free: 3.695 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.004116, allocations: 8.375 kB / 346.4 MB, free: 3.688 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.004129, allocations: 12.38 kB / 346.4 MB, free: 3.676 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003138/0.004442, allocations: 429.8 kB / 346.8 MB, free: 3.215 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.004451, allocations: 192 / 346.8 MB, free: 3.215 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.004461, allocations: 4.375 kB / 346.8 MB, free: 3.211 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.004469, allocations: 4.375 kB / 346.8 MB, free: 3.207 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.397e-05/0.004533, allocations: 108.3 kB / 346.9 MB, free: 3.09 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002188/0.004752, allocations: 307.7 kB / 347.2 MB, free: 2.75 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.004909, allocations: 182.4 kB / 347.4 MB, free: 2.535 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.698e-05/0.004966, allocations: 119.8 kB / 347.5 MB, free: 2.398 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.004987, allocations: 4 kB / 347.5 MB, free: 2.395 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.704e-05/0.005005, allocations: 49.31 kB / 347.6 MB, free: 2.336 MB / 266.7 MB Notification: Performance of pre-optimization done (n=50): time 1.012e-06/0.005006, allocations: 0 / 347.6 MB, free: 2.336 MB / 266.7 MB Notification: Performance of matching and sorting (n=50): time 0.0003123/0.005318, allocations: 0.5007 MB / 348.1 MB, free: 1.793 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.005352, allocations: 141.5 kB / 348.2 MB, free: 1.625 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.841e-05/0.005431, allocations: 220.7 kB / 348.4 MB, free: 1.395 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.004e-06/0.005438, allocations: 29.64 kB / 348.5 MB, free: 1.359 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.605e-05/0.005474, allocations: 151.8 kB / 348.6 MB, free: 1.207 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.939e-06/0.005484, allocations: 7.953 kB / 348.6 MB, free: 1.199 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.284e-05/0.005517, allocations: 47.34 kB / 348.7 MB, free: 1.145 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.634e-05/0.005553, allocations: 0.4884 MB / 349.2 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.087e-05/0.005574, allocations: 63.39 kB / 349.2 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.205e-05/0.005596, allocations: 74.78 kB / 349.3 MB, free: 488 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.038e-05/0.005636, allocations: 142.1 kB / 349.4 MB, free: 312 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.005638, allocations: 0 / 349.4 MB, free: 312 kB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.322e-05/0.005711, allocations: 176.4 kB / 349.6 MB, free: 104 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.005731, allocations: 67.39 kB / 349.7 MB, free: 24 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.005734, allocations: 0 / 349.7 MB, free: 24 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.005746, allocations: 0 / 349.7 MB, free: 24 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.12e-05/0.005767, allocations: 8 kB / 349.7 MB, free: 16 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.005772, allocations: 4 kB / 349.7 MB, free: 12 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.765e-05/0.005789, allocations: 0 / 349.7 MB, free: 12 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.005796, allocations: 4 kB / 349.7 MB, free: 8 kB / 266.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.99e-05/0.005886, allocations: 212 kB / 349.9 MB, free: 15.78 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001627/0.006048, allocations: 228.7 kB / 350.1 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.039e-05/0.006079, allocations: 18.62 kB / 350.1 MB, free: 15.53 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.006083, allocations: 7.984 kB / 350.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.006086, allocations: 0 / 350.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.006089, allocations: 0 / 350.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.994e-05/0.006189, allocations: 156.3 kB / 350.3 MB, free: 15.33 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.006193, allocations: 4 kB / 350.3 MB, free: 15.33 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.978e-05/0.006233, allocations: 19.92 kB / 350.3 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.006234, allocations: 0 / 350.3 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.006246, allocations: 11.94 kB / 350.3 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.006246, allocations: 0 / 350.3 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.006247, allocations: 0 / 350.3 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002761/0.006523, allocations: 0.5256 MB / 350.9 MB, free: 14.72 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.641e-05/0.006539, allocations: 31.73 kB / 350.9 MB, free: 14.69 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.006556, allocations: 15.88 kB / 350.9 MB, free: 14.67 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.583e-05/0.006592, allocations: 0 / 350.9 MB, free: 14.67 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.97e-05/0.006612, allocations: 7.984 kB / 350.9 MB, free: 14.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/0.006618, allocations: 8 kB / 350.9 MB, free: 14.66 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.703e-05/0.006665, allocations: 143.2 kB / 351.1 MB, free: 14.52 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006665, allocations: 0 / 351.1 MB, free: 14.52 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001628/0.006828, allocations: 24 kB / 351.1 MB, free: 14.49 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.0005182/0.007346, allocations: 357.1 kB / 351.4 MB, free: 14.25 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000182/0.007528, allocations: 300.8 kB / 351.7 MB, free: 13.91 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.00753, allocations: 0 / 351.7 MB, free: 13.91 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.309e-05/0.007583, allocations: 173.9 kB / 351.9 MB, free: 13.7 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.007872, allocations: 161.9 kB / 352.1 MB, free: 13.53 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003713/0.008243, allocations: 423.7 kB / 352.5 MB, free: 13.07 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.687e-05/0.0083, allocations: 116.1 kB / 352.6 MB, free: 12.93 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.739e-05/0.008328, allocations: 11.98 kB / 352.6 MB, free: 12.92 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.661e-05/0.008344, allocations: 12.5 kB / 352.6 MB, free: 12.91 MB / 282.7 MB Notification: Performance of SimCode: time 5.41e-07/0.008345, allocations: 0 / 352.6 MB, free: 12.91 MB / 282.7 MB Notification: Performance of Templates: time 0.003159/0.0115, allocations: 1.96 MB / 354.6 MB, free: 10.96 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.5676198720466346]