Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboardKey.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 101.8 kB / 18.95 MB, free: 3.523 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 188.4 kB / 22.1 MB, free: 388 kB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 225.6 MB / 250.7 MB, free: 13.43 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.06199/0.06199, allocations: 12.18 MB / 318 MB, free: 13.32 MB / 254.1 MB [Timeout remaining time 90] Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboardKey,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboardKey") translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboardKey,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboardKey") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 79.86 kB / 443.3 MB, free: 5.434 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0998/0.1017, allocations: 55.15 MB / 498.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboardKey): time 0.003872/0.1055, allocations: 2.314 MB / 0.489 GB, free: 11.86 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003508/0.1059, allocations: 171.5 kB / 0.4892 GB, free: 11.69 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.194e-05/0.106, allocations: 0 / 0.4892 GB, free: 11.69 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001467/0.1061, allocations: 23.86 kB / 0.4892 GB, free: 11.66 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001739/0.1063, allocations: 39.81 kB / 0.4892 GB, free: 11.62 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000188/0.1065, allocations: 55.81 kB / 0.4893 GB, free: 11.57 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001547/0.1066, allocations: 75.77 kB / 0.4894 GB, free: 11.5 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.4e-05/0.1067, allocations: 12.23 kB / 0.4894 GB, free: 11.48 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.247e-05/0.1068, allocations: 35.84 kB / 0.4894 GB, free: 11.45 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.371e-05/0.1068, allocations: 31.84 kB / 0.4894 GB, free: 11.41 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.09e-05/0.1069, allocations: 7.938 kB / 0.4895 GB, free: 11.41 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001874/0.107, allocations: 139.9 kB / 0.4896 GB, free: 11.27 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.753e-05/0.1071, allocations: 19.92 kB / 0.4896 GB, free: 11.25 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.613e-05/0.1071, allocations: 27.8 kB / 0.4896 GB, free: 11.22 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002682/0.1074, allocations: 143.5 kB / 0.4898 GB, free: 11.08 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1074, allocations: 0 / 0.4898 GB, free: 11.08 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1074, allocations: 0 / 0.4898 GB, free: 11.08 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.1074, allocations: 0 / 0.4898 GB, free: 11.08 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005408/0.1079, allocations: 454.3 kB / 0.4902 GB, free: 10.57 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.108, allocations: 8.031 kB / 0.4902 GB, free: 10.57 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.125e-05/0.108, allocations: 12.88 kB / 0.4902 GB, free: 10.55 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.1083, allocations: 210.6 kB / 0.4904 GB, free: 10.31 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.1083, allocations: 8.375 kB / 0.4904 GB, free: 10.3 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.1083, allocations: 4.375 kB / 0.4904 GB, free: 10.3 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003213/0.1086, allocations: 153.5 kB / 0.4906 GB, free: 10.13 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.1086, allocations: 4.188 kB / 0.4906 GB, free: 10.13 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.1087, allocations: 7.938 kB / 0.4906 GB, free: 10.12 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.1087, allocations: 4 kB / 0.4906 GB, free: 10.12 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.447e-05/0.1088, allocations: 23.98 kB / 0.4906 GB, free: 10.09 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003795/0.1091, allocations: 293.6 kB / 0.4909 GB, free: 9.754 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002314/0.1094, allocations: 158.3 kB / 0.491 GB, free: 9.562 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.153e-05/0.1094, allocations: 33.75 kB / 0.4911 GB, free: 9.523 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.1095, allocations: 4.031 kB / 0.4911 GB, free: 9.52 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.1095, allocations: 34.5 kB / 0.4911 GB, free: 9.477 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.223e-06/0.1095, allocations: 0 / 0.4911 GB, free: 9.477 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003637/0.1099, allocations: 165 kB / 0.4913 GB, free: 9.297 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/0.11, allocations: 140.5 kB / 0.4914 GB, free: 9.129 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.1101, allocations: 134.1 kB / 0.4915 GB, free: 8.984 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.1101, allocations: 25.7 kB / 0.4916 GB, free: 8.953 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.072e-05/0.1102, allocations: 96.09 kB / 0.4917 GB, free: 8.855 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.714e-05/0.1102, allocations: 11.88 kB / 0.4917 GB, free: 8.844 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-05/0.1102, allocations: 21.72 kB / 0.4917 GB, free: 8.816 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.1104, allocations: 322.8 kB / 0.492 GB, free: 8.492 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.89e-05/0.1104, allocations: 12 kB / 0.492 GB, free: 8.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.649e-05/0.1105, allocations: 62 kB / 0.4921 GB, free: 8.398 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001696/0.1107, allocations: 184.6 kB / 0.4922 GB, free: 8.172 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.1107, allocations: 7.938 kB / 0.4922 GB, free: 8.164 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002079/0.1109, allocations: 152.9 kB / 0.4924 GB, free: 7.996 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.862e-05/0.1109, allocations: 59.5 kB / 0.4925 GB, free: 7.926 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.1109, allocations: 7.938 kB / 0.4925 GB, free: 7.918 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.1109, allocations: 224 / 0.4925 GB, free: 7.918 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.821e-05/0.111, allocations: 19.92 kB / 0.4925 GB, free: 7.898 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.111, allocations: 256 / 0.4925 GB, free: 7.898 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.225e-05/0.111, allocations: 7.953 kB / 0.4925 GB, free: 7.891 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.1111, allocations: 8 kB / 0.4925 GB, free: 7.883 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (synchronizeRealtime.initialized,keyboardKeyInput.additionalKeyStateInt,keyboardKeyInput.keyStateInt,keyboardKeyInput.keyState,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * 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 0.0001467/0.1112, allocations: 183.4 kB / 0.4927 GB, free: 7.684 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.1113, allocations: 65.72 kB / 0.4927 GB, free: 7.613 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.853e-05/0.1114, allocations: 16.3 kB / 0.4927 GB, free: 7.598 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1114, allocations: 0 / 0.4927 GB, free: 7.598 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.1114, allocations: 0 / 0.4927 GB, free: 7.598 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.249e-06/0.1114, allocations: 7.984 kB / 0.4928 GB, free: 7.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002205/0.1116, allocations: 193.5 kB / 0.4929 GB, free: 7.352 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1116, allocations: 0 / 0.4929 GB, free: 7.352 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.307e-05/0.1116, allocations: 4 kB / 0.4929 GB, free: 7.348 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1116, allocations: 0 / 0.4929 GB, free: 7.348 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.1116, allocations: 0 / 0.4929 GB, free: 7.348 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1116, allocations: 4 kB / 0.4929 GB, free: 7.344 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1116, allocations: 0 / 0.4929 GB, free: 7.344 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002973/0.1119, allocations: 267.6 kB / 0.4932 GB, free: 7.051 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.78e-05/0.112, allocations: 85.06 kB / 0.4933 GB, free: 6.949 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.161e-05/0.112, allocations: 4 kB / 0.4933 GB, free: 6.945 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.226e-05/0.1121, allocations: 0 / 0.4933 GB, free: 6.945 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.096e-05/0.1121, allocations: 11.98 kB / 0.4933 GB, free: 6.934 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.1121, allocations: 0 / 0.4933 GB, free: 6.934 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.219e-05/0.1122, allocations: 106.2 kB / 0.4934 GB, free: 6.832 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1122, allocations: 0 / 0.4934 GB, free: 6.832 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002731/0.1124, allocations: 27.94 kB / 0.4934 GB, free: 6.805 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 (synchronizeRealtime.initialized,assignClock1.u,assignClock1.y,keyboardKeyInput.keyState,keyboardKeyInput.keyStateInt,keyboardKeyInput.additionalKeyStateInt) * Number of discrete states: 1 (synchronizeRealtime.initialized) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0007656/0.1132, allocations: 291.1 kB / 0.4937 GB, free: 6.582 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002449/0.1134, allocations: 166.7 kB / 0.4939 GB, free: 6.395 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1134, allocations: 0 / 0.4939 GB, free: 6.395 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.773e-05/0.1135, allocations: 118.8 kB / 0.494 GB, free: 6.254 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002897/0.1138, allocations: 44.31 kB / 0.494 GB, free: 6.211 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003849/0.1142, allocations: 212.4 kB / 0.4942 GB, free: 5.969 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/0.1146, allocations: 0.6963 MB / 0.4949 GB, free: 5.246 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.79e-05/0.1146, allocations: 15.42 kB / 0.4949 GB, free: 5.23 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1146, allocations: 0 / 0.4949 GB, free: 5.23 MB / 366.1 MB Notification: Performance of Templates: time 0.004354/0.1189, allocations: 2.271 MB / 0.4971 GB, free: 2.961 MB / 366.1 MB [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboardKey.makefile [Timeout 660] (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboardKey.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboardKey.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboardKey.pipe >> ../files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboardKey.sim & ./Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboardKey -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboardKey.pipe 2>&1) [Timeout 480]