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.0009597/0.0009597, allocations: 72.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001263/0.002222, 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.0009994/0.0009994, allocations: 157.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001212/0.002211, 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 0.9535/0.9535, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08713/1.041, 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.03527/0.03527, allocations: 9.154 MB / 253.1 MB, free: 6.105 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.006576/0.04184, allocations: 3.448 MB / 256.6 MB, free: 2.656 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.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.653e-06/1.653e-06, allocations: 0 / 257.8 MB, free: 1.391 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.626e-05/1.791e-05, allocations: 2.312 kB / 257.8 MB, free: 1.387 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick): time 0.002732/0.00275, allocations: 2.551 MB / 260.4 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002482/0.002998, allocations: 143.4 kB / 260.5 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.383e-05/0.003072, allocations: 7.938 kB / 260.5 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001087/0.003181, allocations: 27.78 kB / 260.6 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.669e-05/0.003238, allocations: 15.81 kB / 260.6 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001501/0.003388, allocations: 39.89 kB / 260.6 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.003517, allocations: 79.7 kB / 260.7 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.722e-05/0.003604, allocations: 12.22 kB / 260.7 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.357e-05/0.003688, allocations: 43.89 kB / 260.8 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.003792, allocations: 39.89 kB / 260.8 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.534e-05/0.003817, allocations: 8 kB / 260.8 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.559e-05/0.003883, allocations: 31.94 kB / 260.8 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.61e-05/0.003949, allocations: 51.83 kB / 260.9 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.225e-05/0.003991, allocations: 27.81 kB / 260.9 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.004195, allocations: 123.5 kB / 261 MB, free: 14.17 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.379e-05/0.004209, allocations: 0 / 261 MB, free: 14.17 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.00421, allocations: 0 / 261 MB, free: 14.17 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.492e-05/0.004224, allocations: 4 kB / 261 MB, free: 14.17 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.0005199/0.004744, allocations: 447 kB / 261.5 MB, free: 13.69 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.004776, allocations: 12.62 kB / 261.5 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.192e-05/0.004818, allocations: 16.92 kB / 261.5 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004594/0.005278, allocations: 160.6 kB / 261.7 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.005289, allocations: 4.375 kB / 261.7 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.199e-05/0.005301, allocations: 8.375 kB / 261.7 MB, free: 13.47 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003373/0.005638, allocations: 419.7 kB / 262.1 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.005646, allocations: 192 / 262.1 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.687e-06/0.005655, allocations: 384 / 262.1 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.005662, allocations: 4.375 kB / 262.1 MB, free: 13.03 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.554e-05/0.005738, allocations: 111.7 kB / 262.2 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002341/0.005972, allocations: 192.2 kB / 262.4 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.006151, allocations: 154.7 kB / 262.5 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.073e-05/0.006211, allocations: 106.1 kB / 262.6 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.132e-05/0.006243, allocations: 4 kB / 262.6 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.006266, allocations: 38.56 kB / 262.7 MB, free: 12.34 MB / 266.7 MB Notification: Performance of pre-optimization done (n=50): time 1.362e-06/0.006267, allocations: 0 / 262.7 MB, free: 12.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=50): time 0.0003099/0.006577, allocations: 458.7 kB / 263.1 MB, free: 11.85 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.006621, allocations: 82.11 kB / 263.2 MB, free: 11.75 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.309e-05/0.006704, allocations: 162.5 kB / 263.4 MB, free: 11.58 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.006718, allocations: 33.7 kB / 263.4 MB, free: 11.54 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.618e-05/0.006754, allocations: 93.08 kB / 263.5 MB, free: 11.45 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.208e-05/0.006766, allocations: 11.94 kB / 263.5 MB, free: 11.44 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.195e-05/0.006808, allocations: 25.69 kB / 263.5 MB, free: 11.41 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.468e-05/0.006883, allocations: 322.8 kB / 263.8 MB, free: 11.08 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.059e-05/0.006913, allocations: 63.34 kB / 263.9 MB, free: 11.01 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.264e-05/0.006946, allocations: 77.09 kB / 264 MB, free: 10.91 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.947e-05/0.007006, allocations: 132.5 kB / 264.1 MB, free: 10.75 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.007008, allocations: 0 / 264.1 MB, free: 10.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.039e-05/0.007098, allocations: 168.4 kB / 264.3 MB, free: 10.56 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.994e-05/0.007138, allocations: 55.41 kB / 264.3 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.007144, allocations: 7.938 kB / 264.3 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.117e-06/0.007153, allocations: 0 / 264.3 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.51e-05/0.007178, allocations: 4 kB / 264.3 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.007182, allocations: 7.984 kB / 264.3 MB, free: 10.47 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.428e-05/0.007207, allocations: 7.891 kB / 264.4 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.007215, allocations: 8 kB / 264.4 MB, free: 10.46 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 8.853e-05/0.007303, allocations: 164.1 kB / 264.5 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001353/0.007438, allocations: 190.8 kB / 264.7 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.715e-05/0.007476, allocations: 30.59 kB / 264.7 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.007479, allocations: 4 kB / 264.7 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.007481, allocations: 0 / 264.7 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.007484, allocations: 0 / 264.7 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.091e-05/0.007575, allocations: 93.72 kB / 264.8 MB, free: 9.938 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.00758, allocations: 0 / 264.8 MB, free: 9.938 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.673e-05/0.007627, allocations: 15.98 kB / 264.9 MB, free: 9.922 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.906e-05/0.007646, allocations: 35.73 kB / 264.9 MB, free: 9.887 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.007648, allocations: 0 / 264.9 MB, free: 9.887 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.007656, allocations: 4 kB / 264.9 MB, free: 9.883 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.007657, allocations: 3.938 kB / 264.9 MB, free: 9.879 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.007659, allocations: 4 kB / 264.9 MB, free: 9.875 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001316/0.00779, allocations: 271 kB / 265.2 MB, free: 9.566 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.007805, allocations: 4 kB / 265.2 MB, free: 9.562 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.155e-05/0.007846, allocations: 8 kB / 265.2 MB, free: 9.555 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.692e-05/0.007863, allocations: 3.938 kB / 265.2 MB, free: 9.551 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.007871, allocations: 4 kB / 265.2 MB, free: 9.547 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.535e-05/0.007896, allocations: 27.75 kB / 265.2 MB, free: 9.52 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007896, allocations: 0 / 265.2 MB, free: 9.52 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001534/0.00805, allocations: 27.92 kB / 265.2 MB, free: 9.492 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: 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.0007486/0.008798, allocations: 439.1 kB / 265.7 MB, free: 9.199 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002038/0.009002, allocations: 282 kB / 265.9 MB, free: 8.871 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.108e-06/0.009011, allocations: 8 kB / 265.9 MB, free: 8.863 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.302e-05/0.009074, allocations: 175.2 kB / 266.1 MB, free: 8.652 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000275/0.009349, allocations: 161.2 kB / 266.3 MB, free: 8.488 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005151/0.009864, allocations: 406.1 kB / 266.7 MB, free: 8.051 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.808e-05/0.009922, allocations: 111.9 kB / 266.8 MB, free: 7.922 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.579e-05/0.009958, allocations: 19.98 kB / 266.8 MB, free: 7.902 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.861e-05/0.01003, allocations: 67.36 kB / 266.9 MB, free: 7.836 MB / 266.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01003, allocations: 0 / 266.9 MB, free: 7.836 MB / 266.7 MB Notification: Performance of Templates: time 0.003969/0.014, allocations: 2.072 MB / 268.9 MB, free: 5.77 MB / 266.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.340680387802422]