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.001375/0.001375, allocations: 100.4 kB / 20.48 MB, free: 1.355 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.001572/0.001572, allocations: 218.3 kB / 23.79 MB, free: 4.516 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.442/1.442, allocations: 230.6 MB / 257.6 MB, free: 7.961 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.06225/0.06225, allocations: 12.23 MB / 326.2 MB, free: 7.039 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.002061/0.002061, allocations: 71.89 kB / 454.5 MB, free: 8.336 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1073, allocations: 56.39 MB / 0.4989 GB, free: 15.85 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse): time 0.004256/0.1116, allocations: 2.367 MB / 0.5013 GB, free: 13.47 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003309/0.1119, allocations: 127.6 kB / 0.5014 GB, free: 13.35 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.158e-05/0.112, allocations: 4 kB / 0.5014 GB, free: 13.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001968/0.1122, allocations: 19.78 kB / 0.5014 GB, free: 13.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001095/0.1123, allocations: 11.94 kB / 0.5014 GB, free: 13.31 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002267/0.1125, allocations: 51.83 kB / 0.5015 GB, free: 13.26 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001583/0.1127, allocations: 63.78 kB / 0.5015 GB, free: 13.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.1128, allocations: 15.97 kB / 0.5015 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.527e-05/0.1128, allocations: 27.92 kB / 0.5016 GB, free: 13.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.959e-05/0.1129, allocations: 23.86 kB / 0.5016 GB, free: 13.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.476e-05/0.1129, allocations: 8 kB / 0.5016 GB, free: 13.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.104e-05/0.113, allocations: 31.97 kB / 0.5016 GB, free: 13.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.843e-05/0.1131, allocations: 35.86 kB / 0.5017 GB, free: 13.06 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.583e-05/0.1131, allocations: 35.73 kB / 0.5017 GB, free: 13.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002453/0.1134, allocations: 139.2 kB / 0.5018 GB, free: 12.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/0.1134, allocations: 4 kB / 0.5018 GB, free: 12.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.1134, allocations: 0 / 0.5018 GB, free: 12.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.273e-06/0.1134, allocations: 3.938 kB / 0.5018 GB, free: 12.88 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.0005959/0.114, allocations: 397.1 kB / 0.5022 GB, free: 12.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.114, allocations: 12.02 kB / 0.5022 GB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.78e-05/0.1141, allocations: 16.84 kB / 0.5022 GB, free: 12.42 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002895/0.1144, allocations: 154.2 kB / 0.5024 GB, free: 12.24 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.1144, allocations: 12.31 kB / 0.5024 GB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.1144, allocations: 8.312 kB / 0.5024 GB, free: 12.22 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007045/0.1151, allocations: 443.2 kB / 0.5028 GB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.1151, allocations: 192 / 0.5028 GB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/0.1152, allocations: 7.938 kB / 0.5028 GB, free: 11.74 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.1152, allocations: 0 / 0.5028 GB, free: 11.74 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001856/0.1154, allocations: 139.3 kB / 0.503 GB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003858/0.1157, allocations: 241.3 kB / 0.5032 GB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003092/0.116, allocations: 231.8 kB / 0.5034 GB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001954/0.1162, allocations: 173.2 kB / 0.5036 GB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.806e-05/0.1163, allocations: 4 kB / 0.5036 GB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.1163, allocations: 34.56 kB / 0.5036 GB, free: 10.83 MB / 382.1 MB Notification: Performance of pre-optimization done (n=33): time 1.243e-06/0.1163, allocations: 0 / 0.5036 GB, free: 10.83 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.0006557/0.117, allocations: 495.7 kB / 0.5041 GB, free: 10.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/0.1171, allocations: 136.5 kB / 0.5042 GB, free: 10.14 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.1172, allocations: 152.4 kB / 0.5044 GB, free: 9.984 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.138e-05/0.1172, allocations: 29.7 kB / 0.5044 GB, free: 9.949 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.213e-05/0.1173, allocations: 96.69 kB / 0.5045 GB, free: 9.848 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/0.1173, allocations: 19.94 kB / 0.5045 GB, free: 9.828 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.154e-05/0.1174, allocations: 65.97 kB / 0.5046 GB, free: 9.758 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.1176, allocations: 326.9 kB / 0.5049 GB, free: 9.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.1177, allocations: 107.9 kB / 0.505 GB, free: 9.312 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002893/0.118, allocations: 299.9 kB / 0.5053 GB, free: 8.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004457/0.1184, allocations: 429.8 kB / 0.5057 GB, free: 8.367 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/0.1184, allocations: 4 kB / 0.5057 GB, free: 8.363 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006222/0.1191, allocations: 416.5 kB / 0.5061 GB, free: 7.926 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.189e-05/0.1192, allocations: 63.41 kB / 0.5061 GB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.1192, allocations: 8 kB / 0.5062 GB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.1192, allocations: 8 kB / 0.5062 GB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.1194, allocations: 63.84 kB / 0.5062 GB, free: 7.773 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.468e-05/0.1194, allocations: 8 kB / 0.5062 GB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.1195, allocations: 31.78 kB / 0.5063 GB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.724e-05/0.1195, allocations: 20 kB / 0.5063 GB, free: 7.715 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.0002177/0.1197, allocations: 235.1 kB / 0.5065 GB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002577/0.12, allocations: 206.1 kB / 0.5067 GB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.856e-05/0.12, allocations: 21.89 kB / 0.5067 GB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.1201, allocations: 4 kB / 0.5067 GB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1201, allocations: 0 / 0.5067 GB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1201, allocations: 0 / 0.5067 GB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/0.1202, allocations: 137.1 kB / 0.5069 GB, free: 7.062 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.1202, allocations: 0 / 0.5069 GB, free: 7.062 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.422e-05/0.1203, allocations: 8 kB / 0.5069 GB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1203, allocations: 8 kB / 0.5069 GB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.1203, allocations: 8 kB / 0.5069 GB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.1203, allocations: 4 kB / 0.5069 GB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1203, allocations: 0 / 0.5069 GB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004859/0.1208, allocations: 480.3 kB / 0.5073 GB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.182e-05/0.1208, allocations: 15.98 kB / 0.5074 GB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.47e-05/0.1208, allocations: 8 kB / 0.5074 GB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.65e-05/0.1209, allocations: 7.984 kB / 0.5074 GB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.08e-05/0.1209, allocations: 7.984 kB / 0.5074 GB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.447e-06/0.1209, allocations: 4 kB / 0.5074 GB, free: 6.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8e-05/0.121, allocations: 103.3 kB / 0.5075 GB, free: 6.379 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.121, allocations: 4 kB / 0.5075 GB, free: 6.375 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003366/0.1214, allocations: 35.92 kB / 0.5075 GB, free: 6.34 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.0007653/0.1221, allocations: 273.7 kB / 0.5078 GB, free: 6.152 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000518/0.1226, allocations: 433.7 kB / 0.5082 GB, free: 5.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1226, allocations: 0 / 0.5082 GB, free: 5.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001297/0.1228, allocations: 174.2 kB / 0.5084 GB, free: 5.473 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004715/0.1232, allocations: 177.6 kB / 0.5085 GB, free: 5.297 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007395/0.124, allocations: 449.3 kB / 0.509 GB, free: 4.812 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001411/0.1241, allocations: 134.1 kB / 0.5091 GB, free: 4.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.881e-05/0.1242, allocations: 15.44 kB / 0.5091 GB, free: 4.645 MB / 382.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1242, allocations: 0 / 0.5091 GB, free: 4.645 MB / 382.1 MB Notification: Performance of Templates: time 0.004599/0.1288, allocations: 2.187 MB / 0.5112 GB, free: 2.457 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.306769356131554] Failed to read output from testmodel.py, exit status != 0: 0.1374520706012845 0.338907823 0.22278660800000002 Calling exit ...