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.001003/0.001003, allocations: 85.06 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001447/0.002449, 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.0007068/0.0007068, allocations: 157.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009431/0.00165, 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 0.8866/0.8866, allocations: 177.2 MB / 189.7 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07999/0.9666, 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.03529/0.03529, allocations: 9.151 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.005093/0.04038, allocations: 3.451 MB / 256.8 MB, free: 2.551 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 8.81e-07/8.81e-07, allocations: 0 / 258.1 MB, free: 1.262 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.335e-06/9.216e-06, allocations: 6.25 kB / 258.1 MB, free: 1.254 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboard): time 0.002233/0.002242, allocations: 2.518 MB / 260.6 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001746/0.002417, allocations: 139.5 kB / 260.7 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.49e-05/0.002462, allocations: 0 / 260.7 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.663e-05/0.002528, allocations: 27.73 kB / 260.7 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 2.747e-05/0.002556, allocations: 7.875 kB / 260.7 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001266/0.002682, allocations: 51.81 kB / 260.8 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.002796, allocations: 79.77 kB / 260.9 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.164e-05/0.002858, allocations: 12.23 kB / 260.9 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.053e-05/0.002928, allocations: 55.88 kB / 260.9 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.236e-05/0.002971, allocations: 27.92 kB / 261 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.002989, allocations: 4 kB / 261 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.088e-05/0.00304, allocations: 23.94 kB / 261 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.966e-05/0.00308, allocations: 19.92 kB / 261 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.164e-05/0.003111, allocations: 19.94 kB / 261 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001295/0.003241, allocations: 87.55 kB / 261.1 MB, free: 14.17 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.003247, allocations: 0 / 261.1 MB, free: 14.17 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.003248, allocations: 0 / 261.1 MB, free: 14.17 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.003255, allocations: 4 kB / 261.1 MB, free: 14.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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0002933/0.003548, allocations: 363.6 kB / 261.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.512e-05/0.003573, allocations: 8.625 kB / 261.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.298e-05/0.003606, allocations: 20.92 kB / 261.5 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.003731, allocations: 133.5 kB / 261.6 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.338e-06/0.003741, allocations: 12.36 kB / 261.7 MB, free: 13.58 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.003752, allocations: 4.375 kB / 261.7 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002151/0.003967, allocations: 276.5 kB / 261.9 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.001e-06/0.003973, allocations: 192 / 261.9 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.003981, allocations: 8.125 kB / 261.9 MB, free: 13.26 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.612e-05/0.003998, allocations: 4 kB / 261.9 MB, free: 13.26 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.976e-05/0.004047, allocations: 85.75 kB / 262 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001663/0.004214, allocations: 183.9 kB / 262.2 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.618e-05/0.00431, allocations: 128.5 kB / 262.3 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.266e-05/0.004352, allocations: 85.14 kB / 262.4 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.53e-06/0.004358, allocations: 0 / 262.4 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.004377, allocations: 46.5 kB / 262.5 MB, free: 12.65 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 8.11e-07/0.004378, allocations: 0 / 262.5 MB, free: 12.65 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.000174/0.004552, allocations: 271.8 kB / 262.7 MB, free: 12.34 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.004587, allocations: 89.05 kB / 262.8 MB, free: 12.24 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.517e-05/0.004642, allocations: 126.6 kB / 262.9 MB, free: 12.1 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.004653, allocations: 29.7 kB / 263 MB, free: 12.07 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.981e-05/0.004683, allocations: 84.47 kB / 263 MB, free: 11.98 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.149e-05/0.004694, allocations: 15.89 kB / 263.1 MB, free: 11.96 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.738e-05/0.004721, allocations: 25.69 kB / 263.1 MB, free: 11.93 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.554e-05/0.004787, allocations: 314.8 kB / 263.4 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.484e-05/0.004812, allocations: 63.42 kB / 263.5 MB, free: 11.54 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.839e-05/0.00484, allocations: 73.12 kB / 263.5 MB, free: 11.45 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.333e-05/0.004894, allocations: 132.5 kB / 263.7 MB, free: 11.29 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.004897, allocations: 7.938 kB / 263.7 MB, free: 11.28 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.997e-05/0.004967, allocations: 152.5 kB / 263.8 MB, free: 11.1 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001294/0.005097, allocations: 67.33 kB / 263.9 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.005101, allocations: 0 / 263.9 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.684e-06/0.005108, allocations: 0 / 263.9 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.538e-05/0.005134, allocations: 4 kB / 263.9 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.005136, allocations: 0 / 263.9 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.568e-05/0.005152, allocations: 12.19 kB / 263.9 MB, free: 11.01 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.005158, allocations: 4 kB / 263.9 MB, free: 11 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.927e-05/0.005237, allocations: 172.1 kB / 264.1 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.887e-05/0.005296, allocations: 85.5 kB / 264.1 MB, free: 10.72 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.786e-05/0.005314, allocations: 12.78 kB / 264.2 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/0.005322, allocations: 4 kB / 264.2 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.005324, allocations: 4 kB / 264.2 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.005326, allocations: 0 / 264.2 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.476e-05/0.005401, allocations: 81.77 kB / 264.2 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.005403, allocations: 0 / 264.2 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.147e-06/0.005412, allocations: 15.92 kB / 264.3 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.348e-06/0.005421, allocations: 11.89 kB / 264.3 MB, free: 10.58 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.91e-07/0.005422, allocations: 0 / 264.3 MB, free: 10.58 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.00543, allocations: 11.94 kB / 264.3 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.005431, allocations: 0 / 264.3 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.005432, allocations: 0 / 264.3 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.735e-05/0.005529, allocations: 262 kB / 264.5 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.005541, allocations: 4 kB / 264.5 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.17e-05/0.005573, allocations: 7.922 kB / 264.6 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.563e-05/0.005589, allocations: 11.98 kB / 264.6 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.005595, allocations: 8 kB / 264.6 MB, free: 10.23 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.702e-05/0.005612, allocations: 29.19 kB / 264.6 MB, free: 10.2 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005612, allocations: 0 / 264.6 MB, free: 10.2 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001311/0.005743, allocations: 20 kB / 264.6 MB, free: 10.18 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.000596/0.006339, allocations: 370.4 kB / 265 MB, free: 9.945 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001471/0.006486, allocations: 258.5 kB / 265.2 MB, free: 9.641 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.788e-06/0.00649, allocations: 0 / 265.2 MB, free: 9.641 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.412e-05/0.006554, allocations: 175.1 kB / 265.4 MB, free: 9.43 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001658/0.00672, allocations: 70.66 kB / 265.5 MB, free: 9.359 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003621/0.007082, allocations: 287.7 kB / 265.8 MB, free: 9.035 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.218e-05/0.007124, allocations: 87.41 kB / 265.8 MB, free: 8.93 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.912e-05/0.007153, allocations: 11.98 kB / 265.9 MB, free: 8.918 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.305e-05/0.007216, allocations: 71.36 kB / 265.9 MB, free: 8.848 MB / 266.7 MB Notification: Performance of SimCode: time 4.1e-07/0.007217, allocations: 0 / 265.9 MB, free: 8.848 MB / 266.7 MB Notification: Performance of Templates: time 0.002482/0.009699, allocations: 1.489 MB / 267.4 MB, free: 7.363 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.264245300553739]