Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse.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.0009613/0.0009613, allocations: 72.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001311/0.002273, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.0009823/0.0009823, allocations: 157.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001217/0.002199, allocations: 467.6 kB / 11.69 MB, free: 2.477 MB / 13.93 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.012/1.012, allocations: 177.2 MB / 189.6 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08401/1.096, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/package.mo): time 0.03564/0.03564, allocations: 9.176 MB / 253.2 MB, free: 6.094 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.005217/0.04086, allocations: 3.437 MB / 256.6 MB, free: 2.652 MB / 250.7 MB " [Timeout remaining time 180] Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-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.TestInputSpaceMouse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse") translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 257.9 MB, free: 1.387 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.458e-05/1.567e-05, allocations: 2.312 kB / 257.9 MB, free: 1.383 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse): time 0.002611/0.002627, allocations: 2.5 MB / 260.4 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000195/0.002822, allocations: 147.5 kB / 260.5 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.92e-05/0.002881, allocations: 0 / 260.5 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 7.824e-05/0.00296, allocations: 19.8 kB / 260.5 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.249e-05/0.003012, allocations: 11.86 kB / 260.5 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001992/0.003211, allocations: 47.83 kB / 260.6 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001311/0.003342, allocations: 67.84 kB / 260.6 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.944e-05/0.003432, allocations: 15.92 kB / 260.7 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.971e-05/0.003501, allocations: 39.91 kB / 260.7 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.088e-05/0.003562, allocations: 23.95 kB / 260.7 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.25e-05/0.003585, allocations: 4 kB / 260.7 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.375e-05/0.003639, allocations: 27.88 kB / 260.8 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.157e-05/0.0037, allocations: 31.92 kB / 260.8 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.704e-05/0.003737, allocations: 19.88 kB / 260.8 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001528/0.00389, allocations: 107.5 kB / 260.9 MB, free: 14.31 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.088e-05/0.003901, allocations: 0 / 260.9 MB, free: 14.31 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.003902, allocations: 4 kB / 260.9 MB, free: 14.3 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.218e-05/0.003914, allocations: 0 / 260.9 MB, free: 14.3 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0003782/0.004293, allocations: 399.3 kB / 261.3 MB, free: 13.88 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.962e-05/0.004322, allocations: 8.625 kB / 261.3 MB, free: 13.87 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.649e-05/0.004359, allocations: 16.86 kB / 261.3 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.004516, allocations: 145.5 kB / 261.5 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.004525, allocations: 8.375 kB / 261.5 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.004536, allocations: 4.375 kB / 261.5 MB, free: 13.67 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002757/0.004812, allocations: 319.3 kB / 261.8 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.004818, allocations: 4.125 kB / 261.8 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-06/0.004827, allocations: 4.375 kB / 261.8 MB, free: 13.31 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.004833, allocations: 384 / 261.8 MB, free: 13.31 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.292e-05/0.004885, allocations: 94.16 kB / 261.9 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002016/0.005087, allocations: 183.9 kB / 262.1 MB, free: 13.01 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.0052, allocations: 139.3 kB / 262.2 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.327e-05/0.005263, allocations: 112.5 kB / 262.3 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.881e-05/0.005292, allocations: 0 / 262.3 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.005316, allocations: 38.59 kB / 262.4 MB, free: 12.67 MB / 266.7 MB Notification: Performance of pre-optimization done (n=33): time 9.82e-07/0.005317, allocations: 0 / 262.4 MB, free: 12.67 MB / 266.7 MB Notification: Performance of matching and sorting (n=33): time 0.0002695/0.005587, allocations: 347.8 kB / 262.7 MB, free: 12.29 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.005632, allocations: 77.11 kB / 262.8 MB, free: 12.19 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.749e-05/0.005719, allocations: 150 kB / 262.9 MB, free: 12.04 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.005732, allocations: 29.73 kB / 262.9 MB, free: 12 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.774e-05/0.005779, allocations: 100.7 kB / 263 MB, free: 11.9 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.482e-05/0.005794, allocations: 15.89 kB / 263.1 MB, free: 11.88 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.451e-05/0.005829, allocations: 25.69 kB / 263.1 MB, free: 11.85 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.131e-05/0.00591, allocations: 318.8 kB / 263.4 MB, free: 11.53 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.193e-05/0.005942, allocations: 55.41 kB / 263.5 MB, free: 11.46 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.881e-05/0.005981, allocations: 77.11 kB / 263.5 MB, free: 11.37 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.268e-05/0.006053, allocations: 132.5 kB / 263.7 MB, free: 11.21 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.006056, allocations: 0 / 263.7 MB, free: 11.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001019/0.006158, allocations: 168.4 kB / 263.8 MB, free: 11.02 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.753e-05/0.006205, allocations: 59.41 kB / 263.9 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.006212, allocations: 3.938 kB / 263.9 MB, free: 10.94 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.796e-06/0.006221, allocations: 0 / 263.9 MB, free: 10.94 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.794e-05/0.006259, allocations: 8 kB / 263.9 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.805e-06/0.006262, allocations: 0 / 263.9 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.339e-05/0.006285, allocations: 3.953 kB / 263.9 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.006295, allocations: 7.984 kB / 263.9 MB, free: 10.92 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (synchronizeRealtime.initialized) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 1 * 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.527e-05/0.00639, allocations: 172.1 kB / 264.1 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.641e-05/0.006486, allocations: 109.5 kB / 264.2 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.828e-05/0.006535, allocations: 29.91 kB / 264.2 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.006537, allocations: 0 / 264.2 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.00654, allocations: 3.984 kB / 264.2 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.006544, allocations: 4 kB / 264.2 MB, free: 10.58 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.883e-05/0.006633, allocations: 89.77 kB / 264.3 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/0.006639, allocations: 0 / 264.3 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.168e-05/0.00667, allocations: 12 kB / 264.3 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.509e-05/0.006686, allocations: 23.83 kB / 264.3 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.006687, allocations: 0 / 264.3 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.006696, allocations: 4 kB / 264.3 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.006699, allocations: 7.938 kB / 264.3 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.006701, allocations: 4 kB / 264.4 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000114/0.006815, allocations: 266.7 kB / 264.6 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.006828, allocations: 4 kB / 264.6 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.131e-05/0.006859, allocations: 4 kB / 264.6 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.063e-05/0.00688, allocations: 8.156 kB / 264.6 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.006885, allocations: 4 kB / 264.6 MB, free: 10.1 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.106e-05/0.006906, allocations: 24.83 kB / 264.7 MB, free: 10.07 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006906, allocations: 3.938 kB / 264.7 MB, free: 10.07 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000136/0.007042, allocations: 23.94 kB / 264.7 MB, free: 10.05 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 17 (synchronizeRealtime.initialized,spaceMouseInput.buttons[1],spaceMouseInput.buttons[2],spaceMouseInput.buttons[3],spaceMouseInput.buttons[4],spaceMouseInput.buttons[5],spaceMouseInput.buttons[6],spaceMouseInput.buttons[7],spaceMouseInput.buttons[8],spaceMouseInput.buttons[9],spaceMouseInput.buttons[10],spaceMouseInput.buttons[11],spaceMouseInput.buttons[12],spaceMouseInput.buttons[13],spaceMouseInput.buttons[14],spaceMouseInput.buttons[15],spaceMouseInput.buttons[16]) * 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: 0 * Algorithm blocks: 2 * 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 Backend phase and start with SimCode phase: time 0.0006595/0.007702, allocations: 378.1 kB / 265.1 MB, free: 9.793 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001583/0.00786, allocations: 274.9 kB / 265.3 MB, free: 9.473 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.471e-06/0.007866, allocations: 4.125 kB / 265.3 MB, free: 9.469 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.586e-05/0.007921, allocations: 179.1 kB / 265.5 MB, free: 9.254 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.008144, allocations: 118.8 kB / 265.6 MB, free: 9.133 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004559/0.0086, allocations: 337.3 kB / 265.9 MB, free: 8.762 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.357e-05/0.008654, allocations: 92.05 kB / 266 MB, free: 8.648 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.293e-05/0.008677, allocations: 7.984 kB / 266 MB, free: 8.641 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.283e-05/0.00874, allocations: 71.42 kB / 266.1 MB, free: 8.57 MB / 266.7 MB Notification: Performance of SimCode: time 5.21e-07/0.00874, allocations: 4 kB / 266.1 MB, free: 8.566 MB / 266.7 MB Notification: Performance of Templates: time 0.003058/0.0118, allocations: 1.652 MB / 267.8 MB, free: 6.918 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse.makefile [Timeout 660] (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse.pipe >> ../files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse.sim & ./Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse -abortSlowSimulation -alarm=240 -lv LOG_STATS > Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 2.4288482358679175]