Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.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.001492/0.001492, allocations: 102.4 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.001301/0.001301, allocations: 189.9 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.423/1.423, 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.06107/0.06107, allocations: 12.18 MB / 318 MB, free: 13.36 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.Blocks.Examples.TestInputKeyboardKey,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputKeyboardKey") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestInputKeyboardKey,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputKeyboardKey") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.003264/0.003264, allocations: 55.91 kB / 443.3 MB, free: 5.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1672, allocations: 55.18 MB / 498.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestInputKeyboardKey): time 0.006823/0.174, allocations: 2.71 MB / 0.4894 GB, free: 11.65 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009866/0.175, allocations: 358.8 kB / 0.4898 GB, free: 11.3 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.1751, allocations: 3.938 kB / 0.4898 GB, free: 11.29 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000305/0.1754, allocations: 55.69 kB / 0.4898 GB, free: 11.24 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002507/0.1757, allocations: 47.75 kB / 0.4899 GB, free: 11.19 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003475/0.176, allocations: 87.64 kB / 0.4899 GB, free: 11.11 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003219/0.1763, allocations: 160 kB / 0.4901 GB, free: 10.95 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002222/0.1766, allocations: 65.33 kB / 0.4902 GB, free: 10.89 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.1767, allocations: 55.77 kB / 0.4902 GB, free: 10.83 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000161/0.1768, allocations: 75.67 kB / 0.4903 GB, free: 10.76 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.022e-05/0.1769, allocations: 12 kB / 0.4903 GB, free: 10.75 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003187/0.1772, allocations: 135.9 kB / 0.4904 GB, free: 10.61 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.1773, allocations: 47.78 kB / 0.4905 GB, free: 10.57 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.1774, allocations: 59.61 kB / 0.4905 GB, free: 10.51 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005324/0.1779, allocations: 239 kB / 0.4908 GB, free: 10.27 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1779, allocations: 0 / 0.4908 GB, free: 10.27 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1779, allocations: 4 kB / 0.4908 GB, free: 10.27 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.178, allocations: 0 / 0.4908 GB, free: 10.27 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0009115/0.1789, allocations: 458.8 kB / 0.4912 GB, free: 9.766 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.1789, allocations: 8.031 kB / 0.4912 GB, free: 9.758 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.456e-05/0.179, allocations: 16.84 kB / 0.4912 GB, free: 9.742 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004072/0.1794, allocations: 228.1 kB / 0.4914 GB, free: 9.48 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.013e-05/0.1794, allocations: 16.55 kB / 0.4915 GB, free: 9.465 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.075e-05/0.1795, allocations: 12.38 kB / 0.4915 GB, free: 9.453 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004334/0.1799, allocations: 156.8 kB / 0.4916 GB, free: 9.289 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.1799, allocations: 192 / 0.4916 GB, free: 9.289 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.557e-05/0.1799, allocations: 7.938 kB / 0.4916 GB, free: 9.281 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.1799, allocations: 7.938 kB / 0.4916 GB, free: 9.273 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002726/0.1802, allocations: 88.12 kB / 0.4917 GB, free: 9.188 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/0.1812, allocations: 469.6 kB / 0.4922 GB, free: 8.676 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.1814, allocations: 73.14 kB / 0.4922 GB, free: 8.586 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/0.1816, allocations: 41.84 kB / 0.4923 GB, free: 8.539 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.349e-05/0.1816, allocations: 0 / 0.4923 GB, free: 8.539 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002765/0.1819, allocations: 93.03 kB / 0.4924 GB, free: 8.43 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.613e-06/0.1819, allocations: 4 kB / 0.4924 GB, free: 8.426 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.000445/0.1823, allocations: 125.5 kB / 0.4925 GB, free: 8.297 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.185e-05/0.1824, allocations: 77.11 kB / 0.4926 GB, free: 8.203 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002486/0.1826, allocations: 158.2 kB / 0.4927 GB, free: 8.039 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.236e-05/0.1827, allocations: 29.7 kB / 0.4927 GB, free: 8.004 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000133/0.1828, allocations: 128.2 kB / 0.4929 GB, free: 7.871 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.042e-05/0.1829, allocations: 31.73 kB / 0.4929 GB, free: 7.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.411e-05/0.183, allocations: 29.72 kB / 0.4929 GB, free: 7.805 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002219/0.1832, allocations: 338.7 kB / 0.4932 GB, free: 7.465 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.376e-05/0.1833, allocations: 23.98 kB / 0.4933 GB, free: 7.441 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.1834, allocations: 58.03 kB / 0.4933 GB, free: 7.375 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002082/0.1836, allocations: 83.41 kB / 0.4934 GB, free: 7.281 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.1836, allocations: 4 kB / 0.4934 GB, free: 7.277 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003375/0.184, allocations: 129.4 kB / 0.4935 GB, free: 7.145 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/0.184, allocations: 4 kB / 0.4935 GB, free: 7.141 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.184, allocations: 0 / 0.4935 GB, free: 7.141 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.184, allocations: 7.938 kB / 0.4935 GB, free: 7.133 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.307e-05/0.1841, allocations: 8 kB / 0.4935 GB, free: 7.125 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/0.1841, allocations: 4 kB / 0.4936 GB, free: 7.121 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.231e-05/0.1842, allocations: 4 kB / 0.4936 GB, free: 7.117 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.1842, allocations: 4 kB / 0.4936 GB, free: 7.113 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,keyboardKeyInput.additionalKeyStateInt,$PRE.keyboardKeyInput.additionalKeyStateInt,keyboardKeyInput.keyStateInt,$PRE.keyboardKeyInput.keyStateInt,keyboardKeyInput.keyState) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.00019/0.1844, allocations: 147.4 kB / 0.4937 GB, free: 6.961 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.873e-05/0.1844, allocations: 11.91 kB / 0.4937 GB, free: 6.949 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.075e-05/0.1845, allocations: 17.02 kB / 0.4937 GB, free: 6.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.1845, allocations: 0 / 0.4937 GB, free: 6.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-05/0.1845, allocations: 4 kB / 0.4937 GB, free: 6.926 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.1845, allocations: 4 kB / 0.4937 GB, free: 6.922 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003499/0.1849, allocations: 225.5 kB / 0.4939 GB, free: 6.652 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.62e-05/0.1849, allocations: 11.98 kB / 0.494 GB, free: 6.641 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.451e-05/0.1849, allocations: 7.938 kB / 0.494 GB, free: 6.633 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/0.1849, allocations: 240 / 0.494 GB, free: 6.633 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.1849, allocations: 4 kB / 0.494 GB, free: 6.629 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.1849, allocations: 0 / 0.494 GB, free: 6.629 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.1849, allocations: 4 kB / 0.494 GB, free: 6.625 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003126/0.1852, allocations: 137.7 kB / 0.4941 GB, free: 6.469 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.984e-05/0.1853, allocations: 85.06 kB / 0.4942 GB, free: 6.367 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.908e-05/0.1854, allocations: 3.984 kB / 0.4942 GB, free: 6.363 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.244e-05/0.1854, allocations: 8 kB / 0.4942 GB, free: 6.355 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.735e-05/0.1855, allocations: 8 kB / 0.4942 GB, free: 6.348 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.1855, allocations: 0 / 0.4942 GB, free: 6.348 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001528/0.1857, allocations: 116.1 kB / 0.4943 GB, free: 6.234 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1857, allocations: 0 / 0.4943 GB, free: 6.234 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000457/0.1861, allocations: 47.81 kB / 0.4944 GB, free: 6.188 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: 4 ($whenCondition1,keyboardKeyInput.keyState,keyboardKeyInput.keyStateInt,keyboardKeyInput.additionalKeyStateInt) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 2 * 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.0009191/0.187, allocations: 248.1 kB / 0.4946 GB, free: 5.984 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000325/0.1874, allocations: 101.5 kB / 0.4947 GB, free: 5.879 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1874, allocations: 0 / 0.4947 GB, free: 5.879 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001332/0.1875, allocations: 53.69 kB / 0.4947 GB, free: 5.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/0.1878, allocations: 10.75 kB / 0.4948 GB, free: 5.812 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008594/0.1886, allocations: 313.3 kB / 0.4951 GB, free: 5.469 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005484/0.1892, allocations: 0.7353 MB / 0.4958 GB, free: 4.707 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.538e-05/0.1892, allocations: 15.44 kB / 0.4958 GB, free: 4.695 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1892, allocations: 0 / 0.4958 GB, free: 4.695 MB / 366.1 MB Notification: Performance of Templates: time 0.006453/0.1957, allocations: 2.64 MB / 0.4984 GB, free: 2.066 MB / 366.1 MB [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputKeyboardKey.makefile [Timeout 660] (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputKeyboardKey.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputKeyboardKey.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputKeyboardKey.pipe >> ../files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputKeyboardKey.sim & ./Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputKeyboardKey -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputKeyboardKey.pipe 2>&1) [Timeout 480]