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.001736/0.001736, allocations: 88.98 kB / 20.25 MB, free: 4.168 MB / 18.57 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.001809/0.001809, allocations: 173.2 kB / 23.57 MB, free: 0.8516 MB / 18.57 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.47/1.47, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 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.06315/0.06315, allocations: 9.162 MB / 269.5 MB, free: 4.277 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 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 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 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 master/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.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.904e-06/1.904e-06, allocations: 3.984 kB / 341.8 MB, free: 7.652 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.02e-05/2.21e-05, allocations: 6.312 kB / 341.8 MB, free: 7.645 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse): time 0.002597/0.002619, allocations: 2.375 MB / 344.2 MB, free: 5.254 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000246/0.002865, allocations: 135.5 kB / 344.3 MB, free: 5.121 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.329e-05/0.002928, allocations: 4 kB / 344.3 MB, free: 5.117 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001413/0.003069, allocations: 27.8 kB / 344.3 MB, free: 5.09 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.411e-05/0.003153, allocations: 7.875 kB / 344.4 MB, free: 5.082 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001543/0.003308, allocations: 43.88 kB / 344.4 MB, free: 5.039 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000113/0.003421, allocations: 67.77 kB / 344.5 MB, free: 4.973 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.454e-05/0.003515, allocations: 12 kB / 344.5 MB, free: 4.961 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.882e-05/0.003574, allocations: 39.89 kB / 344.5 MB, free: 4.922 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.05e-05/0.003625, allocations: 19.92 kB / 344.5 MB, free: 4.902 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.35e-05/0.003648, allocations: 4 kB / 344.5 MB, free: 4.898 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.509e-05/0.003703, allocations: 31.91 kB / 344.6 MB, free: 4.867 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.34e-05/0.003777, allocations: 27.92 kB / 344.6 MB, free: 4.84 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.54e-05/0.003822, allocations: 31.86 kB / 344.6 MB, free: 4.809 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001704/0.003992, allocations: 139.4 kB / 344.8 MB, free: 4.672 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.003994, allocations: 0 / 344.8 MB, free: 4.672 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.003995, allocations: 0 / 344.8 MB, free: 4.672 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.003999, allocations: 0 / 344.8 MB, free: 4.672 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.0003592/0.004358, allocations: 0.5068 MB / 345.3 MB, free: 4.113 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.00439, allocations: 8.031 kB / 345.3 MB, free: 4.105 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.508e-05/0.004445, allocations: 28.8 kB / 345.3 MB, free: 4.078 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/0.004612, allocations: 149.1 kB / 345.4 MB, free: 3.906 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.004625, allocations: 8.375 kB / 345.5 MB, free: 3.898 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.511e-05/0.00464, allocations: 16.38 kB / 345.5 MB, free: 3.883 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003489/0.004989, allocations: 328.1 kB / 345.8 MB, free: 3.523 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.004999, allocations: 4.188 kB / 345.8 MB, free: 3.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.005012, allocations: 8.375 kB / 345.8 MB, free: 3.512 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.005018, allocations: 384 / 345.8 MB, free: 3.512 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.571e-05/0.005094, allocations: 95.33 kB / 345.9 MB, free: 3.406 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002847/0.005378, allocations: 307.3 kB / 346.2 MB, free: 3.066 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/0.005539, allocations: 177.9 kB / 346.4 MB, free: 2.855 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.005643, allocations: 127.4 kB / 346.5 MB, free: 2.711 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.574e-05/0.005669, allocations: 0 / 346.5 MB, free: 2.711 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.467e-05/0.005683, allocations: 41.33 kB / 346.5 MB, free: 2.66 MB / 266.7 MB Notification: Performance of pre-optimization done (n=33): time 1.944e-06/0.005685, allocations: 7.984 kB / 346.5 MB, free: 2.652 MB / 266.7 MB Notification: Performance of matching and sorting (n=33): time 0.0003885/0.006074, allocations: 391.8 kB / 346.9 MB, free: 2.227 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.006114, allocations: 140.5 kB / 347.1 MB, free: 2.059 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.957e-05/0.006214, allocations: 229.7 kB / 347.3 MB, free: 1.816 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.006224, allocations: 29.64 kB / 347.3 MB, free: 1.781 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.482e-05/0.006269, allocations: 139.5 kB / 347.5 MB, free: 1.637 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.247e-05/0.006281, allocations: 19.92 kB / 347.5 MB, free: 1.617 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.086e-05/0.006322, allocations: 39.33 kB / 347.5 MB, free: 1.57 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.444e-05/0.006386, allocations: 0.4923 MB / 348 MB, free: 1.066 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.116e-05/0.006428, allocations: 63.41 kB / 348.1 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.175e-05/0.006469, allocations: 82.77 kB / 348.1 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.578e-05/0.006535, allocations: 150.2 kB / 348.3 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.006537, allocations: 3.938 kB / 348.3 MB, free: 0.707 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001372/0.006674, allocations: 180.4 kB / 348.5 MB, free: 0.5 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/0.0067, allocations: 59.41 kB / 348.5 MB, free: 440 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.006704, allocations: 0 / 348.5 MB, free: 440 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.006716, allocations: 0 / 348.5 MB, free: 440 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.116e-05/0.006747, allocations: 3.984 kB / 348.5 MB, free: 436 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.006752, allocations: 4 kB / 348.5 MB, free: 432 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.498e-05/0.006777, allocations: 7.891 kB / 348.5 MB, free: 424 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.278e-06/0.006786, allocations: 8.062 kB / 348.6 MB, free: 416 kB / 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 7.008e-05/0.006856, allocations: 220 kB / 348.8 MB, free: 172 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.006981, allocations: 141.4 kB / 348.9 MB, free: 24 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.046e-05/0.007032, allocations: 13.95 kB / 348.9 MB, free: 12 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.007035, allocations: 4 kB / 348.9 MB, free: 8 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.247e-06/0.007039, allocations: 0 / 348.9 MB, free: 8 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.007042, allocations: 0 / 348.9 MB, free: 8 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002077/0.007249, allocations: 156.4 kB / 349.1 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.007254, allocations: 0 / 349.1 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.9e-05/0.007303, allocations: 15.94 kB / 349.1 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.007308, allocations: 3.984 kB / 349.1 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.007321, allocations: 7.938 kB / 349.1 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.007322, allocations: 4 kB / 349.1 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.007323, allocations: 0 / 349.1 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004948/0.007818, allocations: 469.1 kB / 349.6 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.421e-05/0.007842, allocations: 19.84 kB / 349.6 MB, free: 15.27 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.335e-05/0.007866, allocations: 7.938 kB / 349.6 MB, free: 15.26 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.132e-05/0.007917, allocations: 4 kB / 349.6 MB, free: 15.25 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.905e-05/0.007956, allocations: 11.92 kB / 349.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.007967, allocations: 4 kB / 349.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001058/0.008073, allocations: 150 kB / 349.8 MB, free: 15.09 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008073, allocations: 4 kB / 349.8 MB, free: 15.09 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002313/0.008304, allocations: 20 kB / 349.8 MB, free: 15.07 MB / 282.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.001104/0.009408, allocations: 274.2 kB / 350.1 MB, free: 14.88 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003498/0.009758, allocations: 293.2 kB / 350.3 MB, free: 14.54 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.009759, allocations: 0 / 350.3 MB, free: 14.54 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001579/0.009917, allocations: 194 kB / 350.5 MB, free: 14.3 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004017/0.01032, allocations: 108 kB / 350.6 MB, free: 14.2 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005846/0.0109, allocations: 370.5 kB / 351 MB, free: 13.78 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002619/0.01117, allocations: 125.8 kB / 351.1 MB, free: 13.64 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.062e-05/0.0112, allocations: 7.984 kB / 351.1 MB, free: 13.63 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.101e-05/0.01122, allocations: 16.56 kB / 351.1 MB, free: 13.61 MB / 282.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01122, allocations: 0 / 351.1 MB, free: 13.61 MB / 282.7 MB Notification: Performance of Templates: time 0.004958/0.01618, allocations: 1.575 MB / 352.7 MB, free: 12.05 MB / 282.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: 4.295203007990494]