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.001053/0.001053, allocations: 72.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001724/0.002777, 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.001144/0.001144, allocations: 157.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001508/0.002651, 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 1.026/1.026, allocations: 177.2 MB / 189.6 MB, free: 5.293 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09562/1.122, allocations: 53.66 MB / 243.3 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.03627/0.03627, allocations: 9.168 MB / 253.1 MB, free: 6.07 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.008466/0.04474, allocations: 3.44 MB / 256.6 MB, free: 2.629 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.453e-06/1.453e-06, allocations: 0 / 257.9 MB, free: 1.355 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.832e-05/1.978e-05, allocations: 2.312 kB / 257.9 MB, free: 1.352 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestInputKeyboardKey): time 0.006807/0.006827, allocations: 2.87 MB / 260.7 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005753/0.007402, allocations: 382.6 kB / 261.1 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.227e-05/0.007495, allocations: 3.938 kB / 261.1 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001512/0.007646, allocations: 47.59 kB / 261.2 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002184/0.007864, allocations: 59.73 kB / 261.2 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002023/0.008066, allocations: 95.58 kB / 261.3 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001727/0.008239, allocations: 148.1 kB / 261.4 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.008368, allocations: 50.42 kB / 261.5 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003187/0.01156, allocations: 91.8 kB / 261.6 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.59e-05/0.01165, allocations: 51.81 kB / 261.6 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.632e-05/0.01168, allocations: 16 kB / 261.7 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001856/0.01186, allocations: 147.9 kB / 261.8 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.828e-05/0.01191, allocations: 31.86 kB / 261.8 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.148e-05/0.01195, allocations: 31.94 kB / 261.9 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002387/0.01219, allocations: 151.5 kB / 262 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.522e-05/0.01221, allocations: 0 / 262 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.01221, allocations: 7.938 kB / 262 MB, free: 13.17 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.399e-05/0.01222, allocations: 0 / 262 MB, free: 13.17 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.0004973/0.01272, allocations: 387.9 kB / 262.4 MB, free: 12.76 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.01275, allocations: 8.625 kB / 262.4 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.383e-05/0.01279, allocations: 16.92 kB / 262.4 MB, free: 12.74 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/0.01297, allocations: 173.3 kB / 262.6 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.01299, allocations: 4.609 kB / 262.6 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.613e-05/0.013, allocations: 12.38 kB / 262.6 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.01316, allocations: 122 kB / 262.7 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.01316, allocations: 192 / 262.7 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.01318, allocations: 12.36 kB / 262.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.01318, allocations: 4.375 kB / 262.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.628e-05/0.01324, allocations: 34.06 kB / 262.8 MB, free: 12.35 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004193/0.01366, allocations: 300 kB / 263.1 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.603e-05/0.01375, allocations: 49.09 kB / 263.1 MB, free: 11.97 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.164e-05/0.01378, allocations: 21.84 kB / 263.1 MB, free: 11.94 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.936e-05/0.01381, allocations: 4 kB / 263.1 MB, free: 11.94 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001239/0.01393, allocations: 85.08 kB / 263.2 MB, free: 11.84 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.032e-06/0.01393, allocations: 0 / 263.2 MB, free: 11.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001754/0.01411, allocations: 81.67 kB / 263.3 MB, free: 11.75 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.52e-05/0.01416, allocations: 77.11 kB / 263.4 MB, free: 11.66 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.01427, allocations: 159.3 kB / 263.5 MB, free: 11.49 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.01428, allocations: 29.7 kB / 263.6 MB, free: 11.45 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003101/0.01738, allocations: 120.2 kB / 263.7 MB, free: 11.33 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.329e-05/0.01742, allocations: 27.8 kB / 263.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.311e-05/0.01747, allocations: 25.7 kB / 263.7 MB, free: 11.27 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.343e-05/0.01756, allocations: 330.8 kB / 264.1 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.096e-05/0.01759, allocations: 12 kB / 264.1 MB, free: 10.93 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.162e-05/0.01764, allocations: 50.58 kB / 264.1 MB, free: 10.87 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.259e-05/0.01771, allocations: 54.19 kB / 264.2 MB, free: 10.8 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.01771, allocations: 7.984 kB / 264.2 MB, free: 10.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001197/0.01783, allocations: 81.55 kB / 264.3 MB, free: 10.71 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.01785, allocations: 7.594 kB / 264.3 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/0.01786, allocations: 3.938 kB / 264.3 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.01787, allocations: 4 kB / 264.3 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.391e-05/0.01794, allocations: 12 kB / 264.3 MB, free: 10.69 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.01794, allocations: 3.984 kB / 264.3 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.604e-05/0.01798, allocations: 11.89 kB / 264.3 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.779e-06/0.01799, allocations: 8 kB / 264.3 MB, free: 10.66 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 7.865e-05/0.01807, allocations: 125.7 kB / 264.4 MB, free: 10.53 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.718e-05/0.01808, allocations: 11.98 kB / 264.4 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.496e-05/0.01813, allocations: 20.7 kB / 264.5 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.01813, allocations: 0 / 264.5 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.01813, allocations: 0 / 264.5 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.01814, allocations: 4 kB / 264.5 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001324/0.01827, allocations: 97.8 kB / 264.6 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.01828, allocations: 0 / 264.6 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.983e-05/0.0183, allocations: 4 kB / 264.6 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.762e-05/0.01831, allocations: 19.88 kB / 264.6 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.01831, allocations: 0 / 264.6 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.01832, allocations: 8 kB / 264.6 MB, free: 10.35 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.01833, allocations: 8.062 kB / 264.6 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.01833, allocations: 0 / 264.6 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001103/0.01844, allocations: 93.89 kB / 264.7 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.01845, allocations: 0 / 264.7 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.244e-05/0.01847, allocations: 4 kB / 264.7 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.066e-05/0.0185, allocations: 12.16 kB / 264.7 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-06/0.01851, allocations: 0 / 264.7 MB, free: 10.21 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.499e-05/0.01854, allocations: 41.62 kB / 264.7 MB, free: 10.17 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01854, allocations: 0 / 264.7 MB, free: 10.17 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002066/0.01875, allocations: 39.89 kB / 264.8 MB, free: 10.13 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.0006861/0.01944, allocations: 295 kB / 265.1 MB, free: 9.918 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001325/0.01957, allocations: 74.27 kB / 265.1 MB, free: 9.84 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.418e-06/0.01958, allocations: 8.125 kB / 265.2 MB, free: 9.832 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.219e-05/0.01962, allocations: 50.55 kB / 265.2 MB, free: 9.773 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.159e-05/0.01971, allocations: 15.94 kB / 265.2 MB, free: 9.758 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003691/0.0234, allocations: 272.8 kB / 265.5 MB, free: 9.461 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.594e-05/0.02346, allocations: 75.33 kB / 265.6 MB, free: 9.367 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.472e-05/0.0235, allocations: 16.34 kB / 265.6 MB, free: 9.352 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.203e-05/0.02357, allocations: 63.38 kB / 265.6 MB, free: 9.289 MB / 266.7 MB Notification: Performance of SimCode: time 8.72e-07/0.02357, allocations: 0 / 265.6 MB, free: 9.289 MB / 266.7 MB Notification: Performance of Templates: time 0.007463/0.03103, allocations: 1.498 MB / 267.1 MB, free: 7.797 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.936390211805701]