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.001124/0.001124, allocations: 79.94 kB / 20.76 MB, free: 3.73 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.0009908/0.0009908, allocations: 173 kB / 24.18 MB, free: 320 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.9443/0.9443, allocations: 177.2 MB / 204.6 MB, free: 5.484 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.04755/0.04755, allocations: 9.163 MB / 270.2 MB, free: 4.141 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.413e-06/1.413e-06, allocations: 0 / 289.8 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.091e-05/2.232e-05, allocations: 10.25 kB / 289.8 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick): time 0.1304/0.1304, allocations: 2.544 MB / 292.3 MB, free: 18.27 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002535/0.1307, allocations: 127.1 kB / 292.4 MB, free: 18.19 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.237e-05/0.1307, allocations: 5.469 kB / 292.4 MB, free: 18.19 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001665/0.1309, allocations: 31.45 kB / 292.5 MB, free: 18.17 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.827e-05/0.131, allocations: 11.62 kB / 292.5 MB, free: 18.16 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001822/0.1312, allocations: 54.38 kB / 292.5 MB, free: 18.13 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001243/0.1313, allocations: 67.3 kB / 292.6 MB, free: 18.11 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.39e-05/0.1314, allocations: 18.67 kB / 292.6 MB, free: 18.1 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.71e-05/0.1314, allocations: 37.67 kB / 292.7 MB, free: 18.08 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.1315, allocations: 37.03 kB / 292.7 MB, free: 18.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.299e-05/0.1316, allocations: 6.719 kB / 292.7 MB, free: 18.07 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.492e-05/0.1316, allocations: 40.14 kB / 292.7 MB, free: 18.05 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.24e-05/0.1317, allocations: 47.22 kB / 292.8 MB, free: 18.04 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.796e-05/0.1317, allocations: 34.11 kB / 292.8 MB, free: 18.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001913/0.1319, allocations: 133.7 kB / 293 MB, free: 17.96 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1319, allocations: 5.594 kB / 293 MB, free: 17.95 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1319, allocations: 0 / 293 MB, free: 17.95 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.1319, allocations: 0.5312 kB / 293 MB, free: 17.95 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.0003962/0.1323, allocations: 429.8 kB / 293.4 MB, free: 17.57 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.1324, allocations: 8.906 kB / 293.4 MB, free: 17.57 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.402e-05/0.1324, allocations: 13.89 kB / 293.4 MB, free: 17.57 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.1325, allocations: 157.9 kB / 293.6 MB, free: 17.41 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.1325, allocations: 9.031 kB / 293.6 MB, free: 17.41 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.1326, allocations: 6.562 kB / 293.6 MB, free: 17.41 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003333/0.1329, allocations: 408.3 kB / 294 MB, free: 17.18 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.1329, allocations: 3.812 kB / 294 MB, free: 17.18 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-06/0.1329, allocations: 6 kB / 294 MB, free: 17.18 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.1329, allocations: 1.75 kB / 294 MB, free: 17.18 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.031e-05/0.133, allocations: 103.1 kB / 294.1 MB, free: 17.1 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002016/0.1332, allocations: 199.9 kB / 294.3 MB, free: 16.91 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001544/0.1333, allocations: 152.4 kB / 294.4 MB, free: 16.79 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.269e-05/0.1334, allocations: 99.59 kB / 294.5 MB, free: 16.71 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.1334, allocations: 9.453 kB / 294.5 MB, free: 16.71 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.581e-05/0.1334, allocations: 37.34 kB / 294.6 MB, free: 16.66 MB / 266.7 MB Notification: Performance of pre-optimization done (n=50): time 1.283e-06/0.1334, allocations: 0 / 294.6 MB, free: 16.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=50): time 0.0003212/0.1338, allocations: 457.4 kB / 295 MB, free: 16.41 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.181e-05/0.1338, allocations: 138.8 kB / 295.1 MB, free: 16.24 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.862e-05/0.1339, allocations: 159.8 kB / 295.3 MB, free: 16.11 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.935e-06/0.1339, allocations: 26.83 kB / 295.3 MB, free: 16.08 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.527e-05/0.1339, allocations: 92.05 kB / 295.4 MB, free: 15.99 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.573e-05/0.1339, allocations: 20.48 kB / 295.4 MB, free: 15.98 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.679e-05/0.134, allocations: 36.62 kB / 295.5 MB, free: 15.95 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.364e-05/0.134, allocations: 323.8 kB / 295.8 MB, free: 15.63 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.9e-05/0.134, allocations: 57.2 kB / 295.8 MB, free: 15.57 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.34e-05/0.134, allocations: 70.44 kB / 295.9 MB, free: 15.49 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.51e-05/0.1341, allocations: 138.8 kB / 296.1 MB, free: 15.34 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1341, allocations: 0 / 296.1 MB, free: 15.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.597e-05/0.1341, allocations: 159.3 kB / 296.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.817e-05/0.1342, allocations: 62.62 kB / 296.3 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1342, allocations: 7.5 kB / 296.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.498e-06/0.1342, allocations: 2.656 kB / 296.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.314e-05/0.1342, allocations: 2.188 kB / 296.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.1342, allocations: 1.484 kB / 296.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.332e-05/0.1342, allocations: 7.688 kB / 296.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.1342, allocations: 2.812 kB / 296.3 MB, free: 15.11 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.249e-05/0.1343, allocations: 170.6 kB / 296.5 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001626/0.1345, allocations: 186.7 kB / 296.6 MB, free: 14.87 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.945e-05/0.1345, allocations: 26.56 kB / 296.7 MB, free: 14.85 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.1345, allocations: 2.562 kB / 296.7 MB, free: 14.85 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.1345, allocations: 0.75 kB / 296.7 MB, free: 14.85 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.1345, allocations: 2.234 kB / 296.7 MB, free: 14.85 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.228e-05/0.1346, allocations: 98.92 kB / 296.8 MB, free: 14.76 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.1346, allocations: 0.6094 kB / 296.8 MB, free: 14.76 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.586e-05/0.1347, allocations: 14.56 kB / 296.8 MB, free: 14.76 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1347, allocations: 1.438 kB / 296.8 MB, free: 14.76 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.1347, allocations: 2.703 kB / 296.8 MB, free: 14.76 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.1347, allocations: 1.156 kB / 296.8 MB, free: 14.76 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.1347, allocations: 5.969 kB / 296.8 MB, free: 14.75 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.09e-05/0.1348, allocations: 271 kB / 297.1 MB, free: 14.47 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.608e-05/0.1348, allocations: 27.92 kB / 297.1 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.1348, allocations: 7.703 kB / 297.1 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.927e-05/0.1348, allocations: 2.344 kB / 297.1 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.668e-05/0.1349, allocations: 8.875 kB / 297.1 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/0.1349, allocations: 3.531 kB / 297.1 MB, free: 14.45 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.963e-05/0.1349, allocations: 30.39 kB / 297.1 MB, free: 14.43 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1349, allocations: 0 / 297.1 MB, free: 14.43 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001631/0.1351, allocations: 30.75 kB / 297.2 MB, free: 14.42 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.0006989/0.1358, allocations: 390.9 kB / 297.6 MB, free: 14.34 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001456/0.1359, allocations: 280.2 kB / 297.8 MB, free: 14.07 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.319e-06/0.1359, allocations: 1.188 kB / 297.8 MB, free: 14.07 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.213e-05/0.1359, allocations: 171.7 kB / 298 MB, free: 13.87 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002867/0.1362, allocations: 164.1 kB / 298.2 MB, free: 13.79 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003709/0.1366, allocations: 406.3 kB / 298.5 MB, free: 13.5 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.435e-05/0.1367, allocations: 113.7 kB / 298.7 MB, free: 13.42 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.234e-05/0.1367, allocations: 10.77 kB / 298.7 MB, free: 13.42 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.077e-05/0.1368, allocations: 71.55 kB / 298.7 MB, free: 13.37 MB / 266.7 MB Notification: Performance of SimCode: time 1.032e-06/0.1368, allocations: 3.688 kB / 298.7 MB, free: 13.37 MB / 266.7 MB Notification: Performance of Templates: time 0.004361/0.1411, allocations: 2.05 MB / 300.8 MB, free: 13.07 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 2.4737072251737118]