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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001664/0.001664, allocations: 117.8 kB / 17.85 MB, free: 5.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001603/0.001603, allocations: 185.3 kB / 20.79 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 225.6 MB / 249.2 MB, free: 3.699 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.0563/0.0563, allocations: 12.18 MB / 316.2 MB, free: 172 kB / 238.1 MB " [Timeout remaining time 180] 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=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboardKey") translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboardKey,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboardKey") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 63.91 kB / 440.7 MB, free: 6.117 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.2276, allocations: 55.17 MB / 495.8 MB, free: 24.16 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboardKey): time 0.003011/0.2306, allocations: 2.27 MB / 498.1 MB, free: 22.4 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002901/0.2309, allocations: 167.7 kB / 498.3 MB, free: 22.28 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.013e-05/0.231, allocations: 4.844 kB / 498.3 MB, free: 22.27 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001316/0.2311, allocations: 19.14 kB / 498.3 MB, free: 22.26 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001437/0.2312, allocations: 49.83 kB / 498.4 MB, free: 22.21 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001499/0.2314, allocations: 47.52 kB / 498.4 MB, free: 22.18 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.2315, allocations: 76.88 kB / 498.5 MB, free: 22.13 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.277e-05/0.2316, allocations: 18 kB / 498.5 MB, free: 22.12 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.443e-05/0.2316, allocations: 30.78 kB / 498.5 MB, free: 22.1 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.324e-05/0.2317, allocations: 33.72 kB / 498.6 MB, free: 22.07 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.889e-05/0.2317, allocations: 5.938 kB / 498.6 MB, free: 22.07 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001392/0.2319, allocations: 133.8 kB / 498.7 MB, free: 22.01 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.909e-05/0.2319, allocations: 14.42 kB / 498.7 MB, free: 22 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.748e-05/0.2319, allocations: 34.67 kB / 498.7 MB, free: 21.97 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001966/0.2321, allocations: 145.5 kB / 498.9 MB, free: 21.87 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.2321, allocations: 4 kB / 498.9 MB, free: 21.87 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2321, allocations: 3.938 kB / 498.9 MB, free: 21.86 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.2321, allocations: 0 / 498.9 MB, free: 21.86 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.0003564/0.2325, allocations: 447.8 kB / 499.3 MB, free: 21.39 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.969e-05/0.2325, allocations: 9.938 kB / 499.3 MB, free: 21.39 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.035e-05/0.2325, allocations: 9.734 kB / 499.3 MB, free: 21.38 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002479/0.2328, allocations: 202.5 kB / 499.5 MB, free: 21.16 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.2328, allocations: 5.844 kB / 499.6 MB, free: 21.16 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.2328, allocations: 10.94 kB / 499.6 MB, free: 21.15 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002721/0.2331, allocations: 153.4 kB / 499.7 MB, free: 21.04 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.2331, allocations: 4.172 kB / 499.7 MB, free: 21.03 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.2331, allocations: 5.219 kB / 499.7 MB, free: 21.03 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.2331, allocations: 1.531 kB / 499.7 MB, free: 21.03 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.891e-05/0.2332, allocations: 38.7 kB / 499.8 MB, free: 21 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002657/0.2335, allocations: 291 kB / 0.4883 GB, free: 20.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001586/0.2336, allocations: 148.6 kB / 0.4885 GB, free: 20.52 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.811e-05/0.2337, allocations: 35.19 kB / 0.4885 GB, free: 20.5 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.2337, allocations: 5.469 kB / 0.4885 GB, free: 20.49 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.283e-05/0.2337, allocations: 35.97 kB / 0.4885 GB, free: 20.45 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.2337, allocations: 0 / 0.4885 GB, free: 20.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002813/0.234, allocations: 160.9 kB / 0.4887 GB, free: 20.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.234, allocations: 140.7 kB / 0.4888 GB, free: 20.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.08e-05/0.2341, allocations: 139.6 kB / 0.489 GB, free: 20.03 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.2341, allocations: 31.3 kB / 0.489 GB, free: 19.99 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.351e-05/0.2341, allocations: 99.38 kB / 0.4891 GB, free: 19.89 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.179e-05/0.2342, allocations: 10.78 kB / 0.4891 GB, free: 19.89 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.595e-05/0.2342, allocations: 25.31 kB / 0.4891 GB, free: 19.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.163e-05/0.2342, allocations: 321.9 kB / 0.4894 GB, free: 19.54 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.465e-05/0.2343, allocations: 10.88 kB / 0.4894 GB, free: 19.54 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.218e-05/0.2343, allocations: 57.34 kB / 0.4895 GB, free: 19.47 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.44e-05/0.2344, allocations: 188.6 kB / 0.4897 GB, free: 19.26 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.2344, allocations: 4 kB / 0.4897 GB, free: 19.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001651/0.2346, allocations: 156.4 kB / 0.4898 GB, free: 19.13 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.906e-05/0.2346, allocations: 57.28 kB / 0.4899 GB, free: 19.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.2346, allocations: 2.969 kB / 0.4899 GB, free: 19.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.2346, allocations: 1.781 kB / 0.4899 GB, free: 19.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.229e-05/0.2347, allocations: 5.625 kB / 0.4899 GB, free: 19.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.2347, allocations: 9.828 kB / 0.4899 GB, free: 19.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.995e-05/0.2347, allocations: 17.64 kB / 0.4899 GB, free: 19.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.2347, allocations: 7.625 kB / 0.4899 GB, free: 19.04 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 7.2e-05/0.2348, allocations: 180.4 kB / 0.4901 GB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.723e-05/0.2349, allocations: 59.58 kB / 0.4901 GB, free: 18.81 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.139e-05/0.2349, allocations: 11.91 kB / 0.4902 GB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.2349, allocations: 0 / 0.4902 GB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.2349, allocations: 1.781 kB / 0.4902 GB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.2349, allocations: 3.938 kB / 0.4902 GB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001216/0.235, allocations: 191.2 kB / 0.4903 GB, free: 18.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.235, allocations: 0 / 0.4903 GB, free: 18.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.304e-05/0.2351, allocations: 14.89 kB / 0.4904 GB, free: 18.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.2351, allocations: 1.484 kB / 0.4904 GB, free: 18.56 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.2351, allocations: 6.656 kB / 0.4904 GB, free: 18.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2351, allocations: 0 / 0.4904 GB, free: 18.56 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2351, allocations: 1.312 kB / 0.4904 GB, free: 18.56 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001877/0.2353, allocations: 257.8 kB / 0.4906 GB, free: 18.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.5e-05/0.2353, allocations: 83.75 kB / 0.4907 GB, free: 18.22 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.115e-05/0.2353, allocations: 9.312 kB / 0.4907 GB, free: 18.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.186e-05/0.2354, allocations: 2.375 kB / 0.4907 GB, free: 18.21 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.729e-05/0.2354, allocations: 2.156 kB / 0.4907 GB, free: 18.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.2354, allocations: 3.156 kB / 0.4907 GB, free: 18.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.248e-05/0.2355, allocations: 111.2 kB / 0.4908 GB, free: 18.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 5e-08/0.2355, allocations: 96 / 0.4908 GB, free: 18.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002657/0.2357, allocations: 33.06 kB / 0.4909 GB, free: 18.11 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.0006769/0.2364, allocations: 297.8 kB / 0.4911 GB, free: 17.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001823/0.2366, allocations: 163.9 kB / 0.4913 GB, free: 17.78 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2366, allocations: 1.156 kB / 0.4913 GB, free: 17.78 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.152e-05/0.2366, allocations: 116.4 kB / 0.4914 GB, free: 17.65 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/0.2369, allocations: 39.59 kB / 0.4914 GB, free: 17.63 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003019/0.2372, allocations: 212 kB / 0.4916 GB, free: 17.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001156/0.2373, allocations: 0.6998 MB / 0.4923 GB, free: 16.72 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.853e-05/0.2373, allocations: 12.69 kB / 0.4923 GB, free: 16.71 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2373, allocations: 0 / 0.4923 GB, free: 16.71 MB / 366.1 MB Notification: Performance of Templates: time 0.003667/0.241, allocations: 2.254 MB / 0.4945 GB, free: 15.55 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] [Calling sys.exit(0), Time elapsed: 11.731351051013917] Failed to read output from testmodel.py, exit status != 0: 0.24844201700761914 0.257683368 0.023617278000000002 Calling exit ...