Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboard.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.00104/0.00104, allocations: 72.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001472/0.002512, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.001109/0.001109, allocations: 157.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001501/0.00261, allocations: 467.6 kB / 11.69 MB, free: 2.477 MB / 13.93 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.9591/0.9591, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08603/1.045, allocations: 53.66 MB / 243.2 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/package.mo): time 0.03487/0.03487, allocations: 9.163 MB / 253.1 MB, free: 6.082 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-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 2.2.0-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 2.2.0-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 2.2.0-master/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.006284/0.04116, allocations: 3.441 MB / 256.6 MB, free: 2.637 MB / 250.7 MB " [Timeout remaining time 180] Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-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.TestInputKeyboard,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboard") translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboard,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboard") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 3.938 kB / 257.8 MB, free: 1.371 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.735e-05/1.895e-05, allocations: 10.11 kB / 257.9 MB, free: 1.363 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboard): time 0.002592/0.002611, allocations: 2.508 MB / 260.4 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002074/0.002818, allocations: 135.5 kB / 260.5 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.436e-05/0.002883, allocations: 7.938 kB / 260.5 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.036e-05/0.002963, allocations: 15.8 kB / 260.5 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.469e-05/0.002998, allocations: 11.86 kB / 260.5 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001559/0.003154, allocations: 51.83 kB / 260.6 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001297/0.003283, allocations: 71.78 kB / 260.7 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.012e-05/0.003363, allocations: 28.2 kB / 260.7 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.003493, allocations: 43.91 kB / 260.7 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.89e-05/0.003541, allocations: 31.89 kB / 260.8 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.215e-05/0.003564, allocations: 4 kB / 260.8 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.716e-05/0.003621, allocations: 20 kB / 260.8 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.529e-05/0.003666, allocations: 15.94 kB / 260.8 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.631e-05/0.003702, allocations: 19.94 kB / 260.8 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001683/0.003871, allocations: 99.53 kB / 260.9 MB, free: 14.29 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.094e-05/0.003882, allocations: 0 / 260.9 MB, free: 14.29 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.003882, allocations: 0 / 260.9 MB, free: 14.29 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.003893, allocations: 3.938 kB / 260.9 MB, free: 14.28 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0003449/0.004238, allocations: 359.6 kB / 261.3 MB, free: 13.89 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.031e-05/0.004268, allocations: 12.62 kB / 261.3 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.719e-05/0.004305, allocations: 16.92 kB / 261.3 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.004454, allocations: 137.5 kB / 261.4 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.945e-06/0.004462, allocations: 4.375 kB / 261.4 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.004474, allocations: 12.38 kB / 261.4 MB, free: 13.69 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000231/0.004705, allocations: 253.4 kB / 261.7 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.004711, allocations: 192 / 261.7 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.004722, allocations: 12.11 kB / 261.7 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.857e-05/0.004741, allocations: 8 kB / 261.7 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.818e-05/0.004799, allocations: 86.2 kB / 261.8 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002053/0.005004, allocations: 171.8 kB / 262 MB, free: 13.1 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.005106, allocations: 128.6 kB / 262.1 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.513e-05/0.005151, allocations: 89.17 kB / 262.2 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.333e-06/0.005159, allocations: 8 kB / 262.2 MB, free: 12.83 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.005181, allocations: 42.44 kB / 262.2 MB, free: 12.78 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.092e-06/0.005182, allocations: 0 / 262.2 MB, free: 12.78 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.0001986/0.005381, allocations: 267.8 kB / 262.5 MB, free: 12.48 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.00542, allocations: 89.09 kB / 262.6 MB, free: 12.37 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.056e-05/0.005481, allocations: 122.6 kB / 262.7 MB, free: 12.24 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.005492, allocations: 25.7 kB / 262.7 MB, free: 12.21 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.381e-05/0.005526, allocations: 100.4 kB / 262.8 MB, free: 12.11 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.276e-05/0.005538, allocations: 11.89 kB / 262.8 MB, free: 12.09 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.637e-05/0.005565, allocations: 17.7 kB / 262.8 MB, free: 12.07 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.549e-05/0.00563, allocations: 318.8 kB / 263.2 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.368e-05/0.005654, allocations: 59.44 kB / 263.2 MB, free: 11.68 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.211e-05/0.005686, allocations: 81.09 kB / 263.3 MB, free: 11.58 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.461e-05/0.005741, allocations: 132.5 kB / 263.4 MB, free: 11.42 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.005743, allocations: 0 / 263.4 MB, free: 11.42 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.965e-05/0.005822, allocations: 164.4 kB / 263.6 MB, free: 11.23 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.915e-05/0.005861, allocations: 59.34 kB / 263.6 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.005866, allocations: 0 / 263.6 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.432e-06/0.005872, allocations: 0 / 263.6 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.323e-05/0.005905, allocations: 11.98 kB / 263.7 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-06/0.005908, allocations: 4.062 kB / 263.7 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.932e-05/0.005928, allocations: 7.953 kB / 263.7 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.005933, allocations: 0 / 263.7 MB, free: 11.14 MB / 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 7.423e-05/0.006007, allocations: 172.1 kB / 263.8 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.261e-05/0.00607, allocations: 88.73 kB / 263.9 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.015e-05/0.00609, allocations: 12.78 kB / 263.9 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.0061, allocations: 7.984 kB / 263.9 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.006102, allocations: 0 / 263.9 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.006105, allocations: 0 / 263.9 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.948e-05/0.006185, allocations: 81.83 kB / 264 MB, free: 10.74 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.006187, allocations: 3.938 kB / 264 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.357e-06/0.006196, allocations: 12 kB / 264 MB, free: 10.72 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.748e-06/0.006206, allocations: 11.89 kB / 264 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.006207, allocations: 0 / 264 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.006215, allocations: 7.938 kB / 264.1 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.006216, allocations: 3.984 kB / 264.1 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.006218, allocations: 0 / 264.1 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001053/0.006323, allocations: 266 kB / 264.3 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.006337, allocations: 4.234 kB / 264.3 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.157e-05/0.006368, allocations: 7.938 kB / 264.3 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.542e-05/0.006384, allocations: 4 kB / 264.3 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.00639, allocations: 8.016 kB / 264.3 MB, free: 10.37 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.623e-05/0.006406, allocations: 20.83 kB / 264.4 MB, free: 10.35 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006406, allocations: 0 / 264.4 MB, free: 10.35 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001345/0.00654, allocations: 20 kB / 264.4 MB, free: 10.33 MB / 266.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: 19 (synchronizeRealtime.initialized,assignClock1.u,assignClock1.y,keyboardInput.keyUp,keyboardInput.keyDown,keyboardInput.keyRight,keyboardInput.keyLeft,keyboardInput.keyReturn,keyboardInput.keySpace,keyboardInput.KeyCode[1],keyboardInput.KeyCode[2],keyboardInput.KeyCode[3],keyboardInput.KeyCode[4],keyboardInput.KeyCode[5],keyboardInput.KeyCode[6],keyboardInput.KeyCode[7],keyboardInput.KeyCode[8],keyboardInput.KeyCode[9],keyboardInput.KeyCode[10]) * 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: 1 * 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 Backend phase and start with SimCode phase: time 0.0006666/0.007207, allocations: 380.3 kB / 264.8 MB, free: 10.08 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001519/0.007359, allocations: 262.3 kB / 265 MB, free: 9.77 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.007364, allocations: 4 kB / 265 MB, free: 9.766 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.952e-05/0.007413, allocations: 171.1 kB / 265.2 MB, free: 9.559 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000173/0.007586, allocations: 58.67 kB / 265.2 MB, free: 9.5 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004164/0.008003, allocations: 283.9 kB / 265.5 MB, free: 9.18 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.274e-05/0.008045, allocations: 83.19 kB / 265.6 MB, free: 9.078 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.221e-05/0.008078, allocations: 11.98 kB / 265.6 MB, free: 9.066 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.629e-05/0.008144, allocations: 71.36 kB / 265.7 MB, free: 8.996 MB / 266.7 MB Notification: Performance of SimCode: time 4.9e-07/0.008144, allocations: 0 / 265.7 MB, free: 8.996 MB / 266.7 MB Notification: Performance of Templates: time 0.00287/0.01101, allocations: 1.5 MB / 267.2 MB, free: 7.504 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboard.makefile [Timeout 660] (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboard.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboard.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboard.pipe >> ../files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboard.sim & ./Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboard -abortSlowSimulation -alarm=240 -lv LOG_STATS > Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboard.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.426145629957318]