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.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.001569/0.001569, allocations: 104.3 kB / 19.74 MB, free: 1.766 MB / 14.72 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.001734/0.001734, allocations: 223.1 kB / 23.03 MB, free: 4.621 MB / 14.72 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.379/1.379, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo): time 0.06188/0.06188, allocations: 12.22 MB / 325.4 MB, free: 7.055 MB / 254.1 MB " [Timeout remaining time 180] Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 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.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.001981/0.001981, allocations: 71.89 kB / 453.8 MB, free: 8.344 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1183, allocations: 56.38 MB / 0.4982 GB, free: 15.86 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboardKey): time 0.004553/0.1228, allocations: 2.374 MB / 0.5005 GB, free: 13.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004149/0.1233, allocations: 171.5 kB / 0.5007 GB, free: 13.31 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.815e-05/0.1234, allocations: 3.938 kB / 0.5007 GB, free: 13.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001694/0.1235, allocations: 15.88 kB / 0.5007 GB, free: 13.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003144/0.1238, allocations: 55.81 kB / 0.5008 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002185/0.1241, allocations: 58.75 kB / 0.5008 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001909/0.1242, allocations: 75.78 kB / 0.5009 GB, free: 13.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.1244, allocations: 20.22 kB / 0.5009 GB, free: 13.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.272e-05/0.1245, allocations: 31.86 kB / 0.5009 GB, free: 13.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.051e-05/0.1245, allocations: 27.84 kB / 0.501 GB, free: 13.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.896e-05/0.1246, allocations: 8 kB / 0.501 GB, free: 13.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002383/0.1248, allocations: 131.9 kB / 0.5011 GB, free: 12.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.651e-05/0.1248, allocations: 19.86 kB / 0.5011 GB, free: 12.87 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.352e-05/0.1249, allocations: 23.86 kB / 0.5011 GB, free: 12.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000305/0.1252, allocations: 147.5 kB / 0.5013 GB, free: 12.7 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1252, allocations: 0 / 0.5013 GB, free: 12.7 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1252, allocations: 0 / 0.5013 GB, free: 12.7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.367e-06/0.1252, allocations: 7.938 kB / 0.5013 GB, free: 12.69 MB / 382.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.0005748/0.1258, allocations: 369.3 kB / 0.5016 GB, free: 12.29 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.1258, allocations: 12.03 kB / 0.5017 GB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.782e-05/0.1259, allocations: 8.891 kB / 0.5017 GB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003358/0.1262, allocations: 142.3 kB / 0.5018 GB, free: 12.1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.1262, allocations: 8.375 kB / 0.5018 GB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.1263, allocations: 4.375 kB / 0.5018 GB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000392/0.1266, allocations: 212.9 kB / 0.502 GB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.1267, allocations: 192 / 0.502 GB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/0.1267, allocations: 7.938 kB / 0.502 GB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.1267, allocations: 0 / 0.502 GB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001266/0.1268, allocations: 83.39 kB / 0.5021 GB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003823/0.1272, allocations: 225.4 kB / 0.5023 GB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002161/0.1274, allocations: 132.5 kB / 0.5024 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.1275, allocations: 85.19 kB / 0.5025 GB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.769e-05/0.1276, allocations: 8 kB / 0.5025 GB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.788e-05/0.1276, allocations: 42.48 kB / 0.5026 GB, free: 11.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.613e-06/0.1276, allocations: 0 / 0.5026 GB, free: 11.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004978/0.1281, allocations: 271.8 kB / 0.5028 GB, free: 10.87 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/0.1282, allocations: 140.4 kB / 0.503 GB, free: 10.7 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.1284, allocations: 136.5 kB / 0.5031 GB, free: 10.55 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.823e-05/0.1284, allocations: 29.7 kB / 0.5031 GB, free: 10.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.757e-05/0.1285, allocations: 92.12 kB / 0.5032 GB, free: 10.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.1285, allocations: 19.84 kB / 0.5032 GB, free: 10.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.16e-05/0.1286, allocations: 25.7 kB / 0.5033 GB, free: 10.38 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001835/0.1288, allocations: 318.8 kB / 0.5036 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.521e-05/0.1289, allocations: 71.42 kB / 0.5036 GB, free: 9.973 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001718/0.129, allocations: 109.4 kB / 0.5037 GB, free: 9.832 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003439/0.1294, allocations: 192.8 kB / 0.5039 GB, free: 9.598 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.1294, allocations: 4 kB / 0.5039 GB, free: 9.594 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002916/0.1297, allocations: 216.4 kB / 0.5041 GB, free: 9.352 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.193e-05/0.1297, allocations: 59.34 kB / 0.5042 GB, free: 9.281 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.535e-06/0.1297, allocations: 4 kB / 0.5042 GB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.1298, allocations: 0 / 0.5042 GB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.72e-05/0.1298, allocations: 11.94 kB / 0.5042 GB, free: 9.266 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.1298, allocations: 8.047 kB / 0.5042 GB, free: 9.258 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.843e-05/0.1299, allocations: 8 kB / 0.5042 GB, free: 9.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.1299, allocations: 8 kB / 0.5042 GB, free: 9.242 MB / 382.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.0001722/0.1301, allocations: 177.1 kB / 0.5044 GB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.1302, allocations: 70.11 kB / 0.5045 GB, free: 8.973 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.95e-05/0.1302, allocations: 12.34 kB / 0.5045 GB, free: 8.953 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.1302, allocations: 4 kB / 0.5045 GB, free: 8.949 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1302, allocations: 0 / 0.5045 GB, free: 8.949 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.1302, allocations: 0 / 0.5045 GB, free: 8.949 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.1304, allocations: 129.2 kB / 0.5046 GB, free: 8.793 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.1304, allocations: 3.938 kB / 0.5046 GB, free: 8.789 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.736e-05/0.1304, allocations: 4 kB / 0.5046 GB, free: 8.785 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1304, allocations: 0 / 0.5046 GB, free: 8.785 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/0.1305, allocations: 11.98 kB / 0.5046 GB, free: 8.773 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1305, allocations: 0 / 0.5046 GB, free: 8.773 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1305, allocations: 4 kB / 0.5046 GB, free: 8.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000357/0.1308, allocations: 315.1 kB / 0.5049 GB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.059e-05/0.1308, allocations: 15.83 kB / 0.5049 GB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.1309, allocations: 0 / 0.5049 GB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.301e-05/0.1309, allocations: 4 kB / 0.5049 GB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.752e-05/0.131, allocations: 8 kB / 0.5049 GB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.131, allocations: 3.984 kB / 0.5049 GB, free: 8.387 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.603e-05/0.1311, allocations: 103.3 kB / 0.505 GB, free: 8.285 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1311, allocations: 0 / 0.505 GB, free: 8.285 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002851/0.1313, allocations: 24 kB / 0.5051 GB, free: 8.262 MB / 382.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.0008432/0.1322, allocations: 316.9 kB / 0.5054 GB, free: 8.027 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003236/0.1325, allocations: 273.5 kB / 0.5056 GB, free: 7.711 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1325, allocations: 0 / 0.5056 GB, free: 7.711 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.1326, allocations: 182.1 kB / 0.5058 GB, free: 7.496 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.1329, allocations: 28.09 kB / 0.5058 GB, free: 7.469 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000431/0.1334, allocations: 238.7 kB / 0.5061 GB, free: 7.195 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.995e-05/0.1334, allocations: 79.33 kB / 0.5061 GB, free: 7.098 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.886e-05/0.1335, allocations: 12.66 kB / 0.5062 GB, free: 7.086 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.1335, allocations: 15.44 kB / 0.5062 GB, free: 7.07 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1335, allocations: 0 / 0.5062 GB, free: 7.07 MB / 382.1 MB Notification: Performance of Templates: time 0.005544/0.1391, allocations: 1.733 MB / 0.5079 GB, free: 5.348 MB / 382.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: 9.696851516142488] Failed to read output from testmodel.py, exit status != 0: 0.14778871461749077 0.36342073799999997 0.23573676799999996 Calling exit ...