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.001217/0.001217, allocations: 109 kB / 19.79 MB, free: 1.82 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.001379/0.001379, allocations: 217.9 kB / 23.08 MB, free: 5.035 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.331/1.331, allocations: 230.6 MB / 256.9 MB, free: 7.773 MB / 206.1 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.05873/0.05873, allocations: 12.24 MB / 325.5 MB, free: 6.996 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.001956/0.001956, allocations: 67.89 kB / 453.9 MB, free: 8.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1026, allocations: 56.39 MB / 0.4983 GB, free: 15.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick): time 0.003871/0.1065, allocations: 2.404 MB / 0.5007 GB, free: 13.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002793/0.1067, allocations: 131.5 kB / 0.5008 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.1e-05/0.1068, allocations: 4 kB / 0.5008 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001703/0.107, allocations: 31.78 kB / 0.5008 GB, free: 13.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.217e-05/0.1071, allocations: 3.938 kB / 0.5008 GB, free: 13.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001931/0.1073, allocations: 47.88 kB / 0.5009 GB, free: 13.15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001625/0.1074, allocations: 75.77 kB / 0.501 GB, free: 13.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.1075, allocations: 20.22 kB / 0.501 GB, free: 13.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.954e-05/0.1076, allocations: 23.86 kB / 0.501 GB, free: 13.03 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.1077, allocations: 51.75 kB / 0.501 GB, free: 12.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.71e-05/0.1077, allocations: 8 kB / 0.5011 GB, free: 12.97 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.117e-05/0.1078, allocations: 32 kB / 0.5011 GB, free: 12.94 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.264e-05/0.1079, allocations: 43.84 kB / 0.5011 GB, free: 12.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.053e-05/0.1079, allocations: 43.61 kB / 0.5012 GB, free: 12.85 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000261/0.1082, allocations: 195 kB / 0.5014 GB, free: 12.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1082, allocations: 0 / 0.5014 GB, free: 12.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1082, allocations: 0 / 0.5014 GB, free: 12.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.1082, allocations: 0 / 0.5014 GB, free: 12.66 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.0006576/0.1089, allocations: 452.8 kB / 0.5018 GB, free: 12.17 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.1089, allocations: 12.03 kB / 0.5018 GB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.959e-05/0.109, allocations: 20.8 kB / 0.5018 GB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000251/0.1092, allocations: 158.2 kB / 0.502 GB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.1092, allocations: 12.31 kB / 0.502 GB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.1092, allocations: 4.375 kB / 0.502 GB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000774/0.11, allocations: 0.6151 MB / 0.5026 GB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.11, allocations: 192 / 0.5026 GB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.049e-05/0.11, allocations: 15.92 kB / 0.5026 GB, free: 11.28 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.1101, allocations: 0 / 0.5026 GB, free: 11.28 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002238/0.1103, allocations: 191.8 kB / 0.5028 GB, free: 11.08 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000348/0.1106, allocations: 257.7 kB / 0.503 GB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003955/0.111, allocations: 273.3 kB / 0.5033 GB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001964/0.1112, allocations: 182.2 kB / 0.5035 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.1112, allocations: 7.984 kB / 0.5035 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.1113, allocations: 42.5 kB / 0.5035 GB, free: 10.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=50): time 1.302e-06/0.1113, allocations: 0 / 0.5035 GB, free: 10.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=50): time 0.0007963/0.1121, allocations: 0.6724 MB / 0.5042 GB, free: 9.531 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.258e-05/0.1122, allocations: 141.5 kB / 0.5043 GB, free: 9.363 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.1123, allocations: 156.1 kB / 0.5044 GB, free: 9.199 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.658e-05/0.1123, allocations: 33.7 kB / 0.5045 GB, free: 9.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.22e-05/0.1124, allocations: 101.1 kB / 0.5046 GB, free: 9.055 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.455e-05/0.1124, allocations: 31.86 kB / 0.5046 GB, free: 9.023 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.846e-05/0.1125, allocations: 86.19 kB / 0.5047 GB, free: 8.934 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.1127, allocations: 330.8 kB / 0.505 GB, free: 8.602 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.1128, allocations: 132.3 kB / 0.5051 GB, free: 8.457 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003705/0.1132, allocations: 424.4 kB / 0.5055 GB, free: 7.879 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005546/0.1138, allocations: 0.59 MB / 0.5061 GB, free: 7.113 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.1138, allocations: 7.938 kB / 0.5061 GB, free: 7.105 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006867/0.1145, allocations: 0.531 MB / 0.5066 GB, free: 6.543 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.309e-05/0.1145, allocations: 64.39 kB / 0.5067 GB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.1145, allocations: 12 kB / 0.5067 GB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.447e-05/0.1146, allocations: 20 kB / 0.5067 GB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002297/0.1148, allocations: 91.78 kB / 0.5068 GB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.314e-05/0.1148, allocations: 23.92 kB / 0.5068 GB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001681/0.115, allocations: 43.73 kB / 0.5069 GB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.934e-05/0.115, allocations: 24 kB / 0.5069 GB, free: 6.258 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.0002324/0.1152, allocations: 265 kB / 0.5072 GB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003681/0.1156, allocations: 316.3 kB / 0.5075 GB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.446e-05/0.1157, allocations: 18.62 kB / 0.5075 GB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.1157, allocations: 4 kB / 0.5075 GB, free: 5.645 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.1157, allocations: 4 kB / 0.5075 GB, free: 5.641 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.1157, allocations: 3.984 kB / 0.5075 GB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/0.1158, allocations: 145 kB / 0.5076 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.1158, allocations: 0 / 0.5076 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.34e-05/0.1159, allocations: 12 kB / 0.5076 GB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1159, allocations: 4 kB / 0.5076 GB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/0.1159, allocations: 8 kB / 0.5076 GB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1159, allocations: 0 / 0.5076 GB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1159, allocations: 0 / 0.5076 GB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005725/0.1165, allocations: 0.5769 MB / 0.5082 GB, free: 4.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.715e-05/0.1165, allocations: 27.73 kB / 0.5082 GB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.12e-05/0.1165, allocations: 0 / 0.5082 GB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.286e-05/0.1166, allocations: 8 kB / 0.5082 GB, free: 4.785 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.764e-05/0.1166, allocations: 0 / 0.5082 GB, free: 4.785 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.1167, allocations: 4 kB / 0.5083 GB, free: 4.781 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.798e-05/0.1167, allocations: 113.7 kB / 0.5084 GB, free: 4.672 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1167, allocations: 4.188 kB / 0.5084 GB, free: 4.668 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003864/0.1171, allocations: 43.94 kB / 0.5084 GB, free: 4.625 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.0008115/0.1179, allocations: 346 kB / 0.5087 GB, free: 4.375 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005771/0.1185, allocations: 0.5096 MB / 0.5092 GB, free: 3.816 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1185, allocations: 3.938 kB / 0.5092 GB, free: 3.812 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001182/0.1186, allocations: 180 kB / 0.5094 GB, free: 3.602 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005528/0.1192, allocations: 254.5 kB / 0.5097 GB, free: 3.348 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006958/0.1199, allocations: 0.5053 MB / 0.5101 GB, free: 2.801 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001614/0.1201, allocations: 164.2 kB / 0.5103 GB, free: 2.621 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.275e-05/0.1201, allocations: 29.62 kB / 0.5103 GB, free: 2.594 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.02e-05/0.1202, allocations: 16.5 kB / 0.5103 GB, free: 2.578 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1202, allocations: 0 / 0.5103 GB, free: 2.578 MB / 382.1 MB Notification: Performance of Templates: time 0.005931/0.1261, allocations: 2.484 MB / 0.5128 GB, free: 120 kB / 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: 4.421954040415585] Failed to read output from testmodel.py, exit status != 0: 0.32831289805471897 0.33944091000000004 0.22878214300000002 Calling exit ...