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.001455/0.001455, allocations: 109 kB / 20.5 MB, free: 1.453 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.001677/0.001677, allocations: 211.7 kB / 23.8 MB, free: 4.668 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.357/1.357, allocations: 230.6 MB / 257.6 MB, free: 7.98 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.06065/0.06065, allocations: 12.21 MB / 326.2 MB, free: 7.246 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.001926/0.001926, allocations: 71.89 kB / 454.6 MB, free: 8.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1025, allocations: 56.38 MB / 0.499 GB, free: 20 kB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick): time 0.004058/0.1065, allocations: 2.429 MB / 0.5014 GB, free: 13.58 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002745/0.1068, allocations: 131.4 kB / 0.5015 GB, free: 13.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.457e-05/0.1069, allocations: 7.938 kB / 0.5015 GB, free: 13.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001596/0.107, allocations: 23.84 kB / 0.5016 GB, free: 13.42 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001043/0.1071, allocations: 19.86 kB / 0.5016 GB, free: 13.4 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001935/0.1073, allocations: 39.89 kB / 0.5016 GB, free: 13.36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.1075, allocations: 79.77 kB / 0.5017 GB, free: 13.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.857e-05/0.1076, allocations: 8.234 kB / 0.5017 GB, free: 13.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.477e-05/0.1076, allocations: 31.91 kB / 0.5017 GB, free: 13.24 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.1078, allocations: 47.77 kB / 0.5018 GB, free: 13.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.303e-05/0.1078, allocations: 4 kB / 0.5018 GB, free: 13.19 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.239e-05/0.1079, allocations: 28 kB / 0.5018 GB, free: 13.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.161e-05/0.1079, allocations: 51.83 kB / 0.5019 GB, free: 13.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.719e-05/0.108, allocations: 71.42 kB / 0.5019 GB, free: 13.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002696/0.1083, allocations: 187 kB / 0.5021 GB, free: 12.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.1083, allocations: 0 / 0.5021 GB, free: 12.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1083, allocations: 0 / 0.5021 GB, free: 12.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.1083, allocations: 0 / 0.5021 GB, free: 12.86 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.0006828/0.109, allocations: 456.8 kB / 0.5025 GB, free: 12.37 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.109, allocations: 8.031 kB / 0.5025 GB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.107e-05/0.1091, allocations: 20.8 kB / 0.5026 GB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002731/0.1093, allocations: 162.2 kB / 0.5027 GB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.1093, allocations: 4.375 kB / 0.5027 GB, free: 12.15 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.379e-05/0.1094, allocations: 8.375 kB / 0.5027 GB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000731/0.1101, allocations: 0.5613 MB / 0.5033 GB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.1101, allocations: 192 / 0.5033 GB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.1101, allocations: 15.81 kB / 0.5033 GB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.1101, allocations: 0 / 0.5033 GB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001908/0.1103, allocations: 136.4 kB / 0.5034 GB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004152/0.1107, allocations: 301 kB / 0.5037 GB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003693/0.1111, allocations: 233.8 kB / 0.5039 GB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001631/0.1113, allocations: 130.6 kB / 0.5041 GB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.1113, allocations: 7.938 kB / 0.5041 GB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/0.1113, allocations: 38.56 kB / 0.5041 GB, free: 10.63 MB / 382.1 MB Notification: Performance of pre-optimization done (n=50): time 1.413e-06/0.1113, allocations: 0 / 0.5041 GB, free: 10.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=50): time 0.0007617/0.1121, allocations: 0.5549 MB / 0.5046 GB, free: 10.06 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.1122, allocations: 145.3 kB / 0.5048 GB, free: 9.891 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.1123, allocations: 156.5 kB / 0.5049 GB, free: 9.727 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.1124, allocations: 33.7 kB / 0.505 GB, free: 9.688 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.239e-05/0.1124, allocations: 101.1 kB / 0.5051 GB, free: 9.582 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.262e-05/0.1125, allocations: 27.88 kB / 0.5051 GB, free: 9.555 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.1126, allocations: 94.14 kB / 0.5052 GB, free: 9.457 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.1127, allocations: 334.8 kB / 0.5055 GB, free: 9.121 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.1129, allocations: 72.81 kB / 0.5056 GB, free: 9.051 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003697/0.1132, allocations: 376.1 kB / 0.5059 GB, free: 8.531 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005817/0.1138, allocations: 0.5822 MB / 0.5065 GB, free: 7.773 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.1138, allocations: 0 / 0.5065 GB, free: 7.773 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006766/0.1145, allocations: 493.1 kB / 0.507 GB, free: 7.273 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.326e-05/0.1145, allocations: 67.62 kB / 0.507 GB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.007e-05/0.1146, allocations: 12 kB / 0.507 GB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.447e-05/0.1146, allocations: 16 kB / 0.5071 GB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000225/0.1148, allocations: 91.83 kB / 0.5071 GB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.201e-05/0.1148, allocations: 23.88 kB / 0.5072 GB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001643/0.115, allocations: 43.73 kB / 0.5072 GB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.128e-05/0.115, allocations: 28 kB / 0.5072 GB, free: 6.984 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.0002392/0.1153, allocations: 261 kB / 0.5075 GB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003782/0.1157, allocations: 307.3 kB / 0.5078 GB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.996e-05/0.1157, allocations: 22.61 kB / 0.5078 GB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.1157, allocations: 4 kB / 0.5078 GB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1157, allocations: 3.938 kB / 0.5078 GB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1157, allocations: 0 / 0.5078 GB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002207/0.1159, allocations: 208.4 kB / 0.508 GB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/0.1159, allocations: 3.984 kB / 0.508 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.441e-05/0.116, allocations: 12 kB / 0.508 GB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.116, allocations: 192 / 0.508 GB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.116, allocations: 8 kB / 0.508 GB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.116, allocations: 3.938 kB / 0.508 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.116, allocations: 0 / 0.508 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005553/0.1166, allocations: 0.5177 MB / 0.5085 GB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.966e-05/0.1166, allocations: 27.73 kB / 0.5086 GB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.192e-05/0.1166, allocations: 0 / 0.5086 GB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.614e-05/0.1167, allocations: 11.98 kB / 0.5086 GB, free: 5.516 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.576e-05/0.1167, allocations: 0 / 0.5086 GB, free: 5.516 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.1167, allocations: 4 kB / 0.5086 GB, free: 5.512 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.291e-05/0.1168, allocations: 115.2 kB / 0.5087 GB, free: 5.398 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1168, allocations: 0 / 0.5087 GB, free: 5.398 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003864/0.1172, allocations: 39.94 kB / 0.5087 GB, free: 5.359 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.0007685/0.118, allocations: 313 kB / 0.509 GB, free: 5.129 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005402/0.1185, allocations: 415.5 kB / 0.5094 GB, free: 4.699 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1185, allocations: 0 / 0.5094 GB, free: 4.699 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.1186, allocations: 126.8 kB / 0.5095 GB, free: 4.551 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005619/0.1192, allocations: 244.6 kB / 0.5098 GB, free: 4.305 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007018/0.1199, allocations: 0.4926 MB / 0.5103 GB, free: 3.777 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004062/0.1203, allocations: 0.7756 MB / 0.511 GB, free: 2.977 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.933e-05/0.1203, allocations: 15.44 kB / 0.511 GB, free: 2.961 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1203, allocations: 3.938 kB / 0.511 GB, free: 2.957 MB / 382.1 MB Notification: Performance of Templates: time 0.004823/0.1252, allocations: 2.786 MB / 0.5138 GB, free: 180 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: 6.917802945943549] Failed to read output from testmodel.py, exit status != 0: 0.3173214290291071 0.327566788 0.216898113 Calling exit ...