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.00131/0.00131, allocations: 108.3 kB / 19.75 MB, free: 1.879 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.001531/0.001531, allocations: 220.8 kB / 23.03 MB, free: 5.016 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.41/1.41, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.06247/0.06247, allocations: 12.22 MB / 325.4 MB, free: 7.07 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.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 0.002112/0.002112, allocations: 64.14 kB / 453.8 MB, free: 8.371 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1214, allocations: 56.39 MB / 0.4982 GB, free: 15.88 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboard): time 0.004716/0.1261, allocations: 2.357 MB / 0.5005 GB, free: 13.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003664/0.1265, allocations: 131.5 kB / 0.5006 GB, free: 13.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.1266, allocations: 4 kB / 0.5006 GB, free: 13.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001972/0.1268, allocations: 27.73 kB / 0.5007 GB, free: 13.36 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.433e-05/0.1268, allocations: 11.92 kB / 0.5007 GB, free: 13.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002641/0.1271, allocations: 43.89 kB / 0.5007 GB, free: 13.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002025/0.1273, allocations: 87.77 kB / 0.5008 GB, free: 13.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.1274, allocations: 8.234 kB / 0.5008 GB, free: 13.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.411e-05/0.1275, allocations: 27.92 kB / 0.5008 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.293e-05/0.1276, allocations: 47.77 kB / 0.5009 GB, free: 13.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.795e-05/0.1276, allocations: 4 kB / 0.5009 GB, free: 13.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.783e-05/0.1277, allocations: 20 kB / 0.5009 GB, free: 13.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.16e-05/0.1278, allocations: 19.92 kB / 0.5009 GB, free: 13.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.012e-05/0.1278, allocations: 31.81 kB / 0.501 GB, free: 13.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002714/0.1281, allocations: 119.4 kB / 0.5011 GB, free: 12.94 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1281, allocations: 0 / 0.5011 GB, free: 12.94 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1281, allocations: 0 / 0.5011 GB, free: 12.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.1281, allocations: 4 kB / 0.5011 GB, free: 12.93 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005758/0.1287, allocations: 373.2 kB / 0.5014 GB, free: 12.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.1287, allocations: 12.03 kB / 0.5014 GB, free: 12.51 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.055e-05/0.1288, allocations: 16.84 kB / 0.5015 GB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000304/0.1291, allocations: 142.4 kB / 0.5016 GB, free: 12.33 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.1291, allocations: 4.375 kB / 0.5016 GB, free: 12.33 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/0.1291, allocations: 8.375 kB / 0.5016 GB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005013/0.1296, allocations: 330.4 kB / 0.5019 GB, free: 11.97 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.1296, allocations: 0 / 0.5019 GB, free: 11.97 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.1297, allocations: 4 kB / 0.5019 GB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.351e-05/0.1297, allocations: 8 kB / 0.5019 GB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001602/0.1298, allocations: 115.4 kB / 0.502 GB, free: 11.83 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004808/0.1303, allocations: 237.2 kB / 0.5023 GB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002707/0.1306, allocations: 172.8 kB / 0.5024 GB, free: 11.37 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.1307, allocations: 117.2 kB / 0.5025 GB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.1308, allocations: 0 / 0.5025 GB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/0.1308, allocations: 34.56 kB / 0.5026 GB, free: 11.19 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.473e-06/0.1308, allocations: 4 kB / 0.5026 GB, free: 11.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.0005599/0.1314, allocations: 371.6 kB / 0.5029 GB, free: 10.78 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.1315, allocations: 136.5 kB / 0.5031 GB, free: 10.62 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.1316, allocations: 125.8 kB / 0.5032 GB, free: 10.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.1316, allocations: 25.7 kB / 0.5032 GB, free: 10.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.749e-05/0.1317, allocations: 92.45 kB / 0.5033 GB, free: 10.36 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/0.1317, allocations: 19.94 kB / 0.5033 GB, free: 10.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.846e-05/0.1318, allocations: 41.7 kB / 0.5034 GB, free: 10.29 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.1319, allocations: 322.9 kB / 0.5037 GB, free: 9.965 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.132, allocations: 91.33 kB / 0.5038 GB, free: 9.863 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002063/0.1322, allocations: 217.7 kB / 0.504 GB, free: 9.578 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003228/0.1326, allocations: 307.7 kB / 0.5043 GB, free: 9.191 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.1326, allocations: 4 kB / 0.5043 GB, free: 9.188 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004257/0.133, allocations: 308 kB / 0.5046 GB, free: 8.855 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.826e-05/0.1331, allocations: 63.39 kB / 0.5046 GB, free: 8.781 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.1331, allocations: 4 kB / 0.5046 GB, free: 8.777 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.1331, allocations: 4 kB / 0.5046 GB, free: 8.773 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.1332, allocations: 32.55 kB / 0.5047 GB, free: 8.742 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.51e-05/0.1332, allocations: 19.88 kB / 0.5047 GB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.936e-05/0.1333, allocations: 19.83 kB / 0.5047 GB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/0.1333, allocations: 12 kB / 0.5047 GB, free: 8.691 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 19 (synchronizeRealtime.initialized,keyboardInput.KeyCode[10],keyboardInput.KeyCode[9],keyboardInput.KeyCode[8],keyboardInput.KeyCode[7],keyboardInput.KeyCode[6],keyboardInput.KeyCode[5],keyboardInput.KeyCode[4],keyboardInput.KeyCode[3],keyboardInput.KeyCode[2],keyboardInput.KeyCode[1],keyboardInput.keySpace,keyboardInput.keyReturn,keyboardInput.keyLeft,keyboardInput.keyRight,keyboardInput.keyDown,keyboardInput.keyUp,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 19 * 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.0001898/0.1335, allocations: 203.2 kB / 0.5049 GB, free: 8.469 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001746/0.1337, allocations: 123.9 kB / 0.505 GB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.827e-05/0.1337, allocations: 16.78 kB / 0.505 GB, free: 8.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.401e-05/0.1337, allocations: 7.984 kB / 0.505 GB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.1337, allocations: 7.938 kB / 0.505 GB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.1337, allocations: 3.938 kB / 0.5051 GB, free: 8.301 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/0.1339, allocations: 117.3 kB / 0.5052 GB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.002e-06/0.1339, allocations: 4 kB / 0.5052 GB, free: 8.152 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.309e-05/0.1339, allocations: 3.984 kB / 0.5052 GB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.1339, allocations: 0 / 0.5052 GB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.1339, allocations: 8 kB / 0.5052 GB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1339, allocations: 0 / 0.5052 GB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1339, allocations: 0 / 0.5052 GB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000404/0.1343, allocations: 389.1 kB / 0.5055 GB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.3e-05/0.1344, allocations: 11.89 kB / 0.5056 GB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.273e-05/0.1344, allocations: 4 kB / 0.5056 GB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.703e-05/0.1345, allocations: 8 kB / 0.5056 GB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.55e-05/0.1345, allocations: 4 kB / 0.5056 GB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.1345, allocations: 4 kB / 0.5056 GB, free: 7.688 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.656e-05/0.1346, allocations: 95.75 kB / 0.5057 GB, free: 7.594 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1346, allocations: 4 kB / 0.5057 GB, free: 7.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003209/0.1349, allocations: 31.94 kB / 0.5057 GB, free: 7.559 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: 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.0008105/0.1357, allocations: 280.8 kB / 0.506 GB, free: 7.363 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004219/0.1361, allocations: 349.4 kB / 0.5063 GB, free: 6.973 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1361, allocations: 0 / 0.5063 GB, free: 6.973 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001268/0.1362, allocations: 182.1 kB / 0.5065 GB, free: 6.758 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003687/0.1366, allocations: 73.25 kB / 0.5065 GB, free: 6.688 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000541/0.1371, allocations: 303.1 kB / 0.5068 GB, free: 6.352 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001037/0.1372, allocations: 96.98 kB / 0.5069 GB, free: 6.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.947e-05/0.1373, allocations: 25.03 kB / 0.507 GB, free: 6.207 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.73e-05/0.1373, allocations: 11.44 kB / 0.507 GB, free: 6.195 MB / 382.1 MB Notification: Performance of SimCode: time 7.31e-07/0.1373, allocations: 0 / 0.507 GB, free: 6.195 MB / 382.1 MB Notification: Performance of Templates: time 0.005094/0.1424, allocations: 1.624 MB / 0.5086 GB, free: 4.582 MB / 382.1 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=480 -lv LOG_STATS > Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboard.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.673399334773421] Failed to read output from testmodel.py, exit status != 0: 0.15138999558985233 0.38062929399999995 0.24965841999999996 Calling exit ...