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.001294/0.001294, allocations: 100.4 kB / 20.49 MB, free: 1.344 MB / 14.72 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.001397/0.001397, allocations: 202.1 kB / 23.78 MB, free: 4.5 MB / 14.72 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 1.468/1.468, allocations: 230.6 MB / 257.5 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] 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.06151/0.06151, allocations: 12.23 MB / 326.2 MB, free: 7.008 MB / 254.1 MB " [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 0.00217/0.00217, allocations: 63.89 kB / 454.5 MB, free: 8.328 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1257, allocations: 56.4 MB / 0.499 GB, free: 15.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick): time 0.004359/0.1301, allocations: 2.396 MB / 0.5013 GB, free: 13.42 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003093/0.1304, allocations: 131.5 kB / 0.5014 GB, free: 13.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.785e-05/0.1305, allocations: 0 / 0.5014 GB, free: 13.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001563/0.1306, allocations: 27.8 kB / 0.5014 GB, free: 13.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001002/0.1307, allocations: 7.922 kB / 0.5015 GB, free: 13.26 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002019/0.1309, allocations: 54.89 kB / 0.5015 GB, free: 13.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001631/0.1311, allocations: 79.77 kB / 0.5016 GB, free: 13.13 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.95e-05/0.1312, allocations: 12.22 kB / 0.5016 GB, free: 13.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.558e-05/0.1313, allocations: 31.8 kB / 0.5016 GB, free: 13.08 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001267/0.1314, allocations: 39.83 kB / 0.5017 GB, free: 13.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.857e-05/0.1314, allocations: 11.94 kB / 0.5017 GB, free: 13.03 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.983e-05/0.1315, allocations: 31.98 kB / 0.5017 GB, free: 13 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.548e-05/0.1316, allocations: 43.84 kB / 0.5017 GB, free: 12.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.619e-05/0.1316, allocations: 55.53 kB / 0.5018 GB, free: 12.9 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000265/0.1319, allocations: 179.1 kB / 0.502 GB, free: 12.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.1319, allocations: 8 kB / 0.502 GB, free: 12.72 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1319, allocations: 0 / 0.502 GB, free: 12.72 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.1319, allocations: 0 / 0.502 GB, free: 12.72 MB / 382.1 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.0006691/0.1326, allocations: 456.7 kB / 0.5024 GB, free: 12.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.1326, allocations: 8.031 kB / 0.5024 GB, free: 12.22 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.049e-05/0.1327, allocations: 24.73 kB / 0.5024 GB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002735/0.133, allocations: 162.2 kB / 0.5026 GB, free: 12.01 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.133, allocations: 8.375 kB / 0.5026 GB, free: 12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.999e-05/0.133, allocations: 4.375 kB / 0.5026 GB, free: 12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007409/0.1337, allocations: 0.6153 MB / 0.5032 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.1337, allocations: 192 / 0.5032 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.1338, allocations: 3.938 kB / 0.5032 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.1338, allocations: 0 / 0.5032 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002455/0.134, allocations: 199.7 kB / 0.5034 GB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003726/0.1344, allocations: 249.7 kB / 0.5036 GB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003818/0.1348, allocations: 279.2 kB / 0.5039 GB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001943/0.135, allocations: 182 kB / 0.5041 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.844e-05/0.135, allocations: 4 kB / 0.5041 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.106e-05/0.135, allocations: 46.5 kB / 0.5041 GB, free: 10.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=50): time 1.312e-06/0.135, allocations: 0 / 0.5041 GB, free: 10.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=50): time 0.000814/0.1358, allocations: 0.6631 MB / 0.5048 GB, free: 9.598 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.466e-05/0.1359, allocations: 141.4 kB / 0.5049 GB, free: 9.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.1361, allocations: 160.5 kB / 0.5051 GB, free: 9.262 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/0.1361, allocations: 29.7 kB / 0.5051 GB, free: 9.227 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.747e-05/0.1362, allocations: 97.09 kB / 0.5052 GB, free: 9.125 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.472e-05/0.1362, allocations: 35.89 kB / 0.5052 GB, free: 9.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.1363, allocations: 90.12 kB / 0.5053 GB, free: 8.996 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.1365, allocations: 330.8 kB / 0.5056 GB, free: 8.664 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/0.1366, allocations: 132.2 kB / 0.5058 GB, free: 8.523 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003799/0.137, allocations: 431.4 kB / 0.5062 GB, free: 7.938 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005874/0.1376, allocations: 0.5822 MB / 0.5067 GB, free: 7.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/0.1376, allocations: 7.938 kB / 0.5067 GB, free: 7.172 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006856/0.1383, allocations: 0.5353 MB / 0.5073 GB, free: 6.605 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.454e-05/0.1383, allocations: 67.39 kB / 0.5073 GB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.1384, allocations: 8.094 kB / 0.5073 GB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.411e-05/0.1384, allocations: 23.88 kB / 0.5074 GB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002249/0.1386, allocations: 87.84 kB / 0.5074 GB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.042e-05/0.1386, allocations: 23.92 kB / 0.5075 GB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001652/0.1388, allocations: 44.23 kB / 0.5075 GB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.457e-05/0.1388, allocations: 28 kB / 0.5075 GB, free: 6.316 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 33 (synchronizeRealtime.initialized,joystickInput.buttons[32],joystickInput.buttons[31],joystickInput.buttons[30],joystickInput.buttons[29],joystickInput.buttons[28],joystickInput.buttons[27],joystickInput.buttons[26],joystickInput.buttons[25],joystickInput.buttons[24],joystickInput.buttons[23],joystickInput.buttons[22],joystickInput.buttons[21],joystickInput.buttons[20],joystickInput.buttons[19],joystickInput.buttons[18],joystickInput.buttons[17],joystickInput.buttons[16],joystickInput.buttons[15],joystickInput.buttons[14],joystickInput.buttons[13],joystickInput.buttons[12],joystickInput.buttons[11],joystickInput.buttons[10],joystickInput.buttons[9],joystickInput.buttons[8],joystickInput.buttons[7],joystickInput.buttons[6],joystickInput.buttons[5],joystickInput.buttons[4],joystickInput.buttons[3],joystickInput.buttons[2],joystickInput.buttons[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 48 * 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 0.0002486/0.1391, allocations: 261 kB / 0.5078 GB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003715/0.1394, allocations: 315.3 kB / 0.5081 GB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.073e-05/0.1395, allocations: 14.62 kB / 0.5081 GB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.1395, allocations: 8 kB / 0.5081 GB, free: 5.699 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.1395, allocations: 0 / 0.5081 GB, free: 5.699 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1395, allocations: 0 / 0.5081 GB, free: 5.699 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001672/0.1397, allocations: 149 kB / 0.5082 GB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.347e-06/0.1397, allocations: 4 kB / 0.5083 GB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.445e-05/0.1397, allocations: 11.98 kB / 0.5083 GB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.1397, allocations: 4 kB / 0.5083 GB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.1398, allocations: 4 kB / 0.5083 GB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1398, allocations: 0 / 0.5083 GB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.1398, allocations: 7.938 kB / 0.5083 GB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005814/0.1403, allocations: 0.5641 MB / 0.5088 GB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.844e-05/0.1404, allocations: 27.73 kB / 0.5089 GB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.1404, allocations: 3.984 kB / 0.5089 GB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.154e-05/0.1405, allocations: 8 kB / 0.5089 GB, free: 4.852 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.024e-05/0.1405, allocations: 4 kB / 0.5089 GB, free: 4.848 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.1405, allocations: 4 kB / 0.5089 GB, free: 4.844 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.986e-05/0.1406, allocations: 107.2 kB / 0.509 GB, free: 4.738 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1406, allocations: 0 / 0.509 GB, free: 4.738 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003871/0.141, allocations: 43.94 kB / 0.509 GB, free: 4.695 MB / 382.1 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.0008516/0.1418, allocations: 347.8 kB / 0.5094 GB, free: 4.445 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005876/0.1424, allocations: 0.5145 MB / 0.5099 GB, free: 3.883 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1424, allocations: 0 / 0.5099 GB, free: 3.883 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001314/0.1426, allocations: 178.2 kB / 0.51 GB, free: 3.672 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005582/0.1431, allocations: 252.2 kB / 0.5103 GB, free: 3.418 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007384/0.1439, allocations: 0.5385 MB / 0.5108 GB, free: 2.832 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001641/0.144, allocations: 160.2 kB / 0.5109 GB, free: 2.656 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.521e-05/0.1441, allocations: 19.44 kB / 0.511 GB, free: 2.637 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.1441, allocations: 0 / 0.511 GB, free: 2.637 MB / 382.1 MB Notification: Performance of Templates: time 0.2484/0.3924, allocations: 2.813 MB / 0.5137 GB, free: 21.46 MB / 382.1 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=480 -lv LOG_STATS > Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.5002361969091] Failed to read output from testmodel.py, exit status != 0: 0.4007253488525748 0.41375532000000004 0.279016663 Calling exit ...