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.001097/0.001097, allocations: 85.06 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001898/0.002995, allocations: 452 kB / 10.43 MB, free: 264 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.001089/0.001089, allocations: 157.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003953/0.005042, allocations: 483.5 kB / 11.8 MB, free: 2.363 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 0.9215/0.9215, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08048/1.002, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.03547/0.03547, allocations: 9.168 MB / 253.3 MB, free: 5.988 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.004793/0.04026, allocations: 3.444 MB / 256.8 MB, free: 2.543 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.223e-06/1.223e-06, allocations: 0 / 258.1 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.046e-05/1.168e-05, allocations: 6.25 kB / 258.1 MB, free: 1.234 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse): time 0.002308/0.00232, allocations: 2.507 MB / 260.6 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001755/0.002495, allocations: 143.5 kB / 260.7 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.578e-05/0.002531, allocations: 4 kB / 260.7 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.114e-05/0.002592, allocations: 27.67 kB / 260.7 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.514e-05/0.002627, allocations: 3.938 kB / 260.7 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001078/0.002735, allocations: 47.83 kB / 260.8 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.778e-05/0.002833, allocations: 71.77 kB / 260.9 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.573e-05/0.002888, allocations: 11.98 kB / 260.9 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.598e-05/0.002944, allocations: 43.89 kB / 260.9 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.2e-05/0.002986, allocations: 19.92 kB / 260.9 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.003002, allocations: 8 kB / 260.9 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.389e-05/0.003046, allocations: 31.86 kB / 261 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.247e-05/0.003089, allocations: 31.86 kB / 261 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.134e-05/0.00312, allocations: 19.94 kB / 261 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001217/0.003242, allocations: 103.5 kB / 261.1 MB, free: 14.15 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.003247, allocations: 0 / 261.1 MB, free: 14.15 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.003247, allocations: 0 / 261.1 MB, free: 14.15 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.003253, allocations: 0 / 261.1 MB, free: 14.15 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.0002634/0.003517, allocations: 395.3 kB / 261.5 MB, free: 13.73 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.071e-05/0.003538, allocations: 16.56 kB / 261.5 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.648e-05/0.003564, allocations: 12.94 kB / 261.5 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.003679, allocations: 145.5 kB / 261.7 MB, free: 13.53 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.414e-06/0.003686, allocations: 4.375 kB / 261.7 MB, free: 13.53 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.003698, allocations: 16.36 kB / 261.7 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002358/0.003934, allocations: 322.7 kB / 262 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.137e-06/0.003938, allocations: 192 / 262 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.003946, allocations: 8.375 kB / 262 MB, free: 13.15 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.266e-06/0.00395, allocations: 384 / 262 MB, free: 13.15 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.968e-05/0.003999, allocations: 94.09 kB / 262.1 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001517/0.004151, allocations: 183.9 kB / 262.3 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.954e-05/0.00425, allocations: 139.5 kB / 262.4 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.354e-05/0.004304, allocations: 109.2 kB / 262.5 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.00432, allocations: 11.98 kB / 262.6 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.652e-05/0.004336, allocations: 34.56 kB / 262.6 MB, free: 12.5 MB / 266.7 MB Notification: Performance of pre-optimization done (n=33): time 8.11e-07/0.004337, allocations: 0 / 262.6 MB, free: 12.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=33): time 0.0001933/0.00453, allocations: 335.8 kB / 262.9 MB, free: 12.13 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/0.004563, allocations: 85.11 kB / 263 MB, free: 12.03 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.061e-05/0.004623, allocations: 142.6 kB / 263.1 MB, free: 11.88 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.848e-06/0.004633, allocations: 25.7 kB / 263.2 MB, free: 11.84 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.73e-05/0.004661, allocations: 96.67 kB / 263.3 MB, free: 11.75 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.195e-05/0.004673, allocations: 15.88 kB / 263.3 MB, free: 11.73 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-05/0.004699, allocations: 25.7 kB / 263.3 MB, free: 11.7 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.528e-05/0.004764, allocations: 322.8 kB / 263.6 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.26e-05/0.004787, allocations: 59.44 kB / 263.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.48e-05/0.004822, allocations: 73.11 kB / 263.7 MB, free: 11.21 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.517e-05/0.004877, allocations: 140.5 kB / 263.9 MB, free: 11.05 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.004878, allocations: 0 / 263.9 MB, free: 11.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.12e-05/0.004949, allocations: 160.4 kB / 264 MB, free: 10.86 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.152e-05/0.00498, allocations: 59.39 kB / 264.1 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.004984, allocations: 7.938 kB / 264.1 MB, free: 10.78 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.51e-06/0.00499, allocations: 0 / 264.1 MB, free: 10.78 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.529e-05/0.005005, allocations: 0 / 264.1 MB, free: 10.78 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.575e-06/0.005008, allocations: 8.062 kB / 264.1 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.516e-05/0.005023, allocations: 7.891 kB / 264.1 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-06/0.005029, allocations: 4 kB / 264.1 MB, free: 10.76 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 6.647e-05/0.005095, allocations: 172.1 kB / 264.3 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.525e-05/0.00517, allocations: 109.6 kB / 264.4 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.442e-05/0.005205, allocations: 26.12 kB / 264.4 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.005207, allocations: 3.984 kB / 264.4 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.005209, allocations: 0 / 264.4 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.005211, allocations: 0 / 264.4 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.789e-05/0.005289, allocations: 85.77 kB / 264.5 MB, free: 10.33 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.005293, allocations: 11.98 kB / 264.5 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.464e-05/0.005318, allocations: 12 kB / 264.5 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.082e-05/0.005328, allocations: 15.84 kB / 264.6 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.005331, allocations: 4 kB / 264.6 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.005337, allocations: 4 kB / 264.6 MB, free: 10.28 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.00534, allocations: 7.875 kB / 264.6 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.005342, allocations: 4 kB / 264.6 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001008/0.005442, allocations: 266.8 kB / 264.8 MB, free: 9.965 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.056e-05/0.005453, allocations: 0 / 264.8 MB, free: 9.965 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.953e-05/0.005482, allocations: 4 kB / 264.8 MB, free: 9.961 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.494e-05/0.005497, allocations: 11.94 kB / 264.8 MB, free: 9.949 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.381e-06/0.005503, allocations: 8.031 kB / 264.9 MB, free: 9.941 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.975e-05/0.005522, allocations: 28.27 kB / 264.9 MB, free: 9.914 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005523, allocations: 0 / 264.9 MB, free: 9.914 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001249/0.005647, allocations: 27.92 kB / 264.9 MB, free: 9.887 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.0006153/0.006263, allocations: 370.9 kB / 265.3 MB, free: 9.641 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000138/0.006401, allocations: 271 kB / 265.5 MB, free: 9.324 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.006405, allocations: 4 kB / 265.5 MB, free: 9.32 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.132e-05/0.006466, allocations: 175.1 kB / 265.7 MB, free: 9.109 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001927/0.006659, allocations: 134.8 kB / 265.8 MB, free: 8.973 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004089/0.007068, allocations: 341.6 kB / 266.2 MB, free: 8.594 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.226e-05/0.00712, allocations: 90.48 kB / 266.3 MB, free: 8.484 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.967e-05/0.00714, allocations: 11.98 kB / 266.3 MB, free: 8.473 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.16e-05/0.007201, allocations: 71.36 kB / 266.3 MB, free: 8.402 MB / 266.7 MB Notification: Performance of SimCode: time 4e-07/0.007202, allocations: 0 / 266.3 MB, free: 8.402 MB / 266.7 MB Notification: Performance of Templates: time 0.002964/0.01017, allocations: 1.658 MB / 268 MB, free: 6.75 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.2617285195738077]