Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputKeyboardKey.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.001073/0.001073, allocations: 85.06 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001634/0.002707, allocations: 452 kB / 10.43 MB, free: 264 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.001084/0.001084, allocations: 157.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001442/0.002526, allocations: 483.5 kB / 11.8 MB, free: 2.363 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 1.007/1.007, allocations: 177.2 MB / 189.7 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0878/1.095, allocations: 53.67 MB / 243.4 MB, free: 15.51 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.03662/0.03662, allocations: 9.156 MB / 253.3 MB, free: 6.008 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.005826/0.04245, allocations: 3.444 MB / 256.8 MB, free: 2.559 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.Blocks.Examples.TestInputKeyboardKey,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputKeyboardKey") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestInputKeyboardKey,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputKeyboardKey") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 258.1 MB, free: 1.258 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.999e-06/1.127e-05, allocations: 2.312 kB / 258.1 MB, free: 1.254 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestInputKeyboardKey): time 0.003275/0.003286, allocations: 2.893 MB / 261 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005452/0.003831, allocations: 362.7 kB / 261.3 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.865e-05/0.00391, allocations: 11.88 kB / 261.3 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001347/0.004045, allocations: 51.53 kB / 261.4 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002326/0.004277, allocations: 63.75 kB / 261.4 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001995/0.004477, allocations: 87.64 kB / 261.5 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002832/0.00476, allocations: 156 kB / 261.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.004875, allocations: 46.42 kB / 261.7 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.004993, allocations: 91.8 kB / 261.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.694e-05/0.00508, allocations: 51.86 kB / 261.9 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.614e-05/0.005106, allocations: 12 kB / 261.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001834/0.005289, allocations: 151.8 kB / 262 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.617e-05/0.005335, allocations: 27.94 kB / 262 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.13e-05/0.005377, allocations: 31.88 kB / 262.1 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002283/0.005605, allocations: 159.5 kB / 262.2 MB, free: 13.06 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.062e-05/0.005616, allocations: 0 / 262.2 MB, free: 13.06 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.005616, allocations: 0 / 262.2 MB, free: 13.06 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.005625, allocations: 3.938 kB / 262.2 MB, free: 13.06 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0004579/0.006083, allocations: 383.9 kB / 262.6 MB, free: 12.65 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.987e-05/0.006113, allocations: 8.625 kB / 262.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.757e-05/0.00616, allocations: 20.92 kB / 262.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.006331, allocations: 172.6 kB / 262.8 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.00635, allocations: 12.55 kB / 262.8 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.006369, allocations: 12.38 kB / 262.8 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.006525, allocations: 121.5 kB / 263 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.006533, allocations: 192 / 263 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.006547, allocations: 8.375 kB / 263 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.006553, allocations: 384 / 263 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.252e-05/0.006606, allocations: 34.11 kB / 263 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003767/0.006982, allocations: 303.9 kB / 263.3 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.757e-05/0.00706, allocations: 57.14 kB / 263.3 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.17e-05/0.007092, allocations: 21.84 kB / 263.4 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.007111, allocations: 4 kB / 263.4 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001013/0.007213, allocations: 89.02 kB / 263.5 MB, free: 11.71 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 8.82e-07/0.007213, allocations: 0 / 263.5 MB, free: 11.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001372/0.007351, allocations: 73.72 kB / 263.5 MB, free: 11.63 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.007391, allocations: 81.11 kB / 263.6 MB, free: 11.54 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.826e-05/0.007489, allocations: 155.3 kB / 263.8 MB, free: 11.37 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.007501, allocations: 25.7 kB / 263.8 MB, free: 11.34 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.505e-05/0.007556, allocations: 120.2 kB / 263.9 MB, free: 11.21 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.243e-05/0.007578, allocations: 35.72 kB / 263.9 MB, free: 11.18 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.342e-05/0.007622, allocations: 29.7 kB / 264 MB, free: 11.14 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.692e-05/0.007698, allocations: 326.8 kB / 264.3 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.803e-05/0.007717, allocations: 12 kB / 264.3 MB, free: 10.8 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.539e-05/0.007752, allocations: 47.28 kB / 264.3 MB, free: 10.75 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.397e-05/0.007816, allocations: 58.17 kB / 264.4 MB, free: 10.68 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.007818, allocations: 0 / 264.4 MB, free: 10.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001034/0.007921, allocations: 89.56 kB / 264.5 MB, free: 10.58 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/0.007931, allocations: 4 kB / 264.5 MB, free: 10.58 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.007942, allocations: 3.938 kB / 264.5 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.007955, allocations: 4 kB / 264.5 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.751e-05/0.008012, allocations: 16.06 kB / 264.5 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.157e-06/0.008016, allocations: 3.984 kB / 264.5 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.442e-05/0.008051, allocations: 11.95 kB / 264.5 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.008058, allocations: 4 kB / 264.5 MB, free: 10.54 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,keyboardKeyInput.additionalKeyStateInt,$PRE.keyboardKeyInput.additionalKeyStateInt,keyboardKeyInput.keyStateInt,$PRE.keyboardKeyInput.keyStateInt,keyboardKeyInput.keyState) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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 prepare postOptimizeDAE: time 6.938e-05/0.008127, allocations: 120.9 kB / 264.7 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.474e-05/0.008142, allocations: 7.984 kB / 264.7 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.582e-05/0.008178, allocations: 20.7 kB / 264.7 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.00818, allocations: 0 / 264.7 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.008183, allocations: 4 kB / 264.7 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.008187, allocations: 4 kB / 264.7 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.008304, allocations: 109.7 kB / 264.8 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.008308, allocations: 0 / 264.8 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.585e-05/0.008324, allocations: 4 kB / 264.8 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.477e-05/0.008338, allocations: 15.88 kB / 264.8 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.143e-06/0.008339, allocations: 0 / 264.8 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/0.008347, allocations: 4 kB / 264.8 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.008349, allocations: 3.938 kB / 264.8 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.00835, allocations: 0 / 264.8 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.296e-05/0.008443, allocations: 101.8 kB / 264.9 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.008455, allocations: 0 / 264.9 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.891e-05/0.008474, allocations: 0 / 264.9 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.697e-05/0.008501, allocations: 15.92 kB / 264.9 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.008506, allocations: 4 kB / 264.9 MB, free: 10.07 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.822e-05/0.008545, allocations: 41.62 kB / 265 MB, free: 10.03 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008545, allocations: 0 / 265 MB, free: 10.03 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004281/0.008973, allocations: 35.89 kB / 265 MB, free: 9.996 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: 4 ($whenCondition1,keyboardKeyInput.keyState,keyboardKeyInput.keyStateInt,keyboardKeyInput.additionalKeyStateInt) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 2 * 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.0006056/0.009578, allocations: 290.5 kB / 265.3 MB, free: 9.789 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000115/0.009693, allocations: 78.42 kB / 265.4 MB, free: 9.703 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.0097, allocations: 0 / 265.4 MB, free: 9.703 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.817e-05/0.009749, allocations: 58.47 kB / 265.4 MB, free: 9.637 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.711e-05/0.009846, allocations: 36.16 kB / 265.5 MB, free: 9.602 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004886/0.01033, allocations: 268.8 kB / 265.7 MB, free: 9.309 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.682e-05/0.01038, allocations: 79.5 kB / 265.8 MB, free: 9.211 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.063e-05/0.01041, allocations: 16.36 kB / 265.8 MB, free: 9.195 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.298e-05/0.01046, allocations: 67.36 kB / 265.9 MB, free: 9.129 MB / 266.7 MB Notification: Performance of SimCode: time 6.32e-07/0.01047, allocations: 0 / 265.9 MB, free: 9.129 MB / 266.7 MB Notification: Performance of Templates: time 0.003517/0.01398, allocations: 1.476 MB / 267.4 MB, free: 7.656 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputKeyboardKey.makefile [Timeout 660] (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputKeyboardKey.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputKeyboardKey.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputKeyboardKey.pipe >> ../files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputKeyboardKey.sim & ./Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputKeyboardKey -abortSlowSimulation -alarm=240 -lv LOG_STATS > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputKeyboardKey.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.775257841683924]