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.001057/0.001057, allocations: 79.36 kB / 20.47 MB, free: 4.102 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.001095/0.001095, allocations: 173 kB / 23.84 MB, free: 0.7266 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 0.9343/0.9343, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.03478/0.03478, allocations: 9.148 MB / 269.9 MB, free: 4.258 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.824e-06/1.824e-06, allocations: 0 / 342.5 MB, free: 7.32 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.112e-05/3.294e-05, allocations: 8.562 kB / 342.5 MB, free: 7.312 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick): time 0.005785/0.005818, allocations: 2.479 MB / 345 MB, free: 4.816 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0019/0.007719, allocations: 127.5 kB / 345.1 MB, free: 4.691 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.535e-05/0.007814, allocations: 0 / 345.1 MB, free: 4.691 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002174/0.008031, allocations: 35.66 kB / 345.2 MB, free: 4.656 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001237/0.008155, allocations: 11.86 kB / 345.2 MB, free: 4.645 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002412/0.008396, allocations: 51.88 kB / 345.2 MB, free: 4.594 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001543/0.008551, allocations: 71.77 kB / 345.3 MB, free: 4.523 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001814/0.01036, allocations: 8.234 kB / 345.3 MB, free: 4.512 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.591e-05/0.01044, allocations: 43.83 kB / 345.3 MB, free: 4.469 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.01056, allocations: 35.95 kB / 345.4 MB, free: 4.434 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.954e-05/0.01059, allocations: 12 kB / 345.4 MB, free: 4.422 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.597e-05/0.01068, allocations: 35.86 kB / 345.4 MB, free: 4.387 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.393e-05/0.01074, allocations: 43.84 kB / 345.5 MB, free: 4.344 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.298e-05/0.01079, allocations: 27.86 kB / 345.5 MB, free: 4.316 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002403/0.01103, allocations: 155.2 kB / 345.7 MB, free: 4.164 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.01104, allocations: 3.984 kB / 345.7 MB, free: 4.16 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.01104, allocations: 0 / 345.7 MB, free: 4.16 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.01104, allocations: 0 / 345.7 MB, free: 4.16 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0005528/0.0116, allocations: 0.5421 MB / 346.2 MB, free: 3.566 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.01164, allocations: 8.031 kB / 346.2 MB, free: 3.559 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.41e-05/0.0117, allocations: 32.75 kB / 346.2 MB, free: 3.527 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000206/0.01191, allocations: 156.3 kB / 346.4 MB, free: 3.348 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.01192, allocations: 4.375 kB / 346.4 MB, free: 3.344 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.01194, allocations: 12.38 kB / 346.4 MB, free: 3.332 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000448/0.01239, allocations: 425.8 kB / 346.8 MB, free: 2.875 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.0124, allocations: 4.188 kB / 346.8 MB, free: 2.871 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.01242, allocations: 4.375 kB / 346.8 MB, free: 2.867 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.01243, allocations: 4.375 kB / 346.8 MB, free: 2.863 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.01254, allocations: 112.2 kB / 346.9 MB, free: 2.742 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003348/0.01287, allocations: 303.8 kB / 347.2 MB, free: 2.406 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002458/0.01312, allocations: 189.5 kB / 347.4 MB, free: 2.188 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.295e-05/0.0132, allocations: 123.8 kB / 347.5 MB, free: 2.047 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.185e-05/0.01323, allocations: 0 / 347.5 MB, free: 2.047 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.01325, allocations: 41.33 kB / 347.6 MB, free: 1.996 MB / 266.7 MB Notification: Performance of pre-optimization done (n=50): time 1.373e-06/0.01325, allocations: 3.938 kB / 347.6 MB, free: 1.992 MB / 266.7 MB Notification: Performance of matching and sorting (n=50): time 0.0004667/0.01372, allocations: 0.5085 MB / 348.1 MB, free: 1.441 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/0.01377, allocations: 137.5 kB / 348.2 MB, free: 1.277 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.01388, allocations: 220.7 kB / 348.4 MB, free: 1.047 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.01389, allocations: 25.7 kB / 348.5 MB, free: 1.016 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.898e-05/0.01394, allocations: 151.8 kB / 348.6 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.653e-05/0.01396, allocations: 11.95 kB / 348.6 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.003e-05/0.01401, allocations: 43.36 kB / 348.7 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.345e-05/0.01406, allocations: 0.4922 MB / 349.2 MB, free: 304 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.009e-05/0.01409, allocations: 59.39 kB / 349.2 MB, free: 232 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.827e-05/0.01412, allocations: 78.78 kB / 349.3 MB, free: 132 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.632e-05/0.0142, allocations: 142.2 kB / 349.4 MB, free: 15.96 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.0142, allocations: 4 kB / 349.4 MB, free: 15.95 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001429/0.01434, allocations: 180.5 kB / 349.6 MB, free: 15.75 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.054e-05/0.01438, allocations: 59.41 kB / 349.7 MB, free: 15.68 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.01439, allocations: 3.984 kB / 349.7 MB, free: 15.67 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.0144, allocations: 0 / 349.7 MB, free: 15.67 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.254e-05/0.01445, allocations: 4 kB / 349.7 MB, free: 15.67 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.01445, allocations: 0 / 349.7 MB, free: 15.67 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.653e-05/0.01448, allocations: 0 / 349.7 MB, free: 15.67 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.01449, allocations: 4.062 kB / 349.7 MB, free: 15.66 MB / 282.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.548e-05/0.01458, allocations: 216 kB / 349.9 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001811/0.01476, allocations: 232.4 kB / 350.1 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.076e-05/0.0148, allocations: 18.62 kB / 350.1 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/0.01481, allocations: 4 kB / 350.2 MB, free: 15.17 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.01481, allocations: 0 / 350.2 MB, free: 15.17 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.01482, allocations: 0 / 350.2 MB, free: 15.17 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001222/0.01494, allocations: 160.3 kB / 350.3 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.894e-06/0.01495, allocations: 4 kB / 350.3 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.983e-05/0.015, allocations: 11.98 kB / 350.3 MB, free: 14.96 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.015, allocations: 4 kB / 350.3 MB, free: 14.96 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.01501, allocations: 7.938 kB / 350.3 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.01501, allocations: 0 / 350.3 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.01502, allocations: 7.938 kB / 350.3 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003134/0.01533, allocations: 0.5217 MB / 350.9 MB, free: 14.37 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.371e-05/0.01535, allocations: 35.73 kB / 350.9 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.01537, allocations: 7.938 kB / 350.9 MB, free: 14.33 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.119e-05/0.01541, allocations: 0 / 350.9 MB, free: 14.33 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.609e-05/0.01544, allocations: 11.98 kB / 350.9 MB, free: 14.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.01545, allocations: 4 kB / 350.9 MB, free: 14.31 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.322e-05/0.0155, allocations: 141.4 kB / 351.1 MB, free: 14.18 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0155, allocations: 0 / 351.1 MB, free: 14.18 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001723/0.01567, allocations: 28 kB / 351.1 MB, free: 14.15 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: 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.0006201/0.01629, allocations: 355.2 kB / 351.4 MB, free: 13.9 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002311/0.01652, allocations: 292.8 kB / 351.7 MB, free: 13.57 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.01652, allocations: 0 / 351.7 MB, free: 13.57 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.491e-05/0.01659, allocations: 181.8 kB / 351.9 MB, free: 13.35 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003329/0.01692, allocations: 155.2 kB / 352.1 MB, free: 13.19 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005147/0.01744, allocations: 427.6 kB / 352.5 MB, free: 12.72 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.273e-05/0.01751, allocations: 111.9 kB / 352.6 MB, free: 12.59 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.196e-05/0.01756, allocations: 11.98 kB / 352.6 MB, free: 12.58 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.824e-05/0.01759, allocations: 16.5 kB / 352.6 MB, free: 12.56 MB / 282.7 MB Notification: Performance of SimCode: time 1.223e-06/0.01759, allocations: 0 / 352.6 MB, free: 12.56 MB / 282.7 MB Notification: Performance of Templates: time 0.003964/0.02156, allocations: 1.965 MB / 354.6 MB, free: 10.61 MB / 282.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.7064215829595923]