Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse.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.001358/0.001358, allocations: 108.3 kB / 19.75 MB, free: 1.879 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.00152/0.00152, allocations: 223.3 kB / 23.03 MB, free: 5.016 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.414/1.414, allocations: 230.6 MB / 256.8 MB, free: 7.941 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.06204/0.06204, allocations: 12.23 MB / 325.4 MB, free: 7.035 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.TestInputSpaceMouse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse") translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 60.14 kB / 453.8 MB, free: 8.328 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.102, allocations: 56.4 MB / 0.4982 GB, free: 15.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse): time 0.003818/0.1058, allocations: 2.358 MB / 0.5005 GB, free: 13.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002827/0.1061, allocations: 131.5 kB / 0.5006 GB, free: 13.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.609e-05/0.1062, allocations: 4 kB / 0.5006 GB, free: 13.33 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001469/0.1063, allocations: 27.72 kB / 0.5007 GB, free: 13.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.485e-05/0.1064, allocations: 7.938 kB / 0.5007 GB, free: 13.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001902/0.1066, allocations: 51.02 kB / 0.5007 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001398/0.1067, allocations: 59.84 kB / 0.5008 GB, free: 13.19 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.708e-05/0.1068, allocations: 15.98 kB / 0.5008 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.835e-05/0.1069, allocations: 31.84 kB / 0.5008 GB, free: 13.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.286e-05/0.107, allocations: 23.86 kB / 0.5009 GB, free: 13.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.107, allocations: 4 kB / 0.5009 GB, free: 13.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.099e-05/0.107, allocations: 28 kB / 0.5009 GB, free: 13.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.719e-05/0.1071, allocations: 43.83 kB / 0.5009 GB, free: 13.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.146e-05/0.1072, allocations: 27.75 kB / 0.501 GB, free: 13.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002124/0.1074, allocations: 155.1 kB / 0.5011 GB, free: 12.87 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1074, allocations: 0 / 0.5011 GB, free: 12.87 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1074, allocations: 0 / 0.5011 GB, free: 12.87 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5e-06/0.1074, allocations: 0 / 0.5011 GB, free: 12.87 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0004744/0.1079, allocations: 397.1 kB / 0.5015 GB, free: 12.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.1079, allocations: 8.031 kB / 0.5015 GB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.626e-05/0.1079, allocations: 16.84 kB / 0.5015 GB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002436/0.1082, allocations: 158.2 kB / 0.5017 GB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.1082, allocations: 4.375 kB / 0.5017 GB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.772e-05/0.1082, allocations: 8.375 kB / 0.5017 GB, free: 12.22 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005656/0.1088, allocations: 451.2 kB / 0.5021 GB, free: 11.74 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.1088, allocations: 192 / 0.5021 GB, free: 11.74 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.1088, allocations: 3.938 kB / 0.5021 GB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.493e-06/0.1088, allocations: 4 kB / 0.5021 GB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001441/0.109, allocations: 139.3 kB / 0.5022 GB, free: 11.58 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003285/0.1093, allocations: 237.3 kB / 0.5025 GB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002623/0.1096, allocations: 216.7 kB / 0.5027 GB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001778/0.1097, allocations: 173.5 kB / 0.5028 GB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/0.1098, allocations: 3.984 kB / 0.5028 GB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.1098, allocations: 42.56 kB / 0.5029 GB, free: 10.83 MB / 382.1 MB Notification: Performance of pre-optimization done (n=33): time 1.222e-06/0.1098, allocations: 3.938 kB / 0.5029 GB, free: 10.83 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.0005722/0.1104, allocations: 491.5 kB / 0.5034 GB, free: 10.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.396e-05/0.1104, allocations: 136.5 kB / 0.5035 GB, free: 10.14 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.1106, allocations: 152.4 kB / 0.5036 GB, free: 9.984 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.1106, allocations: 25.7 kB / 0.5037 GB, free: 9.953 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.63e-05/0.1107, allocations: 100.7 kB / 0.5037 GB, free: 9.848 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.1107, allocations: 23.94 kB / 0.5038 GB, free: 9.824 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.417e-05/0.1108, allocations: 61.97 kB / 0.5038 GB, free: 9.758 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.1109, allocations: 322.8 kB / 0.5041 GB, free: 9.434 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/0.111, allocations: 108 kB / 0.5042 GB, free: 9.316 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002562/0.1113, allocations: 303.9 kB / 0.5045 GB, free: 8.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003753/0.1116, allocations: 433.8 kB / 0.5049 GB, free: 8.363 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.1116, allocations: 8 kB / 0.505 GB, free: 8.355 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004884/0.1121, allocations: 416.5 kB / 0.5053 GB, free: 7.918 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.827e-05/0.1122, allocations: 63.41 kB / 0.5054 GB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.1122, allocations: 4 kB / 0.5054 GB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.1122, allocations: 12 kB / 0.5054 GB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.1124, allocations: 63.84 kB / 0.5055 GB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.1124, allocations: 8.094 kB / 0.5055 GB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/0.1125, allocations: 31.78 kB / 0.5055 GB, free: 7.727 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.352e-05/0.1125, allocations: 16 kB / 0.5055 GB, free: 7.711 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 17 (synchronizeRealtime.initialized,spaceMouseInput.buttons[16],spaceMouseInput.buttons[15],spaceMouseInput.buttons[14],spaceMouseInput.buttons[13],spaceMouseInput.buttons[12],spaceMouseInput.buttons[11],spaceMouseInput.buttons[10],spaceMouseInput.buttons[9],spaceMouseInput.buttons[8],spaceMouseInput.buttons[7],spaceMouseInput.buttons[6],spaceMouseInput.buttons[5],spaceMouseInput.buttons[4],spaceMouseInput.buttons[3],spaceMouseInput.buttons[2],spaceMouseInput.buttons[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 31 * 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.0001889/0.1127, allocations: 243.1 kB / 0.5058 GB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002398/0.1129, allocations: 206.2 kB / 0.506 GB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.153e-05/0.113, allocations: 17.95 kB / 0.506 GB, free: 7.223 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.113, allocations: 4 kB / 0.506 GB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.113, allocations: 7.922 kB / 0.506 GB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.113, allocations: 0 / 0.506 GB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001498/0.1132, allocations: 137.1 kB / 0.5061 GB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.1132, allocations: 0 / 0.5061 GB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.46e-05/0.1132, allocations: 12 kB / 0.5061 GB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1132, allocations: 0 / 0.5061 GB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.1132, allocations: 12 kB / 0.5061 GB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1132, allocations: 0 / 0.5061 GB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1132, allocations: 0 / 0.5061 GB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004406/0.1137, allocations: 484.2 kB / 0.5066 GB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.2e-05/0.1137, allocations: 19.84 kB / 0.5066 GB, free: 6.488 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.1137, allocations: 4 kB / 0.5066 GB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.436e-05/0.1138, allocations: 4 kB / 0.5066 GB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.299e-05/0.1138, allocations: 3.984 kB / 0.5066 GB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.1138, allocations: 8 kB / 0.5066 GB, free: 6.469 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.318e-05/0.1139, allocations: 103.3 kB / 0.5067 GB, free: 6.367 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1139, allocations: 0 / 0.5067 GB, free: 6.367 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003163/0.1142, allocations: 35.94 kB / 0.5068 GB, free: 6.332 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: 17 (synchronizeRealtime.initialized,spaceMouseInput.buttons[1],spaceMouseInput.buttons[2],spaceMouseInput.buttons[3],spaceMouseInput.buttons[4],spaceMouseInput.buttons[5],spaceMouseInput.buttons[6],spaceMouseInput.buttons[7],spaceMouseInput.buttons[8],spaceMouseInput.buttons[9],spaceMouseInput.buttons[10],spaceMouseInput.buttons[11],spaceMouseInput.buttons[12],spaceMouseInput.buttons[13],spaceMouseInput.buttons[14],spaceMouseInput.buttons[15],spaceMouseInput.buttons[16]) * 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.0007075/0.1149, allocations: 281.7 kB / 0.5071 GB, free: 6.137 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004439/0.1153, allocations: 426.2 kB / 0.5075 GB, free: 5.672 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.1153, allocations: 4 kB / 0.5075 GB, free: 5.668 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001146/0.1155, allocations: 170.2 kB / 0.5076 GB, free: 5.465 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000429/0.1159, allocations: 177.4 kB / 0.5078 GB, free: 5.285 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005766/0.1165, allocations: 412.7 kB / 0.5082 GB, free: 4.844 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000142/0.1166, allocations: 134.2 kB / 0.5083 GB, free: 4.688 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.594e-05/0.1167, allocations: 21.41 kB / 0.5083 GB, free: 4.664 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.345e-05/0.1167, allocations: 19.38 kB / 0.5084 GB, free: 4.645 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1167, allocations: 4 kB / 0.5084 GB, free: 4.641 MB / 382.1 MB Notification: Performance of Templates: time 0.005226/0.1219, allocations: 1.965 MB / 0.5103 GB, free: 2.699 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse.makefile [Timeout 660] (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse.pipe >> ../files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse.sim & ./Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.613277284428477] Failed to read output from testmodel.py, exit status != 0: 0.12996023707091808 0.309487868 0.199591021 Calling exit ...