Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick.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.0009413/0.0009413, allocations: 80.2 kB / 20.7 MB, free: 3.801 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.001022/0.001022, allocations: 169 kB / 24.09 MB, free: 416 kB / 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 0.9923/0.9923, allocations: 177.1 MB / 204.5 MB, free: 5.168 MB / 186.7 MB " [Timeout remaining time 179] 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.037/0.037, allocations: 9.146 MB / 270.2 MB, free: 3.988 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.TestInputJoystick,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick") translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 343 MB, free: 8.105 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.077e-05/1.209e-05, allocations: 6.312 kB / 343 MB, free: 8.098 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick): time 0.002415/0.002427, allocations: 2.49 MB / 345.5 MB, free: 5.59 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001943/0.002622, allocations: 127.5 kB / 345.6 MB, free: 5.465 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.166e-05/0.002693, allocations: 0 / 345.6 MB, free: 5.465 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001412/0.002835, allocations: 27.72 kB / 345.6 MB, free: 5.438 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 8.382e-05/0.002919, allocations: 23.8 kB / 345.6 MB, free: 5.414 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001397/0.003058, allocations: 47.88 kB / 345.7 MB, free: 5.367 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001163/0.003175, allocations: 71.78 kB / 345.8 MB, free: 5.297 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.855e-05/0.003253, allocations: 12.22 kB / 345.8 MB, free: 5.281 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.434e-05/0.003317, allocations: 43.89 kB / 345.8 MB, free: 5.238 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.193e-05/0.003409, allocations: 31.89 kB / 345.8 MB, free: 5.207 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.228e-05/0.003432, allocations: 8 kB / 345.8 MB, free: 5.199 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.474e-05/0.003486, allocations: 35.92 kB / 345.9 MB, free: 5.164 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.922e-05/0.003536, allocations: 43.84 kB / 345.9 MB, free: 5.121 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.556e-05/0.003571, allocations: 27.86 kB / 346 MB, free: 5.094 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001599/0.003731, allocations: 147.3 kB / 346.1 MB, free: 4.949 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.302e-06/0.003732, allocations: 4 kB / 346.1 MB, free: 4.945 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.003733, allocations: 0 / 346.1 MB, free: 4.945 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.815e-06/0.003736, allocations: 0 / 346.1 MB, free: 4.945 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0004417/0.004178, allocations: 0.5575 MB / 346.7 MB, free: 4.336 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.004209, allocations: 8.031 kB / 346.7 MB, free: 4.328 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.993e-05/0.004249, allocations: 28.8 kB / 346.7 MB, free: 4.301 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.004387, allocations: 156.3 kB / 346.8 MB, free: 4.121 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.004398, allocations: 8.375 kB / 346.9 MB, free: 4.113 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.004408, allocations: 8.375 kB / 346.9 MB, free: 4.105 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003024/0.004711, allocations: 413.5 kB / 347.3 MB, free: 3.664 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.004718, allocations: 192 / 347.3 MB, free: 3.664 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.004728, allocations: 4.375 kB / 347.3 MB, free: 3.66 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.004733, allocations: 4.375 kB / 347.3 MB, free: 3.656 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.35e-05/0.004797, allocations: 100.8 kB / 347.4 MB, free: 3.547 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002352/0.005032, allocations: 288.4 kB / 347.7 MB, free: 3.234 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003002/0.005332, allocations: 174.4 kB / 347.8 MB, free: 3.023 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.627e-05/0.005389, allocations: 111.8 kB / 347.9 MB, free: 2.895 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.00541, allocations: 7.938 kB / 347.9 MB, free: 2.887 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.86e-05/0.005429, allocations: 37.39 kB / 348 MB, free: 2.84 MB / 314.7 MB Notification: Performance of pre-optimization done (n=50): time 1.152e-06/0.00543, allocations: 0 / 348 MB, free: 2.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=50): time 0.0003272/0.005757, allocations: 496.6 kB / 348.5 MB, free: 2.312 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.005803, allocations: 137.5 kB / 348.6 MB, free: 2.148 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.071e-05/0.005893, allocations: 211.6 kB / 348.8 MB, free: 1.926 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.005905, allocations: 29.7 kB / 348.8 MB, free: 1.891 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.178e-05/0.005956, allocations: 151.7 kB / 349 MB, free: 1.738 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.015e-05/0.005967, allocations: 15.97 kB / 349 MB, free: 1.723 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.563e-05/0.006012, allocations: 47.33 kB / 349 MB, free: 1.668 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.249e-05/0.006105, allocations: 0.4884 MB / 349.5 MB, free: 1.168 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.343e-05/0.006128, allocations: 59.39 kB / 349.6 MB, free: 1.098 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.344e-05/0.006162, allocations: 78.72 kB / 349.7 MB, free: 1 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.456e-05/0.006216, allocations: 142.4 kB / 349.8 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.006217, allocations: 0 / 349.8 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.309e-05/0.00631, allocations: 172.4 kB / 350 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.857e-05/0.006339, allocations: 63.33 kB / 350 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.006343, allocations: 64 / 350 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.006352, allocations: 8 kB / 350 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.455e-05/0.006367, allocations: 0 / 350 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.284e-06/0.006369, allocations: 0 / 350 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.783e-05/0.006387, allocations: 8 kB / 350.1 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.006392, allocations: 4 kB / 350.1 MB, free: 0.5352 MB / 314.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.463e-05/0.006467, allocations: 216 kB / 350.3 MB, free: 308 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000137/0.006604, allocations: 216.4 kB / 350.5 MB, free: 84 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.867e-05/0.006632, allocations: 22.56 kB / 350.5 MB, free: 64 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.006634, allocations: 3.938 kB / 350.5 MB, free: 60 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.006636, allocations: 0 / 350.5 MB, free: 60 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.006639, allocations: 11.98 kB / 350.5 MB, free: 48 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000101/0.00674, allocations: 129 kB / 350.6 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.006744, allocations: 4 kB / 350.6 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.143e-05/0.006776, allocations: 8 kB / 350.7 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.006779, allocations: 7.984 kB / 350.7 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.006785, allocations: 0 / 350.7 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.006787, allocations: 4 kB / 350.7 MB, free: 15.87 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.006789, allocations: 3.938 kB / 350.7 MB, free: 15.87 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001344/0.006923, allocations: 331.3 kB / 351 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.739e-05/0.00694, allocations: 27.72 kB / 351 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.006953, allocations: 4 kB / 351 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.683e-05/0.00699, allocations: 12.03 kB / 351 MB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.495e-05/0.007005, allocations: 3.938 kB / 351 MB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.007012, allocations: 4 kB / 351 MB, free: 15.45 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.202e-05/0.007054, allocations: 149.9 kB / 351.2 MB, free: 15.3 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007054, allocations: 0 / 351.2 MB, free: 15.3 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00015/0.007204, allocations: 20 kB / 351.2 MB, free: 15.28 MB / 330.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: 33 (synchronizeRealtime.initialized,joystickInput.buttons[1],joystickInput.buttons[2],joystickInput.buttons[3],joystickInput.buttons[4],joystickInput.buttons[5],joystickInput.buttons[6],joystickInput.buttons[7],joystickInput.buttons[8],joystickInput.buttons[9],joystickInput.buttons[10],joystickInput.buttons[11],joystickInput.buttons[12],joystickInput.buttons[13],joystickInput.buttons[14],joystickInput.buttons[15],joystickInput.buttons[16],joystickInput.buttons[17],joystickInput.buttons[18],joystickInput.buttons[19],joystickInput.buttons[20],joystickInput.buttons[21],joystickInput.buttons[22],joystickInput.buttons[23],joystickInput.buttons[24],joystickInput.buttons[25],joystickInput.buttons[26],joystickInput.buttons[27],joystickInput.buttons[28],joystickInput.buttons[29],joystickInput.buttons[30],joystickInput.buttons[31],joystickInput.buttons[32]) * 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.0004775/0.007681, allocations: 359.6 kB / 351.6 MB, free: 15.04 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001586/0.00784, allocations: 284.7 kB / 351.8 MB, free: 14.7 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.007841, allocations: 0 / 351.8 MB, free: 14.7 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.707e-05/0.007898, allocations: 173.9 kB / 352 MB, free: 14.49 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000266/0.008164, allocations: 159.1 kB / 352.2 MB, free: 14.33 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003318/0.008496, allocations: 415.7 kB / 352.6 MB, free: 13.88 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.724e-05/0.008554, allocations: 115.9 kB / 352.7 MB, free: 13.74 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.654e-05/0.00858, allocations: 8 kB / 352.7 MB, free: 13.73 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.806e-05/0.008648, allocations: 98.11 kB / 352.8 MB, free: 13.64 MB / 330.7 MB Notification: Performance of SimCode: time 4.91e-07/0.008649, allocations: 0 / 352.8 MB, free: 13.64 MB / 330.7 MB Notification: Performance of Templates: time 0.00339/0.01204, allocations: 2.053 MB / 354.8 MB, free: 11.59 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick.makefile [Timeout 660] (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick.pipe >> ../files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick.sim & ./Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick -abortSlowSimulation -alarm=240 -lv LOG_STATS > Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 2.567548645660281]