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.001242/0.001242, allocations: 105 kB / 20.49 MB, free: 1.457 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.001372/0.001372, allocations: 218.2 kB / 23.8 MB, free: 4.652 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.377/1.377, allocations: 230.6 MB / 257.6 MB, free: 8.031 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.06121/0.06121, allocations: 12.22 MB / 326.2 MB, free: 7.273 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.001911/0.001911, allocations: 63.91 kB / 454.6 MB, free: 8.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1066, allocations: 56.39 MB / 0.499 GB, free: 36 kB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse): time 0.004039/0.1107, allocations: 2.38 MB / 0.5014 GB, free: 13.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003197/0.111, allocations: 135.5 kB / 0.5015 GB, free: 13.51 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.595e-05/0.1111, allocations: 3.938 kB / 0.5015 GB, free: 13.51 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001604/0.1112, allocations: 19.86 kB / 0.5015 GB, free: 13.49 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.101e-05/0.1113, allocations: 3.938 kB / 0.5015 GB, free: 13.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002041/0.1115, allocations: 51.89 kB / 0.5016 GB, free: 13.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000168/0.1117, allocations: 71.75 kB / 0.5016 GB, free: 13.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.1118, allocations: 12 kB / 0.5016 GB, free: 13.35 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.055e-05/0.1119, allocations: 27.86 kB / 0.5017 GB, free: 13.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.499e-05/0.1119, allocations: 31.86 kB / 0.5017 GB, free: 13.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.204e-05/0.112, allocations: 4 kB / 0.5017 GB, free: 13.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.454e-05/0.112, allocations: 31.97 kB / 0.5017 GB, free: 13.26 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.757e-05/0.1121, allocations: 35.8 kB / 0.5018 GB, free: 13.22 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.632e-05/0.1122, allocations: 51.61 kB / 0.5018 GB, free: 13.17 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002478/0.1125, allocations: 139.3 kB / 0.5019 GB, free: 13.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1125, allocations: 4 kB / 0.502 GB, free: 13.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1125, allocations: 0 / 0.502 GB, free: 13.03 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.1125, allocations: 0 / 0.502 GB, free: 13.03 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.0005441/0.113, allocations: 409 kB / 0.5023 GB, free: 12.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.113, allocations: 8.031 kB / 0.5023 GB, free: 12.58 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.127e-05/0.1131, allocations: 16.84 kB / 0.5024 GB, free: 12.56 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/0.1134, allocations: 158.2 kB / 0.5025 GB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.1134, allocations: 4.375 kB / 0.5025 GB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.1134, allocations: 8.375 kB / 0.5025 GB, free: 12.37 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000593/0.114, allocations: 391.8 kB / 0.5029 GB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.114, allocations: 4.172 kB / 0.5029 GB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.114, allocations: 3.938 kB / 0.5029 GB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.114, allocations: 8 kB / 0.5029 GB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001237/0.1142, allocations: 75.97 kB / 0.503 GB, free: 11.87 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004096/0.1146, allocations: 288.6 kB / 0.5033 GB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002477/0.1148, allocations: 165.4 kB / 0.5034 GB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001493/0.115, allocations: 112 kB / 0.5035 GB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/0.115, allocations: 4 kB / 0.5035 GB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/0.115, allocations: 30.56 kB / 0.5036 GB, free: 11.21 MB / 382.1 MB Notification: Performance of pre-optimization done (n=33): time 1.362e-06/0.115, allocations: 0 / 0.5036 GB, free: 11.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.0006244/0.1157, allocations: 388.8 kB / 0.5039 GB, free: 10.81 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001414/0.1158, allocations: 144.5 kB / 0.5041 GB, free: 10.64 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.116, allocations: 145.7 kB / 0.5042 GB, free: 10.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.771e-05/0.116, allocations: 29.7 kB / 0.5042 GB, free: 10.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.812e-05/0.1161, allocations: 92.75 kB / 0.5043 GB, free: 10.35 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.968e-05/0.1161, allocations: 23.94 kB / 0.5043 GB, free: 10.33 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.231e-05/0.1162, allocations: 61.97 kB / 0.5044 GB, free: 10.26 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.1163, allocations: 330.8 kB / 0.5047 GB, free: 9.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.947e-05/0.1164, allocations: 48.53 kB / 0.5048 GB, free: 9.883 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002552/0.1167, allocations: 252.6 kB / 0.505 GB, free: 9.539 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004207/0.1171, allocations: 433.8 kB / 0.5054 GB, free: 8.992 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.1171, allocations: 0 / 0.5054 GB, free: 8.992 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000504/0.1176, allocations: 353.2 kB / 0.5058 GB, free: 8.629 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.553e-05/0.1177, allocations: 71.42 kB / 0.5058 GB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.1177, allocations: 7.938 kB / 0.5058 GB, free: 8.539 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.1177, allocations: 12 kB / 0.5058 GB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.1179, allocations: 55.86 kB / 0.5059 GB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.796e-05/0.1179, allocations: 15.92 kB / 0.5059 GB, free: 8.457 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.118, allocations: 27.84 kB / 0.5059 GB, free: 8.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.917e-05/0.118, allocations: 20 kB / 0.506 GB, free: 8.41 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.0002054/0.1182, allocations: 235.1 kB / 0.5062 GB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002622/0.1185, allocations: 206.1 kB / 0.5064 GB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.95e-05/0.1186, allocations: 17.97 kB / 0.5064 GB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.1186, allocations: 4 kB / 0.5064 GB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1186, allocations: 0 / 0.5064 GB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.1186, allocations: 0 / 0.5064 GB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002097/0.1188, allocations: 180.5 kB / 0.5066 GB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/0.1188, allocations: 4 kB / 0.5066 GB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.645e-05/0.1188, allocations: 11.98 kB / 0.5066 GB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.1188, allocations: 8 kB / 0.5066 GB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-06/0.1188, allocations: 4 kB / 0.5066 GB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1188, allocations: 0 / 0.5066 GB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1188, allocations: 4 kB / 0.5066 GB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000438/0.1193, allocations: 420.9 kB / 0.507 GB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.203e-05/0.1193, allocations: 19.84 kB / 0.507 GB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/0.1193, allocations: 3.984 kB / 0.507 GB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.73e-05/0.1194, allocations: 8 kB / 0.507 GB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.201e-05/0.1194, allocations: 4 kB / 0.507 GB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.1194, allocations: 4 kB / 0.507 GB, free: 7.195 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.483e-05/0.1195, allocations: 106.1 kB / 0.5071 GB, free: 7.094 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1195, allocations: 0 / 0.5071 GB, free: 7.094 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003347/0.1198, allocations: 35.98 kB / 0.5072 GB, free: 7.059 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.0007282/0.1206, allocations: 282 kB / 0.5075 GB, free: 6.852 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004227/0.121, allocations: 311.8 kB / 0.5077 GB, free: 6.523 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.121, allocations: 0.5625 kB / 0.5077 GB, free: 6.523 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.72e-05/0.1211, allocations: 126.8 kB / 0.5079 GB, free: 6.375 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004608/0.1215, allocations: 167.2 kB / 0.508 GB, free: 6.207 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006136/0.1222, allocations: 389.7 kB / 0.5084 GB, free: 5.793 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004138/0.1226, allocations: 0.7481 MB / 0.5091 GB, free: 5.012 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.523e-05/0.1226, allocations: 19.5 kB / 0.5092 GB, free: 4.996 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1226, allocations: 0 / 0.5092 GB, free: 4.996 MB / 382.1 MB Notification: Performance of Templates: time 0.004316/0.1269, allocations: 2.16 MB / 0.5113 GB, free: 2.836 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: 7.230536778224632] Failed to read output from testmodel.py, exit status != 0: 0.1349037631880492 0.30618830999999996 0.19127376199999996 Calling exit ...