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.0007754/0.0007754, allocations: 64.2 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001222/0.001998, allocations: 447.8 kB / 10.3 MB, free: 396 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.0007288/0.0007288, allocations: 157.1 kB / 11.19 MB, free: 2.98 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009282/0.001657, allocations: 471.6 kB / 11.65 MB, free: 2.516 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.9066/0.9066, allocations: 177.2 MB / 189.5 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07146/0.978, allocations: 53.65 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.04012/0.04012, allocations: 9.163 MB / 253.1 MB, free: 6.098 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.00465/0.04477, allocations: 3.44 MB / 256.5 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.262e-06/1.262e-06, allocations: 0 / 257.8 MB, free: 1.398 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.008e-05/1.134e-05, allocations: 5.406 kB / 257.8 MB, free: 1.395 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick): time 0.002226/0.002237, allocations: 2.543 MB / 260.3 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000191/0.002428, allocations: 139.3 kB / 260.5 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.222e-05/0.002481, allocations: 4 kB / 260.5 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.335e-05/0.002564, allocations: 27.73 kB / 260.5 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.086e-05/0.002615, allocations: 11.86 kB / 260.5 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001357/0.002751, allocations: 43.89 kB / 260.6 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001125/0.002863, allocations: 71.78 kB / 260.6 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.408e-05/0.002937, allocations: 20.14 kB / 260.6 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.228e-05/0.003009, allocations: 39.91 kB / 260.7 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.203e-05/0.003101, allocations: 43.88 kB / 260.7 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.228e-05/0.003124, allocations: 8 kB / 260.7 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.342e-05/0.003187, allocations: 39.92 kB / 260.8 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.058e-05/0.003238, allocations: 39.86 kB / 260.8 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.132e-05/0.003279, allocations: 23.88 kB / 260.8 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001722/0.003451, allocations: 135.3 kB / 261 MB, free: 14.19 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.00346, allocations: 0 / 261 MB, free: 14.19 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.00346, allocations: 0 / 261 MB, free: 14.19 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.25e-05/0.003473, allocations: 0 / 261 MB, free: 14.19 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.0004653/0.003938, allocations: 451 kB / 261.4 MB, free: 13.71 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.764e-05/0.003966, allocations: 16.61 kB / 261.4 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.904e-05/0.004005, allocations: 8.938 kB / 261.4 MB, free: 13.69 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.004157, allocations: 157.5 kB / 261.6 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.004168, allocations: 12.31 kB / 261.6 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.781e-05/0.004186, allocations: 4.375 kB / 261.6 MB, free: 13.49 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003135/0.004499, allocations: 404.2 kB / 262 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.004508, allocations: 4.188 kB / 262 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.004516, allocations: 4.375 kB / 262 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.004523, allocations: 4.312 kB / 262 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.216e-05/0.004595, allocations: 111.6 kB / 262.1 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001955/0.00479, allocations: 192.4 kB / 262.3 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/0.004942, allocations: 158.5 kB / 262.5 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.546e-05/0.004997, allocations: 106.2 kB / 262.6 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.005018, allocations: 4 kB / 262.6 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.005039, allocations: 38.5 kB / 262.6 MB, free: 12.36 MB / 266.7 MB Notification: Performance of pre-optimization done (n=50): time 1.653e-06/0.00504, allocations: 0 / 262.6 MB, free: 12.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=50): time 0.0002993/0.00534, allocations: 466.7 kB / 263.1 MB, free: 11.86 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.005388, allocations: 137.5 kB / 263.2 MB, free: 11.7 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.395e-05/0.005462, allocations: 150.5 kB / 263.3 MB, free: 11.54 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.005473, allocations: 29.7 kB / 263.4 MB, free: 11.5 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.396e-05/0.005507, allocations: 101.1 kB / 263.5 MB, free: 11.4 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.768e-06/0.005517, allocations: 7.938 kB / 263.5 MB, free: 11.39 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.171e-05/0.005549, allocations: 29.69 kB / 263.5 MB, free: 11.36 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.703e-05/0.005616, allocations: 326.8 kB / 263.8 MB, free: 11.03 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.555e-05/0.005641, allocations: 55.41 kB / 263.9 MB, free: 10.96 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.037e-05/0.005672, allocations: 73.11 kB / 264 MB, free: 10.88 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.468e-05/0.005726, allocations: 140.5 kB / 264.1 MB, free: 10.71 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.005728, allocations: 0 / 264.1 MB, free: 10.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.864e-05/0.005807, allocations: 156.5 kB / 264.2 MB, free: 10.52 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.2e-05/0.005839, allocations: 59.39 kB / 264.3 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.005843, allocations: 3.938 kB / 264.3 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.843e-06/0.00585, allocations: 7.938 kB / 264.3 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.923e-05/0.005869, allocations: 4.234 kB / 264.3 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.833e-06/0.005871, allocations: 0 / 264.3 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.345e-05/0.005894, allocations: 15.89 kB / 264.3 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.005901, allocations: 4.062 kB / 264.3 MB, free: 10.42 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 7.302e-05/0.005974, allocations: 172.1 kB / 264.5 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/0.006104, allocations: 190.6 kB / 264.7 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.127e-05/0.006136, allocations: 22.56 kB / 264.7 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.006138, allocations: 0 / 264.7 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.006139, allocations: 4 kB / 264.7 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.006142, allocations: 0 / 264.7 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.76e-05/0.00623, allocations: 101.7 kB / 264.8 MB, free: 9.891 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.006235, allocations: 3.938 kB / 264.8 MB, free: 9.887 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.05e-05/0.006275, allocations: 16 kB / 264.8 MB, free: 9.871 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.006277, allocations: 3.938 kB / 264.8 MB, free: 9.867 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.854e-06/0.006285, allocations: 8 kB / 264.8 MB, free: 9.859 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.006285, allocations: 0 / 264.8 MB, free: 9.859 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.006287, allocations: 3.938 kB / 264.8 MB, free: 9.855 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001049/0.006392, allocations: 267 kB / 265.1 MB, free: 9.551 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.529e-05/0.006408, allocations: 31.67 kB / 265.1 MB, free: 9.52 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.006421, allocations: 4 kB / 265.1 MB, free: 9.516 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.728e-05/0.006459, allocations: 4 kB / 265.1 MB, free: 9.512 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.587e-05/0.006475, allocations: 7.938 kB / 265.2 MB, free: 9.504 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.006482, allocations: 4 kB / 265.2 MB, free: 9.5 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.14e-05/0.006503, allocations: 31.56 kB / 265.2 MB, free: 9.469 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006503, allocations: 0 / 265.2 MB, free: 9.469 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001369/0.00664, allocations: 31.97 kB / 265.2 MB, free: 9.438 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.0006452/0.007285, allocations: 422.2 kB / 265.6 MB, free: 9.164 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001608/0.007446, allocations: 289.9 kB / 265.9 MB, free: 8.828 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.00745, allocations: 0 / 265.9 MB, free: 8.828 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.128e-05/0.007501, allocations: 175.1 kB / 266.1 MB, free: 8.617 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002346/0.007736, allocations: 157.2 kB / 266.2 MB, free: 8.457 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003524/0.008088, allocations: 406.3 kB / 266.6 MB, free: 8.02 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.712e-05/0.008145, allocations: 119.9 kB / 266.8 MB, free: 7.883 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.903e-05/0.008174, allocations: 11.98 kB / 266.8 MB, free: 7.871 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.366e-05/0.008238, allocations: 67.36 kB / 266.8 MB, free: 7.805 MB / 266.7 MB Notification: Performance of SimCode: time 7.02e-07/0.008238, allocations: 0 / 266.8 MB, free: 7.805 MB / 266.7 MB Notification: Performance of Templates: time 0.003256/0.01149, allocations: 2.073 MB / 268.9 MB, free: 5.742 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.256862417794764]