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.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.00128/0.00128, allocations: 101.9 kB / 17.12 MB, free: 5.953 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.001316/0.001316, allocations: 194.7 kB / 20.07 MB, free: 3.008 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.447/1.447, allocations: 222.9 MB / 245.8 MB, free: 4.184 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.1845/0.1845, allocations: 12 MB / 310 MB, free: 1.496 MB / 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.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.0019/0.0019, allocations: 75.88 kB / 428.8 MB, free: 1.258 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2228, allocations: 52.32 MB / 481.1 MB, free: 18.01 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboard): time 0.003074/0.2259, allocations: 2.235 MB / 483.3 MB, free: 16.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002534/0.2262, allocations: 133.9 kB / 483.5 MB, free: 16.17 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.225e-05/0.2263, allocations: 1.281 kB / 483.5 MB, free: 16.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001486/0.2265, allocations: 26.3 kB / 483.5 MB, free: 16.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.814e-05/0.2265, allocations: 9 kB / 483.5 MB, free: 16.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001754/0.2267, allocations: 46.88 kB / 483.5 MB, free: 16.1 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000132/0.2268, allocations: 74.8 kB / 483.6 MB, free: 16.06 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.951e-05/0.2269, allocations: 23.45 kB / 483.6 MB, free: 16.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.629e-05/0.227, allocations: 31.77 kB / 483.7 MB, free: 16.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.664e-05/0.2271, allocations: 32.91 kB / 483.7 MB, free: 16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.308e-05/0.2271, allocations: 9.781 kB / 483.7 MB, free: 16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.135e-05/0.2271, allocations: 28.02 kB / 483.7 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.826e-05/0.2272, allocations: 19.08 kB / 483.8 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.316e-05/0.2273, allocations: 45.36 kB / 483.8 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00018/0.2274, allocations: 113.6 kB / 483.9 MB, free: 15.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.2275, allocations: 0 / 483.9 MB, free: 15.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2275, allocations: 1.188 kB / 483.9 MB, free: 15.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.89e-06/0.2275, allocations: 0 / 483.9 MB, free: 15.86 MB / 350.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.0003591/0.2278, allocations: 451.8 kB / 484.4 MB, free: 15.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.955e-05/0.2279, allocations: 9 kB / 484.4 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.434e-05/0.2279, allocations: 18.2 kB / 484.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001957/0.2281, allocations: 192.5 kB / 484.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.2281, allocations: 11.75 kB / 484.6 MB, free: 15.15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.2282, allocations: 5.875 kB / 484.6 MB, free: 15.15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003809/0.2285, allocations: 271.5 kB / 484.9 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.2286, allocations: 4 kB / 484.9 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.2286, allocations: 1.469 kB / 484.9 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.788e-05/0.2286, allocations: 14.36 kB / 484.9 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.894e-05/0.2287, allocations: 62.12 kB / 484.9 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002673/0.229, allocations: 295.5 kB / 485.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001487/0.2291, allocations: 140.5 kB / 485.4 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.072e-05/0.2292, allocations: 67.02 kB / 485.4 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.125e-06/0.2292, allocations: 0.9688 kB / 485.4 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.2293, allocations: 36.73 kB / 485.5 MB, free: 14.44 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.783e-06/0.2293, allocations: 4 kB / 485.5 MB, free: 14.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0003778/0.2297, allocations: 269.6 kB / 485.7 MB, free: 14.26 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.2297, allocations: 132.9 kB / 485.9 MB, free: 14.11 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.13e-05/0.2298, allocations: 129.1 kB / 486 MB, free: 13.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.2298, allocations: 27.17 kB / 486 MB, free: 13.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.335e-05/0.2298, allocations: 97.83 kB / 486.1 MB, free: 13.85 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.672e-05/0.2299, allocations: 17.53 kB / 486.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.845e-05/0.2299, allocations: 40.5 kB / 486.2 MB, free: 13.81 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.967e-05/0.23, allocations: 330.6 kB / 486.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.573e-05/0.23, allocations: 32.47 kB / 486.5 MB, free: 13.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.608e-05/0.2301, allocations: 151.1 kB / 486.7 MB, free: 13.28 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001652/0.2303, allocations: 304.2 kB / 487 MB, free: 12.94 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.2303, allocations: 5.156 kB / 487 MB, free: 12.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002822/0.2306, allocations: 252.3 kB / 487.2 MB, free: 12.76 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.757e-05/0.2306, allocations: 60.34 kB / 487.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.2306, allocations: 9.109 kB / 487.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.2307, allocations: 5.75 kB / 487.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.823e-05/0.2308, allocations: 34.94 kB / 487.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.2308, allocations: 14.05 kB / 487.3 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.65e-05/0.2309, allocations: 15.56 kB / 487.3 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.2309, allocations: 14.81 kB / 487.4 MB, free: 12.66 MB / 350.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 9.666e-05/0.231, allocations: 196.7 kB / 487.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001361/0.2311, allocations: 122.2 kB / 487.7 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.436e-05/0.2312, allocations: 10.06 kB / 487.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/0.2312, allocations: 17.66 kB / 487.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2312, allocations: 1.062 kB / 487.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.2312, allocations: 5.078 kB / 487.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001219/0.2313, allocations: 187.7 kB / 487.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.2313, allocations: 1.156 kB / 487.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.103e-05/0.2314, allocations: 5.062 kB / 487.9 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.2314, allocations: 1.094 kB / 487.9 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.2314, allocations: 2.219 kB / 487.9 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.2314, allocations: 5.062 kB / 487.9 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2314, allocations: 1.125 kB / 487.9 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002369/0.2316, allocations: 329.3 kB / 488.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.257e-05/0.2317, allocations: 96.33 kB / 488.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.349e-05/0.2317, allocations: 2.438 kB / 488.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.375e-05/0.2318, allocations: 2.281 kB / 488.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.224e-05/0.2318, allocations: 10.28 kB / 488.3 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.888e-06/0.2318, allocations: 3.406 kB / 488.3 MB, free: 11.76 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.319e-05/0.2318, allocations: 92.42 kB / 488.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2318, allocations: 4 kB / 488.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00029/0.2321, allocations: 25.25 kB / 488.5 MB, free: 11.67 MB / 350.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.0006287/0.2328, allocations: 278.1 kB / 488.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002479/0.233, allocations: 250.2 kB / 489 MB, free: 11.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.233, allocations: 0 / 489 MB, free: 11.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.069e-05/0.2331, allocations: 121.8 kB / 489.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.2334, allocations: 85.05 kB / 489.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000344/0.2338, allocations: 244.3 kB / 489.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001137/0.2339, allocations: 0.7117 MB / 490.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.523e-05/0.234, allocations: 17.75 kB / 490.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.774e-05/0.234, allocations: 13.03 kB / 490.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.234, allocations: 0 / 490.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of Templates: time 0.003801/0.2378, allocations: 1.522 MB / 491.7 MB, free: 9.434 MB / 350.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.368112261407077]